mind-overflow-website-ghost.../assets/css/page-style.css

138 lines
2.6 KiB
CSS
Executable File

@charset "utf-8";
.mind-post_main {
max-width: 1260px;
width: 1260px;
display: grid;
grid-template-columns: 1fr 4fr 1fr;
margin: auto;
}
.mind-post_content-header {
/*
TODO: decide whether the image should be full-size (without rounded borders),
or with the same margin as the content, with rounded borders.
SAME-AS-CONTENT:
margin-top: 50px;
CURRENTLY:
full-size.
*/
margin: 0 -60px;
padding: 0 0 20px;
}
img.mind-post_feature-image {
width: 100%;
/*
TODO: see .mind-post_content-header.
SAME-AS-CONTENT:
border-radius: 5px;
*/
}
.mind-post_content code {
font-family: monospace;
background-color: rgb(20, 20, 20);
border-radius: 2px;
font-size: 14px;
padding: 7px 5px 2px;
}
.mind-post_content pre code {
border-radius: 0;
padding: 0;
}
.mind-post_content pre {
background-color: rgb(20, 20, 20);
overflow-x: scroll;
border: 1px solid black;
border-radius: 5px;
font-size: 14px;
color: white;
padding: 10px;
margin: 0 20px 2em;
}
.mind-post_content {
overflow: hidden; /* to hide, eg., overflowing code */
padding: 0 60px;
text-align: justify;
background-color: rgb(40, 40, 40);
box-shadow: 0 0 3px rgb(0,0,0),0 3px 46px rgb(0,0,0);
position: relative;
z-index: 2;
font-size: 19px;
color: rgb(200, 200, 200);
box-sizing: border-box;
}
.mind-post_content h1, .mind-post_content h2, .mind-post_content h3, .mind-post_content h4, .mind-post_content h5, .mind-post_content h6 {
text-align: left;
}
.mind-post_content blockquote {
border-left: 4px solid paleturquoise;
border-radius: 6px;
color: rgb(180, 180, 180);
background-color: rgb(30, 30, 30);
margin: 20px 0;
padding: 10px 30px;
}
.mind-post_content li {
margin: 0 0 1em;
}
/*.mind-post_content a {
position: relative;
}
.mind-post_content a:before {
content: "";
position: absolute;
width: 100%;
height: 1px;
bottom: 0;
left: 0;
background-color: paleturquoise;
visibility: hidden;
-webkit-transform: scaleX(0);
transform: scaleX(0);
-webkit-transition: all 0.3s ease-in-out 0s;
transition: all 0.3s ease-in-out 0s;
}
.mind-post_content a:hover:before {
visibility: visible;
-webkit-transform: scaleX(1);
transform: scaleX(1);
}*/
.mind-post_sidebar {
padding: 0 20px;
background-color: rgb(30, 30, 30);
box-shadow: 0 0 3px rgb(0,0,0),0 3px 46px rgb(0,0,0);
height: 100%;
}
.mind-post_sidebar-content {
padding: 90px 0 10px;
position: sticky;
top: 0;
}
/* MEDIA QUERIES FOR RESPONSIVE DESIGN */
@media screen and (max-width: 1300px) {
.mind-post_main {
}
}
/* END MEDIA QUERIES */