implement posts style, to be completed
change font add secondary navigation to homepage
This commit is contained in:
@@ -16,44 +16,30 @@ html, body {
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: paleturquoise;
|
||||
text-decoration: none;
|
||||
color: paleturquoise;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
font-weight: 800;
|
||||
color: white;
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
font-weight: 800;
|
||||
color: rgb(230, 230, 230);
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
font-weight: 800;
|
||||
color: white;
|
||||
margin: 38px 0 38px;
|
||||
font-size: 60px;
|
||||
margin: 38px 0 0;
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
font-weight: 800;
|
||||
color: white;
|
||||
margin: 0;
|
||||
padding: 30px 0 0;
|
||||
font-size: 33px;
|
||||
margin: 0;
|
||||
font-size: 33px;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
font-weight: 800;
|
||||
color: white;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
font-size: 25px;
|
||||
margin: 0;
|
||||
padding: 20px 0 0;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.nav {
|
||||
@@ -62,21 +48,21 @@ h4 {
|
||||
}
|
||||
|
||||
.navbar {
|
||||
position: absolute; /* only used if JS is disabled */
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 100;
|
||||
position: absolute; /* only used if JS is disabled */
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 100;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
|
||||
transition: 1s;
|
||||
transition: 1s;
|
||||
}
|
||||
/* This class is applied by a JS script, so that users with JS disabled
|
||||
can still see the navbar, but it won't move while they're scrolling.
|
||||
@@ -84,7 +70,7 @@ This is needed because the navbar is transparent, and a black background
|
||||
is applied by the script on scroll.
|
||||
*/
|
||||
.navbar-allowmoving {
|
||||
position: fixed;
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
.navbar-colored {
|
||||
@@ -139,26 +125,39 @@ is applied by the script on scroll.
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
.mind-content_main {
|
||||
width: 1260px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
/* Begin Main Content */
|
||||
main {
|
||||
margin: auto;
|
||||
width: 1260px;
|
||||
max-width: 100%;
|
||||
box-sizing: border-box;
|
||||
|
||||
text-align: justify;
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
padding-top: 30px;
|
||||
padding-bottom: 30px;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
/* End Main Content */
|
||||
|
||||
/* Begin footer */
|
||||
/* .mind-fullscreen-title is only used by pages (no homepage), however other pages have the footer too. */
|
||||
.mind-fullscreen-title, footer.mind-site-footer_main {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
footer.mind-site-footer_main {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.mind-site-footer_main p {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
font-weight: 800;
|
||||
color: white;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
font-size: 25px;
|
||||
}
|
||||
|
||||
/* .mind-page-title is only used by pages (homepage has a different title style), however other pages have the footer too. */
|
||||
.mind-page-title, footer.mind-site-footer_main {
|
||||
background: linear-gradient(45deg, #067062, #063d70, #2d0670, #4e0670, #700667);
|
||||
background-size: 1000%, 100%;
|
||||
animation: gradient 7s linear infinite;
|
||||
@@ -179,7 +178,7 @@ nav.mind-site-footer_nav {
|
||||
display: none; /*Hidden, we want to show it via JavaScript */
|
||||
|
||||
/* Theming */
|
||||
background: #151515;
|
||||
background: rgb(30, 30, 30);
|
||||
color: white;
|
||||
border-radius: 3px;
|
||||
padding: 10px;
|
||||
@@ -209,7 +208,7 @@ nav.mind-site-footer_nav {
|
||||
font-family: 'Montserrat', sans-serif;
|
||||
font-weight: 200;
|
||||
color: white;
|
||||
font-size: 13px;
|
||||
font-size: 16px;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
@@ -237,7 +236,6 @@ nav.mind-site-footer_nav {
|
||||
|
||||
/* End policy popup */
|
||||
|
||||
|
||||
.arrow-down {
|
||||
border: solid white;
|
||||
opacity: 0.4;
|
||||
@@ -251,12 +249,6 @@ nav.mind-site-footer_nav {
|
||||
transition: 1s;
|
||||
}
|
||||
|
||||
/* ARROW BOUNCE */
|
||||
@keyframes bounce {
|
||||
0% { top: 94%; }
|
||||
50% { top: 92%; }
|
||||
100% { top: 94%; }
|
||||
}
|
||||
/* Begin Ghost mandatory CSS */
|
||||
.kg-width-wide {
|
||||
|
||||
@@ -317,6 +309,10 @@ nav.mind-site-footer_nav {
|
||||
.kg-bookmark-thumbnail {
|
||||
|
||||
}
|
||||
|
||||
.kg-image {
|
||||
max-width: 100%;
|
||||
}
|
||||
/* End Ghost mandatory CSS */
|
||||
|
||||
/* Generic class to make things unselectable */
|
||||
@@ -336,6 +332,12 @@ img {
|
||||
-o-user-select: none;
|
||||
}
|
||||
|
||||
/* ANIMATED GRADIENT BACKGROUND */
|
||||
@keyframes gradient {
|
||||
0% {background-position: 0%}
|
||||
100% {background-position: 100%}
|
||||
}
|
||||
|
||||
/* COLORED TEXT SELECTION */
|
||||
::selection {
|
||||
color: #2d0670;
|
||||
@@ -347,261 +349,6 @@ img {
|
||||
background: rgba(255, 255, 255, 0.995);
|
||||
}
|
||||
|
||||
/* Begin media queries for elements size */
|
||||
@media (min-width: 0px) and (max-width:200px) {
|
||||
|
||||
h4 {
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
.mind-policy-popup {
|
||||
/* centered */
|
||||
left: 5px;
|
||||
width: 100px;
|
||||
bottom: 50px;
|
||||
}
|
||||
|
||||
.mind-policy-popup h4 {
|
||||
padding: 15px 15px;
|
||||
}
|
||||
|
||||
.mind-policy-popup p {
|
||||
font-size: 7px;
|
||||
padding: 0 15px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mind-policy-popup button {
|
||||
font-size:7px;
|
||||
margin: 10px;
|
||||
padding: 5px 8px;
|
||||
}
|
||||
|
||||
.navbar a {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
main {
|
||||
font-size: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 200px) and (max-width: 300px) {
|
||||
|
||||
h4 {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.mind-policy-popup {
|
||||
/* centered */
|
||||
left: 50%;
|
||||
margin-left: -100px; /* this has to be half the width */
|
||||
width: 200px;
|
||||
bottom: 50px;
|
||||
}
|
||||
|
||||
.mind-policy-popup h4 {
|
||||
padding: 15px 15px;
|
||||
}
|
||||
|
||||
.mind-policy-popup p {
|
||||
font-size: 8px;
|
||||
padding: 0 15px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mind-policy-popup button {
|
||||
font-size: 8px;
|
||||
margin: 10px;
|
||||
padding: 10px 15px;
|
||||
}
|
||||
|
||||
.navbar a {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
main {
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 300px) and (max-width: 400px) {
|
||||
h4 {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.mind-policy-popup {
|
||||
/* centered */
|
||||
left: 50%;
|
||||
margin-left: -140px; /* this has to be half the width */
|
||||
width: 280px;
|
||||
}
|
||||
|
||||
.mind-policy-popup h4 {
|
||||
padding: 15px 15px;
|
||||
}
|
||||
|
||||
.mind-policy-popup p {
|
||||
font-size: 8px;
|
||||
padding: 0 15px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mind-policy-popup button {
|
||||
font-size: 8px;
|
||||
margin: 10px;
|
||||
padding: 10px 15px;
|
||||
}
|
||||
|
||||
.navbar a {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
main {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 400px) and (max-width: 500px) {
|
||||
h4 {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.mind-policy-popup {
|
||||
/* centered */
|
||||
left: 50%;
|
||||
margin-left: -175px; /* this has to be half the width */
|
||||
width: 350px;
|
||||
}
|
||||
|
||||
.mind-policy-popup h4 {
|
||||
padding: 15px 15px;
|
||||
}
|
||||
|
||||
.mind-policy-popup p {
|
||||
font-size:10px;
|
||||
padding: 0 15px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mind-policy-popup button {
|
||||
font-size: 10px;
|
||||
margin: 10px;
|
||||
padding: 10px 15px;
|
||||
}
|
||||
|
||||
.navbar a {
|
||||
font-size: 21px;
|
||||
}
|
||||
|
||||
main {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 500px) and (max-width: 600px) {
|
||||
h4 {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.mind-policy-popup {
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
.mind-policy-popup h4 {
|
||||
padding: 15px 15px;
|
||||
}
|
||||
|
||||
.mind-policy-popup p {
|
||||
font-size: 11px;
|
||||
padding: 0 15px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mind-policy-popup button {
|
||||
font-size: 11px;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.navbar a {
|
||||
font-size: 26px;
|
||||
}
|
||||
|
||||
main {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 600px) and (max-width: 700px) {
|
||||
h4 {
|
||||
font-size: 21px;
|
||||
}
|
||||
|
||||
.mind-policy-popup {
|
||||
width: 500px;
|
||||
}
|
||||
|
||||
.mind-policy-popup h4 {
|
||||
padding: 15px 15px;
|
||||
}
|
||||
|
||||
.mind-policy-popup p {
|
||||
font-size: 11px;
|
||||
padding: 0 15px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mind-policy-popup button {
|
||||
font-size: 11px;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.navbar a {
|
||||
font-size: 29px;
|
||||
}
|
||||
|
||||
main {
|
||||
font-size: 23px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 700px) and (max-width: 1000px) {
|
||||
h4 {
|
||||
font-size: 23px;
|
||||
}
|
||||
|
||||
.mind-policy-popup h4 {
|
||||
padding: 15px 15px;
|
||||
}
|
||||
|
||||
.mind-policy-popup p {
|
||||
font-size: 13px;
|
||||
padding: 0 15px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mind-policy-popup button {
|
||||
margin: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
/* 4K MONITORS */
|
||||
@media (min-width: 2100px) {
|
||||
.mind-policy-popup p {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.mind-policy-popup button {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
main {
|
||||
font-size: 25px;
|
||||
}
|
||||
}
|
||||
/* End media queries */
|
||||
|
||||
|
||||
/* Begin fonts */
|
||||
@font-face {
|
||||
font-family: 'Oswald';
|
||||
@@ -626,6 +373,16 @@ img {
|
||||
src: url(https://fonts.gstatic.com/s/montserrat/v14/JTURjIg1_i6t8kCHKm45_aZA3gnD_g.woff2) format('woff2');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Montserrat';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: local('Montserrat Regular'), local('Montserrat-Regular'), url(https://fonts.gstatic.com/s/montserrat/v14/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
@@ -634,4 +391,32 @@ img {
|
||||
src: local('Roboto Light'), local('Roboto-Light'), url(https://fonts.gstatic.com/s/roboto/v20/KFOlCnqEu92Fr1MmSU5fBBc4.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
src: local('Roboto Bold'), local('Roboto-Bold'), url(https://fonts.gstatic.com/s/roboto/v20/KFOlCnqEu92Fr1MmWUlfBBc4.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
font-style: normal;
|
||||
font-weight: 900;
|
||||
font-display: swap;
|
||||
src: local('Roboto Black'), local('Roboto-Black'), url(https://fonts.gstatic.com/s/roboto/v20/KFOlCnqEu92Fr1MmYUtfBBc4.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
|
||||
/* End fonts */
|
||||
|
||||
Reference in New Issue
Block a user