189 lines
4.3 KiB
Text
189 lines
4.3 KiB
Text
* {
|
|
box-sizing: border-box; }
|
|
|
|
a {
|
|
color: #ff8282;
|
|
text-decoration: none; }
|
|
|
|
a:hover {
|
|
text-decoration: underline; }
|
|
|
|
html {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #ff8282 #3c3c5a; }
|
|
|
|
body {
|
|
background: #28283c;
|
|
color: #f0f0ff;
|
|
margin: 0;
|
|
font-family: Monaco, Lucida Console, monospace;
|
|
display: grid;
|
|
overflow-x: hidden; }
|
|
|
|
.container {
|
|
width: calc(100% - 40px);
|
|
max-width: 1140px;
|
|
margin: 0 auto; }
|
|
|
|
main {
|
|
width: 100vw; }
|
|
|
|
nav {
|
|
background: #3c3c5a;
|
|
white-space: nowrap;
|
|
overflow-x: auto; }
|
|
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 0 10px 30px; }
|
|
nav .container .website-nav a {
|
|
color: whitesmoke;
|
|
text-decoration: none; }
|
|
|
|
@media (max-width: 600px) {
|
|
nav .container {
|
|
max-width: none; }
|
|
nav .container .website-nav {
|
|
padding: 0 20px; } }
|
|
|
|
header {
|
|
text-align: center;
|
|
margin: 150px 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: grid;
|
|
height: max-content;
|
|
grid-template-columns: 120px 1fr;
|
|
grid-template-areas: "img h1" "img p";
|
|
transition: background .2s; }
|
|
.section-articles article img {
|
|
object-fit: cover;
|
|
height: 180px;
|
|
width: 120px;
|
|
border-radius: 5px;
|
|
border: 0px solid #28283c;
|
|
grid-area: img;
|
|
margin: -20px; }
|
|
.section-articles article h1 {
|
|
margin: 0px;
|
|
grid-area: h1; }
|
|
.section-articles article .meta {
|
|
margin: 0;
|
|
grid-area: p; }
|
|
.section-articles article .author {
|
|
font-style: italic;
|
|
color: #c8c8e6; }
|
|
.section-articles article:hover {
|
|
background: #464669; }
|
|
|
|
@media (max-width: 900px) {
|
|
.section-articles {
|
|
grid-template-columns: repeat(1, 1fr); } }
|
|
|
|
.section-projects {
|
|
margin: 20px 0;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
grid-gap: 1rem; }
|
|
.section-projects a {
|
|
color: white;
|
|
text-decoration: none; }
|
|
.section-projects article {
|
|
background: #3c3c5a;
|
|
color: white;
|
|
padding: 20px;
|
|
border-radius: 5px;
|
|
display: flex;
|
|
flex-flow: column;
|
|
height: max-content;
|
|
transition: background .2s; }
|
|
.section-projects article img {
|
|
order: -1;
|
|
max-width: calc(100% + 40px);
|
|
border-radius: 5px;
|
|
margin: -20px -20px 20px -20px;
|
|
background: #505078;
|
|
object-fit: cover;
|
|
max-height: 170px; }
|
|
.section-projects article h1 {
|
|
margin-top: 0; }
|
|
.section-projects article .meta {
|
|
margin: 0; }
|
|
.section-projects article .status {
|
|
font-style: italic;
|
|
color: #c8c8e6; }
|
|
.section-projects article:hover {
|
|
background: #464669; }
|
|
|
|
@media (max-width: 900px) {
|
|
.section-projects {
|
|
grid-template-columns: repeat(2, 1fr); } }
|
|
|
|
@media (max-width: 600px) {
|
|
.section-projects {
|
|
grid-template-columns: repeat(1, 1fr); } }
|
|
|
|
footer {
|
|
background: #1e1e2d;
|
|
color: #c8c8e6;
|
|
margin-top: 100px;
|
|
white-space: nowrap;
|
|
overflow-x: auto; }
|
|
footer .container {
|
|
display: flex;
|
|
align-items: center; }
|
|
footer .container .website-subnav {
|
|
margin-left: auto; }
|
|
footer .container .website-subnav ul {
|
|
display: flex;
|
|
padding: 0; }
|
|
footer .container .website-subnav li {
|
|
list-style-type: none;
|
|
padding: 10px 0 10px 30px; }
|
|
footer .container .website-subnav a {
|
|
color: #c8c8e6; }
|
|
|
|
footer::after {
|
|
content: '';
|
|
background: #1e1e2d;
|
|
position: fixed;
|
|
height: 10000px;
|
|
width: 100vw;
|
|
overflow: hidden; }
|
|
|
|
@media (max-width: 600px) {
|
|
footer .container {
|
|
max-width: none; }
|
|
footer .container .website-version {
|
|
order: 2;
|
|
padding: 10px 20px; }
|
|
footer .container .website-subnav li {
|
|
padding: 10px 30px 10px 0; } }
|