2024-06-20 07:22:10 +00:00
|
|
|
/*
|
|
|
|
Theme Name: Duck Behavior Journal
|
|
|
|
Theme URI: https://duckbehaviorjournal.com
|
|
|
|
Author: Kumi
|
|
|
|
Author URI: https://kumi.website
|
|
|
|
Description: A WordPress theme for the Duck Behavior Journal.
|
2024-08-17 11:20:25 +00:00
|
|
|
Version: 1.1
|
2024-06-20 07:22:10 +00:00
|
|
|
License: MIT
|
|
|
|
License URI: https://opensource.org/licenses/MIT
|
|
|
|
Text Domain: duck-behavior-journal
|
|
|
|
*/
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: 'Helvetica Neue', Arial, sans-serif;
|
|
|
|
color: #333;
|
2024-08-17 11:20:25 +00:00
|
|
|
line-height: 1.6;
|
|
|
|
background-color: #f8f9fa;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
color: #333;
|
|
|
|
font-weight: bold;
|
|
|
|
margin: 20px 0 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 2.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 1.75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h6 {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #007bff;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
button,
|
|
|
|
input[type="submit"] {
|
|
|
|
background-color: #007bff;
|
|
|
|
color: #fff;
|
|
|
|
border: none;
|
|
|
|
padding: 10px 20px;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 1rem;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
button:hover,
|
|
|
|
input[type="submit"]:hover {
|
|
|
|
background-color: #0056b3;
|
|
|
|
}
|
|
|
|
|
|
|
|
input,
|
|
|
|
textarea,
|
|
|
|
select {
|
|
|
|
width: 100%;
|
|
|
|
padding: 10px;
|
|
|
|
margin: 10px 0;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
border-radius: 5px;
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:focus,
|
|
|
|
textarea:focus,
|
|
|
|
select:focus {
|
|
|
|
border-color: #007bff;
|
|
|
|
outline: none;
|
2024-06-20 07:22:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
height: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-link {
|
|
|
|
color: #333;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-link:hover {
|
|
|
|
color: #007bff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hero {
|
|
|
|
height: 60vh;
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hero::before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background: rgba(0, 0, 0, 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
.hero .container {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hero h1,
|
|
|
|
.hero p {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card {
|
|
|
|
border: none;
|
2024-08-17 11:20:25 +00:00
|
|
|
margin-bottom: 20px;
|
|
|
|
background-color: #fff;
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
|
|
border-radius: 5px;
|
|
|
|
overflow: hidden;
|
2024-06-20 07:22:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-title {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
font-weight: bold;
|
2024-08-17 11:20:25 +00:00
|
|
|
margin: 10px 0;
|
2024-06-20 07:22:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-text {
|
|
|
|
color: #777;
|
2024-08-17 11:20:25 +00:00
|
|
|
margin-bottom: 15px;
|
2024-06-20 07:22:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
border-top: 1px solid #eee;
|
2024-08-17 11:20:25 +00:00
|
|
|
padding: 20px 0;
|
|
|
|
background-color: #f8f9fa;
|
2024-06-20 07:22:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
footer p {
|
|
|
|
margin: 0;
|
2024-08-17 11:20:25 +00:00
|
|
|
color: #666;
|
2024-06-20 07:22:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
footer .social-media img {
|
|
|
|
height: 24px;
|
2024-06-20 12:52:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a h5 {
|
|
|
|
color: #333;
|
|
|
|
text-decoration: none;
|
2024-06-20 13:26:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#doi-link {
|
|
|
|
color: #333;
|
|
|
|
text-decoration: dashed;
|
2024-08-02 20:41:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.alignright {
|
|
|
|
float: right;
|
2024-08-18 20:02:46 +00:00
|
|
|
clear: right;
|
2024-08-02 20:41:56 +00:00
|
|
|
margin-left: 20px;
|
2024-08-18 20:02:46 +00:00
|
|
|
margin-bottom: 20px;;
|
2024-08-02 20:41:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.alignleft {
|
|
|
|
float: left;
|
2024-08-18 20:02:46 +00:00
|
|
|
clear: left;
|
2024-08-02 20:41:56 +00:00
|
|
|
margin-right: 20px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aligncenter {
|
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-bottom: 20px;
|
2024-08-02 21:08:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-image img,
|
|
|
|
.alignleft,
|
|
|
|
.alignright,
|
|
|
|
.aligncenter {
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
padding: 5px;
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-caption {
|
|
|
|
text-align: center;
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
font-style: italic;
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-caption .wp-caption-text {
|
|
|
|
padding: 5px 10px;
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
border-top: 1px solid #ddd;
|
2024-08-06 17:58:31 +00:00
|
|
|
margin-bottom: 0;
|
2024-08-03 10:59:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pagination {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagination .page-numbers {
|
|
|
|
display: block;
|
|
|
|
padding: 10px 15px;
|
|
|
|
margin: 0 5px;
|
|
|
|
color: #333;
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
text-decoration: none;
|
2024-08-17 11:20:25 +00:00
|
|
|
border-radius: 5px;
|
2024-08-03 10:59:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pagination a:hover {
|
|
|
|
background-color: #ddd;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagination .current {
|
|
|
|
background-color: #007bff;
|
|
|
|
color: white;
|
|
|
|
}
|
2024-08-03 18:36:34 +00:00
|
|
|
|
|
|
|
.MJXc-display {
|
|
|
|
display: inline-block !important
|
2024-08-06 18:16:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.lightbox {
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
z-index: 9999;
|
|
|
|
padding-top: 60px;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
background-color: rgba(0, 0, 0, 0.9);
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightbox-content {
|
|
|
|
margin: auto;
|
|
|
|
display: block;
|
2024-08-06 18:26:13 +00:00
|
|
|
max-width: 80vw;
|
|
|
|
max-height: 90vh;
|
2024-08-06 18:16:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.lightbox-close {
|
|
|
|
position: absolute;
|
|
|
|
top: 15px;
|
|
|
|
right: 35px;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 40px;
|
|
|
|
font-weight: bold;
|
|
|
|
transition: 0.3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightbox-close:hover,
|
|
|
|
.lightbox-close:focus {
|
|
|
|
color: #bbb;
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 700px) {
|
|
|
|
.lightbox-content {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2024-08-17 14:56:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
margin: 0;
|
|
|
|
padding: 20px;
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
border-left: 5px solid #007bff;
|
|
|
|
margin-bottom: 20px;
|
2024-08-03 18:36:34 +00:00
|
|
|
}
|