@@ -16,5 +16,10 @@ server { | |||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |||
fastcgi_param PATH_INFO $fastcgi_path_info; | |||
} | |||
location ~* \.(eot|ttf|woff)$ { | |||
add_header Access-Control-Allow-Origin *; | |||
expires max; | |||
} | |||
} |
@@ -19,9 +19,9 @@ $random_abstracts = ten_random_abstracts($core); | |||
<head> | |||
<meta charset="utf-8"> | |||
<meta name="viewport" content="width=device-width, initial-scale=1"> | |||
<link rel="stylesheet" type="text/css" href="css/style.css"> | |||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> | |||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script> | |||
<link rel="stylesheet" type="text/css" href="css/style.css"> | |||
</head> | |||
<body> | |||
@@ -14,9 +14,9 @@ | |||
<head> | |||
<meta charset="utf-8"> | |||
<meta name="viewport" content="width=device-width, initial-scale=1"> | |||
<link rel="stylesheet" type="text/css" href="css/style.css"> | |||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> | |||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script> | |||
<link rel="stylesheet" type="text/css" href="css/style.css"> | |||
<script> | |||
function resizeIframe(obj) { | |||
obj.style.height = obj.contentWindow.document.documentElement.scrollHeight + 'px'; | |||
@@ -27,11 +27,11 @@ | |||
<div class="container-fluid"> | |||
<div class="row"> | |||
<div class="col text-center"> | |||
<iframe src="./random.php" frameborder="0" scrolling="no" onload="resizeIframe(this)"> </iframe> | |||
<iframe class="compare_frame" src="./random.php" frameborder="0" scrolling="no" onload="resizeIframe(this)"> </iframe> | |||
</div> | |||
<div class="col text-center"> | |||
<iframe src="./random.php" frameborder="0" scrolling="no" onload="resizeIframe(this)"></iframe> | |||
<iframe class="compare_frame" src="./random.php" frameborder="0" scrolling="no" onload="resizeIframe(this)"></iframe> | |||
</div> | |||
</div> | |||
</div> |
@@ -1,3 +1,12 @@ | |||
@font-face { | |||
font-family: 'Rubik Moonrocks'; | |||
src: url('fonts/RubikMoonrocks-Regular.ttf'); | |||
} | |||
body { | |||
font-family: 'Rubik Moonrocks'; | |||
} | |||
.btn-link { | |||
border: none; | |||
outline: none; | |||
@@ -15,3 +24,7 @@ | |||
word-wrap: break-word; | |||
white-space:pre-wrap; | |||
} | |||
iframe.compare_frame { | |||
width: 50%; | |||
} |
@@ -17,9 +17,9 @@ include '../ops_api.php' | |||
<head> | |||
<meta charset="utf-8"> | |||
<meta name="viewport" content="width=device-width, initial-scale=1"> | |||
<link rel="stylesheet" type="text/css" href="css/style.css"> | |||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> | |||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script> | |||
<link rel="stylesheet" type="text/css" href="css/style.css"> | |||
</head> | |||
<body> | |||
@@ -18,9 +18,9 @@ $cores = array("active", "expanding", "invisible", "multispecies", "pissing", "s | |||
<head> | |||
<meta charset="utf-8"> | |||
<meta name="viewport" content="width=device-width, initial-scale=1"> | |||
<link rel="stylesheet" type="text/css" href="css/style.css"> | |||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> | |||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script> | |||
<link rel="stylesheet" type="text/css" href="css/style.css"> | |||
</head> | |||
<body class="d-flex flex-column min-vh-100"> | |||
@@ -21,9 +21,9 @@ $publication_details = get_publication_details($random_record['doc_ref']); | |||
<head> | |||
<meta charset="utf-8"> | |||
<meta name="viewport" content="width=device-width, initial-scale=1"> | |||
<link rel="stylesheet" type="text/css" href="css/style.css"> | |||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> | |||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script> | |||
<link rel="stylesheet" type="text/css" href="css/style.css"> | |||
</head> | |||
<body> | |||
@@ -20,9 +20,9 @@ $random_doc_refs = ten_random_doc_refs($core); | |||
<head> | |||
<meta charset="utf-8"> | |||
<meta name="viewport" content="width=device-width, initial-scale=1"> | |||
<link rel="stylesheet" type="text/css" href="css/style.css"> | |||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> | |||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script> | |||
<link rel="stylesheet" type="text/css" href="css/style.css"> | |||
</head> | |||
<body> | |||
@@ -16,9 +16,9 @@ include '../solr.php'; | |||
<head> | |||
<meta charset="utf-8"> | |||
<meta name="viewport" content="width=device-width, initial-scale=1"> | |||
<link rel="stylesheet" type="text/css" href="css/style.css"> | |||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> | |||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script> | |||
<link rel="stylesheet" type="text/css" href="css/style.css"> | |||
</head> | |||
<body> | |||
@@ -19,9 +19,9 @@ $random_titles = ten_random_titles($core); | |||
<head> | |||
<meta charset="utf-8"> | |||
<meta name="viewport" content="width=device-width, initial-scale=1"> | |||
<link rel="stylesheet" type="text/css" href="css/style.css"> | |||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> | |||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script> | |||
<link rel="stylesheet" type="text/css" href="css/style.css"> | |||
</head> | |||
<body> | |||