You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
126 lines
2.2 KiB
126 lines
2.2 KiB
html,
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
|
|
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
|
|
height: 100%;
|
|
color: white;
|
|
background-color: #2c3e50;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
a:hover, .active{
|
|
color: lightskyblue;
|
|
box-shadow: #262626 0.2rem 0.2rem 0.3rem inset;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
main {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 10rem;
|
|
}
|
|
nav {
|
|
background-color: #2d2d2d;
|
|
position: -webkit-sticky;
|
|
position: sticky;
|
|
top: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-evenly;
|
|
padding-left: 3rem;
|
|
padding-right: 3rem;
|
|
height: 100vh;
|
|
box-shadow: #111111 0.3rem 0rem 1rem;
|
|
}
|
|
|
|
nav > a {
|
|
text-align: center;
|
|
border: #262626 solid 0.1rem;
|
|
border-radius: 1rem;
|
|
padding: 0.5rem;
|
|
box-shadow: #262626 0.2rem 0.2rem 0.3rem;
|
|
}
|
|
|
|
.social {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.categories {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-start;
|
|
gap: 0.5rem;
|
|
font-size: 12px;
|
|
margin: 0;
|
|
padding-bottom: 0.3rem;
|
|
padding-top: 1.3rem;
|
|
}
|
|
|
|
.post {
|
|
/*border: 0.2rem solid #BDC3C7;
|
|
border-top-right-radius: 5%;
|
|
border-top-left-radius: 5%;*/
|
|
padding-bottom: 0.3rem;
|
|
margin-right: 10rem;
|
|
}
|
|
|
|
.post > h1 {
|
|
width: 100%;
|
|
border: 0.1rem solid #34495E;
|
|
border-radius: 1.3rem;
|
|
border-bottom-left-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
color: #ECF0F1;
|
|
padding-left: 0.3rem;
|
|
padding-right: 0.3rem;
|
|
margin: 0;
|
|
text-align: center;
|
|
background-color: #34495E;
|
|
box-shadow: #111111 0.3rem 0.3rem 0.3rem;
|
|
}
|
|
|
|
.postList {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2rem;
|
|
align-content: center;
|
|
}
|
|
|
|
.postContent {
|
|
padding-left: 0.6rem;
|
|
padding-right: 0.6rem;
|
|
margin: 0;
|
|
border: 0.1rem solid #34495E;
|
|
box-shadow: #111111 0.3rem 0.3rem 0.3rem, #111111 0.1rem 0 0.3rem inset;
|
|
}
|
|
|
|
.date {
|
|
font-size: small;
|
|
padding-top: 0.3rem;
|
|
color: #95A5A6;
|
|
text-align: right;
|
|
}
|
|
|
|
.postParagraph {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
html {
|
|
color-scheme: dark;
|
|
}
|
|
body {
|
|
color: white;
|
|
background-color: #2c3e50;
|
|
}
|
|
} |