112 lines
2.4 KiB
CSS
112 lines
2.4 KiB
CSS
|
* {
|
||
|
box-sizing: border-box; }
|
||
|
|
||
|
a {
|
||
|
color: #ff8282;
|
||
|
text-decoration: none; }
|
||
|
|
||
|
a:hover {
|
||
|
text-decoration: underline; }
|
||
|
|
||
|
body {
|
||
|
background: #28283c;
|
||
|
color: #f0f0ff;
|
||
|
margin: 0;
|
||
|
font-family: Monaco, Lucida Console, monospace;
|
||
|
display: grid; }
|
||
|
|
||
|
.container {
|
||
|
width: 100%;
|
||
|
max-width: 1140px;
|
||
|
margin: 0 auto; }
|
||
|
|
||
|
nav {
|
||
|
background: #3c3c5a; }
|
||
|
nav .container {
|
||
|
display: flex;
|
||
|
align-items: center; }
|
||
|
nav .container .website-name a {
|
||
|
color: whitesmoke;
|
||
|
text-decoration: none;
|
||
|
background: #ff8282;
|
||
|
padding: 5px 10px;
|
||
|
border-radius: 20px;
|
||
|
text-shadow: #ff6464 2px 2px; }
|
||
|
nav .container .website-nav {
|
||
|
margin-left: auto; }
|
||
|
nav .container .website-nav ul {
|
||
|
display: flex;
|
||
|
padding: 0; }
|
||
|
nav .container .website-nav li {
|
||
|
list-style-type: none;
|
||
|
padding: 10px;
|
||
|
padding-left: 20px; }
|
||
|
nav .container .website-nav a {
|
||
|
color: whitesmoke;
|
||
|
text-decoration: none; }
|
||
|
|
||
|
footer {
|
||
|
background: #1e1e2d;
|
||
|
color: #c8c8e6;
|
||
|
margin-top: 100px; }
|
||
|
footer .container {
|
||
|
display: flex;
|
||
|
align-items: center; }
|
||
|
|
||
|
.website-subnav {
|
||
|
margin-left: auto; }
|
||
|
.website-subnav ul {
|
||
|
display: flex;
|
||
|
padding: 0; }
|
||
|
.website-subnav li {
|
||
|
list-style-type: none;
|
||
|
padding: 10px;
|
||
|
padding-left: 20px; }
|
||
|
.website-subnav a {
|
||
|
color: #c8c8e6; }
|
||
|
|
||
|
header {
|
||
|
text-align: center;
|
||
|
margin: 100px 0; }
|
||
|
header h1 {
|
||
|
font-size: 2em; }
|
||
|
|
||
|
.section-articles {
|
||
|
margin: 20px 0;
|
||
|
display: grid;
|
||
|
grid-template-columns: repeat(2, 1fr);
|
||
|
grid-gap: 1rem; }
|
||
|
.section-articles a {
|
||
|
color: white;
|
||
|
text-decoration: none; }
|
||
|
.section-articles article {
|
||
|
background: #3c3c5a;
|
||
|
color: white;
|
||
|
padding: 20px;
|
||
|
border-radius: 5px;
|
||
|
display: flex;
|
||
|
flex-flow: column;
|
||
|
height: max-content;
|
||
|
transition: background .2s; }
|
||
|
.section-articles article img {
|
||
|
order: -1;
|
||
|
max-width: calc(100% + 40px);
|
||
|
border-radius: 5px;
|
||
|
margin: -20px -20px 20px -20px;
|
||
|
background: #505078;
|
||
|
object-fit: cover;
|
||
|
max-height: 250px; }
|
||
|
.section-articles article h1 {
|
||
|
margin-top: 0px; }
|
||
|
.section-articles article a {
|
||
|
color: white; }
|
||
|
.section-articles article a:hover {
|
||
|
text-decoration: underline; }
|
||
|
.section-articles article .meta {
|
||
|
margin: 0; }
|
||
|
.section-articles article .author {
|
||
|
font-style: italic;
|
||
|
color: #c8c8e6; }
|
||
|
.section-articles article:hover {
|
||
|
background: #464669; }
|