staticsite/public/css/global.css

510 lines
10 KiB
CSS
Raw Normal View History

2020-12-07 00:25:12 +00:00
/* tester */
2020-12-07 14:40:34 +00:00
2020-12-07 00:25:12 +00:00
/* contact form */
2020-12-07 14:40:34 +00:00
2020-12-07 00:25:12 +00:00
iframe.contact-form {
width: 100vw;
height: 50vh;
}
2020-12-07 14:40:34 +00:00
2020-12-07 00:25:12 +00:00
/* 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;
}
2020-12-07 14:40:34 +00:00
2020-12-07 00:25:12 +00:00
.topnav {
float: left;
display: block;
2020-12-07 14:40:34 +00:00
background-color: #fff;
2020-12-07 00:25:12 +00:00
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
width: 100vw;
}
2020-12-07 14:40:34 +00:00
#content {
padding-top: 100px;
}
.topnav a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px;
text-decoration: none;
align-items: stretch;
}
2020-12-07 00:25:12 +00:00
/* 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 */
2020-12-07 14:40:34 +00:00
h1.listname {
text-align: center;
}
div.articles {
2020-12-07 00:25:12 +00:00
--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;
2020-12-07 14:40:34 +00:00
margin-left: 5%;
margin-right: 5%;
padding-bottom: 10%;
2020-12-07 00:25:12 +00:00
}
2020-12-07 14:40:34 +00:00
2020-12-07 00:25:12 +00:00
.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;
}
2020-12-07 14:40:34 +00:00
article.article>a.article {
2020-12-07 00:25:12 +00:00
--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;
}
2020-12-07 14:40:34 +00:00
article>a.article>div.article {
2020-12-07 00:25:12 +00:00
--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;
}
2020-12-07 14:40:34 +00:00
/* div.article.title {
2020-12-07 00:25:12 +00:00
--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;
2020-12-07 14:40:34 +00:00
} */
2020-12-07 00:25:12 +00:00
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 */
2020-12-07 14:40:34 +00:00
div.title h1 {
text-align: center;
width: 100%;
height: 10vh;
margin-bottom: 10%;
}
2020-12-07 00:25:12 +00:00
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;
2020-12-07 14:40:34 +00:00
width: 55%;
margin-left: 5%;
2020-12-07 00:25:12 +00:00
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 */
2020-12-07 14:40:34 +00:00
2020-12-07 00:25:12 +00:00
@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;
2020-12-07 14:40:34 +00:00
}
/* dirty footer */
.elementor-section {
background-color: #6e7277;
}
div.elementor-row {
color: #d7d7d9;
}
div.elementor-widget-container>h4.elementor-heading-title {
color: #aa9a75;
}
ul.elementor-icon-list-items>li.elementor-icon-list-item>a {
color: #d7d7d9;
}
/* body > div.elementor.elementor-165.elementor-location-footer > div > div > section.elementor-section.elementor-top-section.elementor-element.elementor-element-420ce0c.elementor-section-height-min-height.elementor-section-boxed.elementor-section-height-default.elementor-section-items-middle > div.elementor-container.elementor-column-gap-default > div > div > div > div */
div.elementor-row div.elementor-column-wrap.elementor-element-populated > div.elementor-widget-wrap > section.elementor-element-7d70af41.elementor-section-boxed.elementor-section.elementor-inner-section {
background-color: #fff;
}
body > section > div.elementor-container.elementor-column-gap-default > div > div > div > div > section.elementor-section.elementor-inner-section.elementor-element.elementor-element-7d70af41.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default > div > div > div > div > div > div.elementor-element.elementor-element-a57474b.elementor-widget.elementor-widget-text-editor > div > div {
color: #000;
2020-12-07 00:25:12 +00:00
}