created static folder
This commit is contained in:
448
public/css/global.css
Normal file
448
public/css/global.css
Normal file
@@ -0,0 +1,448 @@
|
||||
/* 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;
|
||||
color: #f2f2f2;
|
||||
text-align: center;
|
||||
padding: 14px 16px;
|
||||
text-decoration: none;
|
||||
font-size: 17px;
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
/* 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) */
|
||||
|
||||
@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;
|
||||
}
|
||||
|
||||
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 */
|
||||
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;
|
||||
}
|
||||
.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 h3.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 h3 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;
|
||||
}
|
||||
|
||||
/* Article */
|
||||
|
||||
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 {
|
||||
line-height: 1.5;
|
||||
hyphens: manual;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
color: #4a4a4a;
|
||||
font-family: "Montserrat", Sans-serif;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
Reference in New Issue
Block a user