5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-11-10 09:00:26 +00:00
yggdrasil-network.github.io/assets/css/style.scss

158 lines
2.2 KiB
SCSS
Raw Normal View History

2018-03-06 14:02:44 +00:00
---
2018-07-25 04:44:32 +00:00
tags: dontlink
2018-03-06 14:02:44 +00:00
---
@import "jekyll-theme-minimal";
2018-10-16 15:00:15 +00:00
body {
2018-10-16 15:04:02 +00:00
color: #333333;
2018-10-16 15:00:15 +00:00
}
2018-10-29 00:11:42 +00:00
div.wrapper {
display: inline-flex;
margin-left: none;
margin-right: none;
width: 100%;
}
div.wrapper section p a code {
color: rgb(38, 124, 185);
}
2018-03-06 14:02:44 +00:00
section {
2018-10-29 00:16:54 +00:00
flex: auto;
2018-04-22 21:30:49 +00:00
max-width: 100vw;
2019-08-05 17:03:40 +00:00
margin-right: 20px;
@media screen and (max-width: 768px) {
margin-top: 20px;
2019-08-05 17:03:40 +00:00
border: 0;
float: none;
position: relative;
flex: initial;
word-break: break-word;
table {
thead {
th {
min-width: 90px;
}
}
}
2019-08-05 17:03:40 +00:00
}
2018-03-06 14:02:44 +00:00
}
header {
2018-10-29 00:16:54 +00:00
flex: initial;
2018-03-06 14:02:44 +00:00
position: relative;
2018-03-06 17:55:11 +00:00
margin-right: 1em;
@media screen and (max-width: 768px) {
> p {
padding-right: 20%;
}
2019-08-05 17:03:40 +00:00
font-size: 0;
margin: 0;
padding: 0;
2019-08-05 17:03:40 +00:00
&:before {
content:'\2261';
display: block;
position: absolute;
left: 0px;
font-size: 40px;
top: -38px;
2019-08-05 17:03:40 +00:00
}
img {
display: none;
}
> a {
position: absolute;
top: -23px;
left: 50px;
}
a {
&:hover {
font-weight: initial;
}
}
2019-08-05 17:03:40 +00:00
&:hover {
padding: 0;
font-size: initial;
> a {
pointer-events: none;
position: initial;
}
position: fixed;
height: 100%;
overflow-y: scroll;
2019-08-05 17:03:40 +00:00
background-color: white;
top: 0px;
left: 0;
right: 0;
bottom: 0;
2019-08-05 17:03:40 +00:00
width: 100%;
z-index: 100;
padding-top: 20px;
2019-08-05 17:03:40 +00:00
padding-bottom: 50px;
padding-left: 20px;
2019-08-05 17:03:40 +00:00
p {
a {
font-size: 24px;
padding-top: 2px;
padding-bottom: 2px;
display: block;
}
br {
display: none;
}
}
&:before {
display: none;
}
}
}
2018-03-06 14:02:44 +00:00
}
2018-10-19 08:08:28 +00:00
pre {
2018-10-19 08:16:14 +00:00
overflow-x: scroll;
2018-10-11 09:23:19 +00:00
}
2018-05-08 23:24:30 +00:00
pre.highlight {
2018-05-08 23:26:51 +00:00
width: auto;
2018-07-13 11:50:27 +00:00
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
2018-05-08 23:24:30 +00:00
white-space: -o-pre-wrap;
word-wrap: break-word;
}
2018-07-13 11:50:27 +00:00
div.blogpost {
display: grid;
grid-gap: 10px;
2018-07-13 12:28:28 +00:00
grid-template-columns: 100px minmax(200px, 1fr);
2018-07-13 12:11:43 +00:00
margin-bottom: 1em;
2018-07-13 11:50:27 +00:00
}
2018-07-13 11:58:22 +00:00
div.blogpost div#date div#day {
2018-07-13 12:02:41 +00:00
font-size: 2.25em;
2018-07-13 11:58:22 +00:00
text-align: center;
2018-07-13 12:28:28 +00:00
margin-top: 0.1em;
2018-07-13 11:50:27 +00:00
}
2018-07-13 11:58:22 +00:00
div.blogpost div#date div#month {
2018-07-13 12:02:41 +00:00
font-size: 0.6em;
2018-07-13 11:58:22 +00:00
text-align: center;
2018-07-13 12:02:41 +00:00
text-transform: uppercase;
2018-07-13 12:09:43 +00:00
position: relative;
2018-07-13 12:28:28 +00:00
top: -1em;
2018-07-13 12:02:41 +00:00
}
div.blogpost div#overview div#title {
2018-07-13 12:09:43 +00:00
margin-top: 0.75em;
2018-07-13 11:50:27 +00:00
}
2018-07-13 11:52:44 +00:00
2018-07-13 11:58:22 +00:00
div.blogpost div#overview div#excerpt {
2018-07-13 12:09:43 +00:00
padding-top: 0.2em;
2018-07-13 11:52:44 +00:00
color: #444444;
2018-07-13 11:54:41 +00:00
text-decoration: none;
2018-07-13 11:58:22 +00:00
font-size: 1em;
2018-07-13 11:52:44 +00:00
}