mind-overflow-website-ghost.../assets/css/screen.css
Lorenzo DellacĂ  eb6304aab2 completed transitioning from static HTML&CSS-only website to Ghost CMS.
next step is to readapt the style to be more "content-friendly".
2020-08-12 15:03:22 +02:00

454 lines
6.7 KiB
CSS

@charset "utf-8";
/* CSS Document */
html, body {
font-family: 'Montserrat', sans-serif;
font-weight: 800;
margin: 0;
padding: 0;
height: 100%;
width: 100%;
}
h1 {
font-family: 'Montserrat', sans-serif;
font-weight: 800;
width: 100%;
color: white;
position: absolute;
}
h2 {
font-family: 'Montserrat', sans-serif;
font-weight: 800;
color: white;
margin: 0;
padding: 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;
}
h4 {
font-family: 'Montserrat', sans-serif;
font-weight: 800;
color: white;
margin: 0;
padding: 20px;
font-size: 25px;
}
a {
text-decoration: none;
color: paleturquoise;
}
.nav {
padding: 0;
}
.navbar {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
text-transform: uppercase;
text-decoration: none;
overflow: hidden;
/* Disable text selection */
-moz-user-select: none;
-webkis-user-select: none;
-ms-user-select: none;
user-select: none;
-o-user-select: none;
}
.navbar li {
display: inline-block;
}
.navbar a {
color: white;
text-align: center;
text-decoration: none;
font-size: 30px;
font-family: 'Oswald', sans-serif;
font-weight: 300;
margin: 0;
padding: 10px;
}
.navbar li.nav-services {
background: linear-gradient(to right, #33ffc5 20%, #fc33ff, #ff3370, #ff3333, #3dff33, #33ffc5);
background-size: 800px, 800px;
color: aquamarine;
text-fill-color: transparent;
animation: gradient 2s linear infinite;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* Begin policy popup */
/* todo: this makes the page a little bit higher & larger, adding bars. fix it */
.mind-policy-popup {
display: none; /*Hidden, we want to show it via JavaScript */
/* Theming */
background: #151515;
color: white;
border-radius: 3px;
padding: 10px;
font-size: 25px;
box-sizing: border-box;
box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.2);
/* Disable text highlighting */
user-select: none;
-moz-user-select: none;
-webkis-user-select: none;
-ms-user-select: none;
-o-user-select: none;
/* Size */
width: 600px;
overflow: hidden;
/* Positioning */
position: fixed;
left: 50px;
bottom: 75px;
z-index: 2;
}
.mind-policy-popup p {
font-family: 'Montserrat', sans-serif;
font-weight: 200;
color: white;
font-size: 13px;
padding: 0 20px;
}
.mind-policy-popup button {
font-family: 'Montserrat', sans-serif;
font-weight: 800;
font-size: 13px;
transition-duration: 0.4s;
border-radius: 3px;
background-color: #484848;
border: none;
cursor: pointer;
color: white;
padding: 15px 30px;
text-align: center;
margin: 20px;
float: right;
}
.mind-policy-popup button:hover {
background-color: #44277a;
}
/* End policy popup */
/* Begin Ghost mandatory CSS */
.kg-width-wide {
}
.kg-width-full {
}
.kg-gallery-container {
}
.kg-gallery-image {
}
.kg-gallery-row {
}
.kg-bookmark-card {
}
.kg-bookmark-container {
}
.kg-bookmark-content {
}
.kg-bookmark-title {
}
.kg-bookmark-description {
}
.kg-bookmark-metadata {
}
.kg-bookmark-icon {
}
.kg-bookmark-author {
}
.kg-bookmark-publisher {
}
.kg-bookmark-thumbnail {
}
/* End Ghost mandatory CSS */
/* 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;
}
}
@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;
}
}
@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;
}
}
@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;
}
}
@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;
}
}
@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;
}
}
@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;
}
}
/* End media queries */
/* Begin fonts */
@font-face {
font-family: 'Oswald';
font-style: normal;
font-weight: 100;
src: url(https://fonts.gstatic.com/s/oswald/v24/TK3_WkUHHAIjg75cFRf3bXL8LICs169vsUZiZQ.woff2) format('woff2');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 800;
src: url(https://fonts.gstatic.com/s/montserrat/v14/JTURjIg1_i6t8kCHKm45_c5H3gnD_g.woff2) format('woff2');
}
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 200;
src: url(https://fonts.gstatic.com/s/montserrat/v14/JTURjIg1_i6t8kCHKm45_aZA3gnD_g.woff2) format('woff2');
}
/* End fonts */