176 lines
2.8 KiB
CSS
176 lines
2.8 KiB
CSS
/* PAGE STYLES */
|
|
@import url(https://cdn.jsdelivr.net/gh/tonsky/FiraCode@1.206/distr/fira_code.css);
|
|
|
|
/* --> BASE STYLES <-- */
|
|
body {
|
|
font-family: 'fira code', monospace;
|
|
font-size: 19px;
|
|
line-height: 24px;
|
|
color: #1e1e3cff;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
a, a:visited {
|
|
color: #1e1e3cff;
|
|
padding-bottom: 2px;
|
|
text-decoration: none;
|
|
border-bottom: 1px #1e1e3c50 dashed;
|
|
transition: color ease 0.5s, border ease 0.2s;
|
|
}
|
|
|
|
a:hover {
|
|
border-bottom: 1px #1e1e3cff solid;
|
|
transition: color ease 0.5s, border ease 0.2s;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
hr {
|
|
border-bottom: thin dotted grey;
|
|
border-top: none;
|
|
border-left: none;
|
|
border-right: none;
|
|
}
|
|
|
|
/* --> LISTS <-- */
|
|
ul {
|
|
list-style: none;
|
|
margin-left: 16px;
|
|
padding-left: 0;
|
|
}
|
|
|
|
li {
|
|
padding: 0.2em 0 0.2em 1em;
|
|
text-indent: -0.5em;
|
|
}
|
|
|
|
li:before {
|
|
content: "▸";
|
|
padding-right: 16px;
|
|
}
|
|
|
|
/* --> NAVIGATION <-- */
|
|
nav {
|
|
margin: 23px 23px 8px;
|
|
}
|
|
|
|
nav>span {
|
|
font-size: 1.5em;
|
|
color: #1e1e3c33;
|
|
transition: color ease 0.5s;
|
|
}
|
|
|
|
nav>span:hover {
|
|
color: #1e1e3cff;
|
|
transition: color ease 0.1s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
nav>span.active {
|
|
color: #1e1e3cff;
|
|
transition: color 1s ease;
|
|
}
|
|
|
|
nav>span.active::after {
|
|
color: #1e1e3cff;
|
|
margin-left: 14px;
|
|
content: attr(data-link);
|
|
}
|
|
|
|
h1#menuItem {
|
|
position: absolute;
|
|
line-height: inherit;
|
|
bottom: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 33vw;
|
|
opacity: 0;
|
|
transform: translateY(100px);
|
|
transform-origin: bottom left;
|
|
transition: opacity ease-in-out 0.1s, transform ease-in-out 0.1s;
|
|
}
|
|
|
|
h1#menuItem.active {
|
|
opacity: 1 !important;
|
|
transform: translateY(-100px) !important;
|
|
}
|
|
|
|
/* --> MAINPAGE CONSTRUCTION <-- */
|
|
section.content {
|
|
margin: 0;
|
|
padding: 0;
|
|
opacity: 0;
|
|
max-height: 0px;
|
|
overflow: hidden;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
section.content.visible {
|
|
margin: 20px 67px;
|
|
opacity: 1;
|
|
height: inherit;
|
|
overflow: inherit;
|
|
}
|
|
|
|
section.content ul.subMenu {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none !important;
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
section.content ul.subMenu li {
|
|
border-left: thin solid #d2d2d8;
|
|
padding: 5px 10px;
|
|
}
|
|
|
|
section.content ul.subMenu li:before {
|
|
content: "";
|
|
padding-right: 16px;
|
|
}
|
|
|
|
section.content ul.subMenu li:hover {
|
|
background: #d2d2d8;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* --> SUBCONTENT CONSTRUCTION <-- */
|
|
section.content.page {
|
|
max-width: 1960px;
|
|
display: grid;
|
|
grid-template-columns: repeat(5, 1fr);
|
|
grid-template-rows: repeat(16, 1fr);
|
|
grid-gap: 24px;
|
|
}
|
|
|
|
section.page h1 {
|
|
font-size: 8em;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
line-height: 0.95em;
|
|
}
|
|
|
|
section.content.page div.imgFeat {
|
|
grid-column: span 5;
|
|
grid-row: 1 / 4:
|
|
}
|
|
|
|
section.content.page section.imgs {
|
|
grid-column: 4 / span 2;
|
|
grid-row: 2:
|
|
}
|
|
|
|
section.content.page section.imgs>img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
section.content.page section.text {
|
|
grid-column: 1 / span 3;
|
|
grid-row: 2;
|
|
}
|