704 lines
13 KiB
CSS
704 lines
13 KiB
CSS
/* tester */
|
|
|
|
/* contact form */
|
|
|
|
iframe.contact-form {
|
|
width: 100vw;
|
|
height: 50vh;
|
|
}
|
|
|
|
/* contact info top */
|
|
|
|
div#contact-info {
|
|
overflow: hidden;
|
|
background-color: #54595f;
|
|
color: #ffffff;
|
|
}
|
|
|
|
div#contact-info a {
|
|
float: left;
|
|
display: block;
|
|
color: #ffffff;
|
|
text-align: center;
|
|
padding: 14px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.topnav {
|
|
float: left;
|
|
display: block;
|
|
background-color: #fff;
|
|
text-align: center;
|
|
padding: 14px 16px;
|
|
text-decoration: none;
|
|
font-size: 17px;
|
|
width: 100vw;
|
|
}
|
|
|
|
|
|
|
|
.topnav a {
|
|
float: left;
|
|
display: block;
|
|
color: #f2f2f2;
|
|
text-align: center;
|
|
padding: 14px;
|
|
text-decoration: none;
|
|
align-items: stretch;
|
|
}
|
|
|
|
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
|
|
|
|
/* doesn't actually work nice */
|
|
|
|
@media screen and (max-width: 600px) {
|
|
.topnav a:not(:first-child) {
|
|
display: none;
|
|
}
|
|
.topnav a.icon {
|
|
float: right;
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
|
|
|
|
@media screen and (max-width: 600px) {
|
|
.topnav.responsive {
|
|
position: relative;
|
|
}
|
|
.topnav.responsive a.icon {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
}
|
|
.topnav.responsive a {
|
|
float: none;
|
|
display: block;
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
/* Change the color of links on hover */
|
|
|
|
.topnav a:hover {
|
|
color: chocolate;
|
|
}
|
|
|
|
/* Add an active class to highlight the current page */
|
|
|
|
.topnav a.active {
|
|
color: rgb(195, 197, 48);
|
|
}
|
|
|
|
.topnav .icon {
|
|
display: none;
|
|
}
|
|
|
|
.topnav a {
|
|
font-family: "Montserrat", Sans-serif;
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
/* float: left;
|
|
display: block; */
|
|
color: #54595f;
|
|
text-align: center;
|
|
padding: 14px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.topnav a img {
|
|
height: 60px;
|
|
width: 40px;
|
|
}
|
|
|
|
/* Footer stuff */
|
|
|
|
footer {
|
|
background-color: #6e7277;
|
|
clear: both;
|
|
}
|
|
|
|
footer .flex-container {
|
|
display: flex;
|
|
}
|
|
|
|
footer .flex-container>div {
|
|
background-color: #6e7277;
|
|
color: #ffffff;
|
|
margin: 10px;
|
|
padding: 20px;
|
|
font-size: 20px;
|
|
}
|
|
|
|
footer h2 {
|
|
align-self: center;
|
|
}
|
|
|
|
/* lists of articles */
|
|
|
|
h1.listname {
|
|
text-align: center;
|
|
padding-top: 20px;
|
|
padding-bottom: 20px;
|
|
background-color: #54595f;
|
|
color: white;
|
|
}
|
|
|
|
div.articles {
|
|
--page-title-display: block;
|
|
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif;
|
|
font-size: 1rem;
|
|
font-weight: 400;
|
|
line-height: 1.5;
|
|
color: #333;
|
|
hyphens: manual;
|
|
text-align: left;
|
|
box-sizing: border-box;
|
|
flex-wrap: wrap;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
display: grid;
|
|
-webkit-box-align: stretch;
|
|
align-items: stretch;
|
|
grid-column-gap: 30px;
|
|
grid-row-gap: 30px;
|
|
margin-left: 5%;
|
|
margin-right: 5%;
|
|
padding-bottom: 10%;
|
|
}
|
|
|
|
.article {
|
|
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif;
|
|
font-size: 1rem;
|
|
font-weight: 400;
|
|
hyphens: manual;
|
|
text-align: left;
|
|
line-height: 1.5;
|
|
box-sizing: border-box;
|
|
word-break: break-word;
|
|
}
|
|
|
|
div.articles article.article {
|
|
--page-title-display: block;
|
|
color: #333;
|
|
min-width: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: flex;
|
|
transition-property: background, border, box-shadow, -webkit-box-shadow;
|
|
transition-duration: .25s;
|
|
overflow: hidden;
|
|
box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
article.article>a.article {
|
|
--page-title-display: block;
|
|
background-color: transparent;
|
|
color: #c36;
|
|
transition: none;
|
|
box-shadow: none;
|
|
text-decoration: none;
|
|
position: relative;
|
|
display: block;
|
|
flex-shrink: 0;
|
|
-webkit-box-ordinal-group: 1;
|
|
order: 0;
|
|
width: 42%;
|
|
margin-right: 20px;
|
|
}
|
|
|
|
article>a.article>div.article {
|
|
--page-title-display: block;
|
|
color: #c36;
|
|
overflow: hidden;
|
|
position: relative;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
padding-bottom: calc( 1 * 100%);
|
|
}
|
|
|
|
a.article div.article img.article {
|
|
--page-title-display: block;
|
|
color: #c36;
|
|
border: none;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
display: block;
|
|
max-height: none;
|
|
max-width: none;
|
|
transition: filter .3s, -webkit-filter .3s;
|
|
position: absolute;
|
|
top: calc(50% + 1px);
|
|
left: calc(50% + 1px);
|
|
transform: scale(1.01) translate(-50%, -50%);
|
|
height: 100%;
|
|
width: auto;
|
|
}
|
|
|
|
div.article.title {
|
|
--page-title-display: block;
|
|
color: #333;
|
|
box-sizing: border-box;
|
|
-webkit-box-flex: 1;
|
|
flex-grow: 1;
|
|
padding: 30px 30px 0px 0px;
|
|
}
|
|
|
|
div h1.article {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
color: #211f40;
|
|
font-family: "Merriweather", Sans-serif;
|
|
font-size: 16px;
|
|
font-weight: 300;
|
|
text-transform: none;
|
|
line-height: 1.4em;
|
|
margin-bottom: 22px;
|
|
}
|
|
|
|
div h1 a.article {
|
|
background-color: transparent;
|
|
box-sizing: border-box;
|
|
box-shadow: none;
|
|
text-decoration: none;
|
|
color: #211f40;
|
|
font-family: "Merriweather", Sans-serif;
|
|
font-size: 16px;
|
|
font-weight: 300;
|
|
text-transform: none;
|
|
line-height: 1.4em;
|
|
}
|
|
|
|
article div.article.info {
|
|
--page-title-display: block;
|
|
color: #333;
|
|
box-sizing: border-box;
|
|
-webkit-box-flex: 1;
|
|
flex-grow: 1;
|
|
padding: 30px 30px 0px 0px;
|
|
}
|
|
|
|
h3.article.title {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
color: #211f40;
|
|
font-family: "Merriweather", Sans-serif;
|
|
font-size: 16px;
|
|
font-weight: 300;
|
|
text-transform: none;
|
|
line-height: 1.4em;
|
|
margin-bottom: 22px;
|
|
}
|
|
|
|
h3.article.title a {
|
|
background-color: transparent;
|
|
box-sizing: border-box;
|
|
box-shadow: none;
|
|
text-decoration: none;
|
|
color: #211f40;
|
|
font-family: "Merriweather", Sans-serif;
|
|
font-size: 16px;
|
|
font-weight: 300;
|
|
text-transform: none;
|
|
line-height: 1.4em;
|
|
}
|
|
|
|
div.article.text {
|
|
box-sizing: border-box;
|
|
line-height: 1.3em;
|
|
color: #211f40;
|
|
font-family: "Montserrat", Sans-serif;
|
|
font-size: 12px;
|
|
font-weight: 300;
|
|
text-transform: capitalize;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
div.article.metadata {
|
|
box-sizing: border-box;
|
|
line-height: 1.3em;
|
|
color: #211f40;
|
|
font-family: "Montserrat", Sans-serif;
|
|
font-size: 12px;
|
|
font-weight: 300;
|
|
text-transform: capitalize;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
div.article.summary {
|
|
--page-title-display: block;
|
|
color: #333;
|
|
box-sizing: border-box;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
a.more {
|
|
background-color: transparent;
|
|
box-sizing: border-box;
|
|
box-shadow: none;
|
|
text-decoration: none;
|
|
font-size: 12px;
|
|
font-family: var( --e-global-typography-accent-font-family);
|
|
font-weight: var( --e-global-typography-accent-font-weight);
|
|
color: #CBAE08;
|
|
}
|
|
|
|
@media only screen and (max-width: 700px) {
|
|
div.articles {
|
|
--page-title-display: block;
|
|
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif;
|
|
font-size: 1rem;
|
|
font-weight: 400;
|
|
line-height: 1.5;
|
|
color: #333;
|
|
hyphens: manual;
|
|
text-align: left;
|
|
box-sizing: border-box;
|
|
flex-wrap: wrap;
|
|
grid-template-columns: repeat(1, 1fr);
|
|
display: grid;
|
|
-webkit-box-align: stretch;
|
|
align-items: stretch;
|
|
grid-column-gap: 30px;
|
|
grid-row-gap: 30px;
|
|
margin-left: 5%;
|
|
margin-right: 5%;
|
|
padding-bottom: 10%;
|
|
}
|
|
}
|
|
|
|
/* Article */
|
|
|
|
div.title h1 {
|
|
text-align: center;
|
|
width: 100%;
|
|
height: 10vh;
|
|
margin-bottom: 10%;
|
|
}
|
|
|
|
div.single.summary {
|
|
hyphens: manual;
|
|
box-sizing: border-box;
|
|
transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, -webkit-border-radius .3s, -webkit-box-shadow .3s;
|
|
color: #16163f;
|
|
font-family: "Merriweather", Sans-serif;
|
|
font-weight: 300;
|
|
text-transform: none;
|
|
line-height: 1.4em;
|
|
padding: 0px 0px 0px 30px;
|
|
border-style: solid;
|
|
border-width: 0px 0px 0px 4px;
|
|
border-color: #d3b574;
|
|
font-size: 38px;
|
|
}
|
|
|
|
div.image.single {
|
|
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif;
|
|
font-size: 1rem;
|
|
font-weight: 400;
|
|
line-height: 1.5;
|
|
color: #333;
|
|
hyphens: manual;
|
|
text-align: left;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
div.image.single img {
|
|
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif;
|
|
font-size: 1rem;
|
|
font-weight: 400;
|
|
line-height: 1.5;
|
|
color: #333;
|
|
hyphens: manual;
|
|
text-align: left;
|
|
box-sizing: border-box;
|
|
height: auto;
|
|
max-width: 100%;
|
|
border: none;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
vertical-align: middle;
|
|
display: inline-block;
|
|
width: 100%;
|
|
}
|
|
|
|
article.single {
|
|
float: left;
|
|
line-height: 1.5;
|
|
hyphens: manual;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
width: 55%;
|
|
/* margin-left: 5%; */
|
|
text-align: left;
|
|
color: #4a4a4a;
|
|
font-family: "Montserrat", Sans-serif;
|
|
font-size: 16px;
|
|
margin: 0px 0px 2% 1%;
|
|
}
|
|
|
|
article.single div {
|
|
line-height: 1.5;
|
|
hyphens: manual;
|
|
text-align: left;
|
|
color: #4a4a4a;
|
|
font-family: "Montserrat", Sans-serif;
|
|
font-size: 16px;
|
|
box-sizing: border-box;
|
|
transition: background .3s, border .3s, border-radius .3s, box-shadow .3s, -webkit-border-radius .3s, -webkit-box-shadow .3s;
|
|
margin: 50px 0px 0px 0px;
|
|
}
|
|
|
|
article.single div p {
|
|
line-height: 1.5;
|
|
hyphens: manual;
|
|
text-align: left;
|
|
color: #4a4a4a;
|
|
font-family: "Montserrat", Sans-serif;
|
|
font-size: 16px;
|
|
margin-top: 0;
|
|
margin-bottom: .9rem;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* elements in article */
|
|
|
|
article.single table {
|
|
margin: 1em 0em 1em 0em;
|
|
font-family: arial, sans-serif;
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
}
|
|
|
|
article.single td, th {
|
|
border: 1px solid #dddddd;
|
|
text-align: left;
|
|
padding: 8px;
|
|
}
|
|
|
|
article.single tr:nth-child(even) {
|
|
background-color: #dddddd;
|
|
}
|
|
|
|
/* aside articles */
|
|
|
|
aside.single {
|
|
width: 30%;
|
|
padding-left: 15px;
|
|
float: right;
|
|
font-style: italic;
|
|
background-color: #ffffff;
|
|
float: right;
|
|
}
|
|
|
|
@media only screen and (max-width: 700px) {
|
|
aside.single {
|
|
padding-left: 15px;
|
|
width: 100%;
|
|
font-style: italic;
|
|
background-color: #ffffff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
div.related-articles {
|
|
--page-title-display: block;
|
|
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif;
|
|
font-size: 1rem;
|
|
font-weight: 400;
|
|
line-height: 1.5;
|
|
color: #333;
|
|
hyphens: manual;
|
|
text-align: left;
|
|
box-sizing: border-box;
|
|
flex-wrap: wrap;
|
|
grid-template-columns: repeat(1, 1fr);
|
|
display: grid;
|
|
-webkit-box-align: stretch;
|
|
align-items: stretch;
|
|
grid-column-gap: 30px;
|
|
grid-row-gap: 30px;
|
|
margin-left: 5%;
|
|
margin-right: 5%;
|
|
padding-bottom: 10%;
|
|
}
|
|
|
|
div.related-articles article.article {
|
|
--page-title-display: block;
|
|
color: #333;
|
|
min-width: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: flex;
|
|
transition-property: background, border, box-shadow, -webkit-box-shadow;
|
|
transition-duration: .25s;
|
|
overflow: hidden;
|
|
box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* end aside */
|
|
|
|
/* Search */
|
|
|
|
@keyframes spin {
|
|
100% {
|
|
transform: rotateY(360deg);
|
|
}
|
|
}
|
|
|
|
.search {
|
|
display: flex;
|
|
justify-content: center;
|
|
border: 1px solid black;
|
|
min-width: 1em;
|
|
height: 1em;
|
|
line-height: 1;
|
|
border-radius: 0.75em;
|
|
padding: 0.25em;
|
|
}
|
|
|
|
.search-icon {
|
|
color: black;
|
|
cursor: pointer;
|
|
width: 1em;
|
|
height: 1em;
|
|
margin: 0;
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
.search[data-running] .search-icon {
|
|
animation: spin 1.5s linear infinite;
|
|
}
|
|
|
|
.search-input {
|
|
border-width: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
width: 0;
|
|
outline: none;
|
|
background: transparent;
|
|
transition: width 0.5s;
|
|
}
|
|
|
|
.search-input:focus {
|
|
margin-left: 0.5em;
|
|
width: 10em;
|
|
}
|
|
|
|
/* FOOTER */
|
|
|
|
footer {
|
|
background-color: #6e7277;
|
|
color: #d7d7d9;
|
|
width: 100vw;
|
|
padding-bottom: 20px;
|
|
font-family: "Montserrat", Sans-serif, "Roboto Slab";
|
|
}
|
|
|
|
div.generic-info {
|
|
background-color: white;
|
|
color: #7a7a7a;
|
|
text-align: center;
|
|
margin: 0px 7.5%;
|
|
margin-top: 2%;
|
|
padding-bottom: 10px;
|
|
box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
div.footer-cols {
|
|
--page-title-display: block;
|
|
font-size: 1rem;
|
|
font-weight: 400;
|
|
line-height: 1.5;
|
|
color: #d7d7d9;
|
|
hyphens: manual;
|
|
text-align: left;
|
|
box-sizing: border-box;
|
|
flex-wrap: wrap;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
display: grid;
|
|
-webkit-box-align: stretch;
|
|
align-items: stretch;
|
|
grid-column-gap: 30px;
|
|
grid-row-gap: 30px;
|
|
margin-left: 5%;
|
|
margin-right: 5%;
|
|
padding-bottom: 2%;
|
|
padding-top: 2%;
|
|
}
|
|
|
|
@media only screen and (max-width: 700px) {
|
|
div.footer-cols {
|
|
--page-title-display: block;
|
|
font-size: 1rem;
|
|
font-weight: 400;
|
|
line-height: 1.5;
|
|
color: #d7d7d9;
|
|
hyphens: manual;
|
|
text-align: left;
|
|
box-sizing: border-box;
|
|
flex-wrap: wrap;
|
|
grid-template-columns: repeat(1, 1fr);
|
|
display: grid;
|
|
-webkit-box-align: stretch;
|
|
align-items: stretch;
|
|
grid-column-gap: 30px;
|
|
grid-row-gap: 30px;
|
|
margin-left: 5%;
|
|
margin-right: 5%;
|
|
padding-bottom: 2%;
|
|
padding-top: 2%;
|
|
}
|
|
}
|
|
|
|
div.footer-col {
|
|
font-size: 1rem;
|
|
font-weight: 400;
|
|
hyphens: manual;
|
|
text-align: left;
|
|
line-height: 1.5;
|
|
box-sizing: border-box;
|
|
word-break: break-word;
|
|
}
|
|
|
|
div.footer-col .col-title {
|
|
color: #9d9175;
|
|
}
|
|
|
|
div.footer-col a {
|
|
width: 100%;
|
|
color: #d7d7d9;
|
|
text-decoration: none;
|
|
line-height: 2em;
|
|
display: block;
|
|
}
|
|
|
|
div.footer-col a:hover {
|
|
color: #9d9175;
|
|
}
|
|
|
|
div.footer-col a:active {
|
|
color: #9d9175;
|
|
}
|
|
|
|
div.footer-col p {
|
|
width: 100%;
|
|
color: #d7d7d9;
|
|
display: block;
|
|
}
|
|
|
|
div.copyright {
|
|
border-top: 1px solid #4b445a;
|
|
color: #d7d7d9;
|
|
text-align: center;
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.copyright p {
|
|
margin-top: 2%;
|
|
} |