blog.nek0.eu/site/css/default.css

455 lines
9 KiB
CSS
Raw Normal View History

2016-03-01 07:03:27 +00:00
body {
2019-09-02 19:33:18 +00:00
color: black;
font-size: 14pt;
font-family: 'Didact Gothic';
font-weight: normal;
font-style: normal;
-webkit-font-smoothing: antialiased;
margin: 0;
2019-10-13 08:10:56 +00:00
display: grid;
grid-template-columns: [navcol] 300px [maincol] 1fr;
grid-template-rows: [headerrow] 90px [mainrow] 1fr [footerrow] auto;
grid-template-areas:
"header header"
"nav main"
"footer footer";
justify-content: stretch;
align-content: stretch;
min-height: 100vh;
2016-03-01 07:03:27 +00:00
}
2019-09-09 17:44:48 +00:00
body::after {
content: "";
2019-09-25 16:16:36 +00:00
opacity: 0.2;
2019-09-09 17:44:48 +00:00
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-image: url(/images/brain.svg);
background-size: contain;
background-repeat: no-repeat;
background-attachment: fixed;
background-origin: padding-box;
background-clip: content-box;
background-position: center;
z-index: -1;
2019-09-09 17:44:48 +00:00
}
2020-07-08 02:31:05 +00:00
a {
2019-09-02 19:33:18 +00:00
text-decoration: none;
2016-03-01 07:03:27 +00:00
}
a:link {
2019-09-02 19:33:18 +00:00
color: green;
2016-03-01 07:03:27 +00:00
}
a:visited {
2019-09-02 19:33:18 +00:00
color: darkgreen;
2016-03-01 07:03:27 +00:00
}
2018-07-22 22:05:39 +00:00
img, video {
2019-09-02 19:33:18 +00:00
margin: 10px;
width: 66%;
max-width: 500px;
2016-03-01 07:03:27 +00:00
}
hr {
2019-09-02 19:33:18 +00:00
color: black;
border: 0;
background-color: black;
height: 2px;
2020-07-08 02:31:05 +00:00
margin: 5px 0 5px;
2016-03-01 07:03:27 +00:00
}
header {
2019-09-02 19:33:18 +00:00
padding: 20px;
2019-10-13 08:10:56 +00:00
grid-area: header;
2016-03-01 07:03:27 +00:00
}
header a {
2019-09-02 19:33:18 +00:00
color: darkgreen;
font-size: 18pt;
font-weight: bold;
2016-03-01 07:03:27 +00:00
}
header a:visited {
2019-09-02 19:33:18 +00:00
color: darkgreen;
2016-03-01 07:03:27 +00:00
}
2020-07-08 02:31:05 +00:00
header > hr {
margin-top: 0px;
}
2016-03-01 07:03:27 +00:00
article {
2019-09-02 19:33:18 +00:00
text-align: left;
2019-10-13 08:10:56 +00:00
padding: 0 20px 0;
2019-09-02 19:33:18 +00:00
overflow: auto;
2019-09-10 22:25:47 +00:00
max-width: 70em;
2019-10-13 08:10:56 +00:00
grid-area: main;
2016-03-01 07:03:27 +00:00
}
article a:hover{
2019-09-02 19:33:18 +00:00
text-decoration: underline;
2016-03-01 07:03:27 +00:00
}
article ul{
2019-09-02 19:33:18 +00:00
list-style: none;
2016-03-01 07:03:27 +00:00
}
article li:before {
2019-09-02 19:33:18 +00:00
display: inline-block;
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xMzYzIDg3N2wtNzQyIDc0MnEtMTkgMTktNDUgMTl0LTQ1LTE5bC0xNjYtMTY2cS0xOS0xOS0xOS00NXQxOS00NWw1MzEtNTMxLTUzMS01MzFxLTE5LTE5LTE5LTQ1dDE5LTQ1bDE2Ni0xNjZxMTktMTkgNDUtMTl0NDUgMTlsNzQyIDc0MnExOSAxOSAxOSA0NXQtMTkgNDV6Ii8+PC9zdmc+);
background-repeat: no-repeat;
background-size: contain;
content: "";
width: 1.5ex;
height: 1.5ex;
2016-03-01 07:03:27 +00:00
}
article li {
2019-09-02 19:33:18 +00:00
text-indent: -2ex;
margin-left: 1.5ex;
2016-03-01 07:03:27 +00:00
}
2018-09-08 20:31:48 +00:00
.liberapay {
2019-09-02 19:33:18 +00:00
height: 45px;
display: inline-block;
vertical-align: middle;
2016-05-09 20:09:13 +00:00
}
2020-07-08 02:31:05 +00:00
.folders {
list-style: none;
margin: 0px;
}
.rider {
display: inline-block;
border: 1px solid black;
border-bottom: none;
border-radius: 5px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
padding: 10px
}
.bloglink {
background-color: white;
color: black;
font-family: 'Didact Gothic';
font-weight: normal;
font-style: normal;
}
.bloglink > a, .bloglink > a:link, .bloglink > a:visited {
color: black;
text-decoration: none;
}
.portfoliolink {
background-color: #161612;
font-family: 'Grabstein Grotesk';
font-weight: normal;
font-style: normal;
}
.portfoliolink > a, .portfoliolink > a:link, .portfoliolink > a:visited {
color: #efffbe;
text-decoration: none;
}
2016-04-21 23:21:42 +00:00
.sidebar {
2019-10-13 08:10:56 +00:00
grid-area: nav;
2016-03-01 07:03:27 +00:00
}
2018-07-25 13:53:14 +00:00
.navigation, .tags, .plugs {
2019-09-02 19:33:18 +00:00
background-color: rgba(0,0,0,0.1);
background: rgba(0,0,0,0.1);
border-radius: 5px;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
padding: 20px 20px 20px 20px;
margin-top: 0;
margin-bottom: 10px;
text-align: center;
2016-03-01 07:03:27 +00:00
}
2018-07-25 13:53:14 +00:00
.tags, .plugs {
2019-09-02 19:33:18 +00:00
text-align: center;
2016-03-01 07:03:27 +00:00
}
2018-08-18 08:47:25 +00:00
.tags p, .plugs p {
2019-09-02 19:33:18 +00:00
text-align: left;
margin: 0;
2018-07-25 23:04:15 +00:00
}
2019-09-02 19:33:18 +00:00
.navigation {
columns: 2;
2016-03-01 07:03:27 +00:00
}
2016-04-21 23:21:42 +00:00
nav ul, .plugs ul {
2019-09-02 19:33:18 +00:00
list-style: none;
margin-left: 0px;
2016-03-01 07:03:27 +00:00
}
nav li a:link {
2019-09-02 19:33:18 +00:00
color: darkgreen;
font-size: 16pt;
font-weight: bold;
margin: 0;
text-decoration: none;
text-transform: uppercase;
2016-03-01 07:03:27 +00:00
}
nav li a:visited {
2019-09-02 19:33:18 +00:00
color: darkgreen;
2016-03-01 07:03:27 +00:00
}
2016-04-21 23:21:42 +00:00
.plugs ul {
2019-09-02 19:33:18 +00:00
padding: 0;
margin: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
2016-04-21 23:21:42 +00:00
}
.plugs li {
2019-09-02 19:33:18 +00:00
display: inline-block;
2016-04-21 23:21:42 +00:00
}
.plugs li a {
2019-09-02 19:33:18 +00:00
display: inline-block;
height: 40px;
2016-04-21 23:21:42 +00:00
}
.plugs svg {
2019-09-02 19:33:18 +00:00
width: 40px;
height: 40px;
2016-04-21 23:21:42 +00:00
}
2016-03-01 07:03:27 +00:00
footer {
2019-09-02 19:33:18 +00:00
color: #555;
font-size: 12pt;
text-align: right;
2019-10-13 08:10:56 +00:00
padding: 0 20px 5px;
grid-area: footer;
2019-09-10 22:12:32 +00:00
}
footer ul {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-evenly;
align-items: center;
list-style: none;
padding: 0;
margin: 0;
2016-03-01 07:03:27 +00:00
}
2019-09-10 22:12:32 +00:00
footer ul li {
display: inline-block;
text-align: center;
width: auto;
padding: 0;
margin: 0;
2016-03-01 07:03:27 +00:00
}
footer span img {
2019-09-02 19:33:18 +00:00
vertical-align: bottom;
2016-03-01 07:03:27 +00:00
}
footer img {
2019-09-02 19:33:18 +00:00
float: none;
margin: 0;
width: 16px;
2016-03-01 07:03:27 +00:00
}
pre {
2019-09-02 19:33:18 +00:00
border: dashed 1px #000000;
border-radius: 5px;
background-color: rgba(0, 0, 0, 0.05);
background: rgba(0, 0, 0, 0.05);
padding: 10px;
2016-03-01 07:03:27 +00:00
}
pre code {
2019-09-02 19:33:18 +00:00
border: none;
font-size: 14pt;
background: transparent;
background-color: transparent;
2016-03-01 07:03:27 +00:00
}
pre code:before {
2019-09-02 19:33:18 +00:00
content: attr(class);
position: relative;
float: right;
display: block;
color: white;
font-weight: bolder;
text-shadow: 0px 0px 3px black;
2016-03-01 07:03:27 +00:00
}
code {
2019-09-02 19:33:18 +00:00
font-size: 14pt;
background: rgba(0, 0, 0, 0.05);
background-color: rgba(0, 0, 0, 0.05);
border: dashed 1px #000000;
border-radius: 5px;
2016-03-01 07:03:27 +00:00
}
h1 {
2019-09-02 19:33:18 +00:00
font-size: 24pt;
2016-03-01 07:03:27 +00:00
}
h2 {
2019-09-02 19:33:18 +00:00
font-size: 20pt;
2016-03-01 07:03:27 +00:00
}
.bitcoin {
2019-09-02 19:33:18 +00:00
display: inline-block;
margin-bottom: -2px;
fill: currentColor;
2016-03-01 07:03:27 +00:00
}
.pagination {
2019-09-02 19:33:18 +00:00
display: inline-block;
width: 100%;
2016-03-01 07:03:27 +00:00
}
.left, .right {
2019-09-02 19:33:18 +00:00
float: left;
margin-left: 25%;
display: inline-block;
fill: currentColor;
2016-03-01 07:03:27 +00:00
}
.left svg, .right svg {
2019-09-02 19:33:18 +00:00
margin-bottom: -3px;
margin-left: 0.8ex;
margin-right: 0.8ex;
2016-03-01 07:03:27 +00:00
}
.info {
2019-09-02 19:33:18 +00:00
color: #555;
font-size: 14pt;
font-style: italic;
2016-03-01 07:03:27 +00:00
}
2018-08-02 10:52:22 +00:00
.sidebar a {
2019-09-02 19:33:18 +00:00
display: inline-block;
padding: 5px;
transition: 0.5s;
2018-07-25 13:53:14 +00:00
}
2018-08-02 10:52:22 +00:00
.sidebar a:hover {
2019-09-02 19:33:18 +00:00
background-color: white;
border-radius: 5px;
transition: 0.5s;
2018-07-25 13:53:14 +00:00
}
.tags a:before {
2019-09-02 19:33:18 +00:00
display: inline-block;
width: 2ex;
height: 2ex;
content: "";
margin-right: 0.5ex;
background-repeat: no-repeat;
background-size: contain;
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogIC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AyNjcsOTYwIDMyMCw5NjAgcSA1MywwIDkwLjUsMzcuNSBRIDQ0OCwxMDM1IDQ0OCwxMDg4IHogTSAxNTE1LDUxMiBxIDAsLTUzIC0zNywtOTAgTCA5ODcsLTcwIHEgLTM5LC0zNyAtOTEsLTM3IC01MywwIC05MCwzNyBMIDkxLDY0NiBRIDUzLDY4MyAyNi41LDc0NyAwLDgxMSAwLDg2NCB2IDQxNiBxIDAsNTIgMzgsOTAgMzgsMzggOTAsMzggaCA0MTYgcSA1MywwIDExNywtMjYuNSA2NCwtMjYuNSAxMDIsLTY0LjUgbCA3MTUsLTcxNCBxIDM3LC0zOSAzNywtOTEgeiBtIDM4NCwwIHEgMCwtNTMgLTM3LC05MCBMIDEzNzEsLTcwIHEgLTM5LC0zNyAtOTEsLTM3IC0zNiwwIC01OSwxNCAtMjMsMTQgLTUzLDQ1IGwgNDcwLDQ3MCBxIDM3LDM3IDM3LDkwIDAsNTIgLTM3LDkxIGwgLTcxNSw3MTQgcSAtMzgsMzggLTEwMiw2NC41IC02NCwyNi41IC0xMTcsMjYuNSBoIDIyNCBxIDUzLDAgMTE3LC0yNi41IDY0LC0yNi41IDEwMiwtNjQuNSBsIDcxNSwtNzE0IHEgMzcsLTM5IDM3LC05MSB6IiAvPgogIDwvZz4KPC9zdmc+Cg==);
2018-07-25 13:53:14 +00:00
}
2016-03-01 07:03:27 +00:00
.wrapper {
2019-09-02 19:33:18 +00:00
flex: 1;
2016-03-01 07:03:27 +00:00
}
.feed{
2019-09-02 19:33:18 +00:00
display: inline-block;
margin-bottom: -2px;
fill: currentColor;
2016-03-01 07:03:27 +00:00
}
.scripture {
2019-09-02 19:33:18 +00:00
/* change font */
font-family: 'Inknut Antiqua';
color: black;
font-size: 12pt;
font-weight: normal;
font-style: normal;
-webkit-font-smoothing: antialiased;
/* box shadow */
box-shadow: 5px 5px 10px #a1a1a1;
/* bg-colour */
background-color: #faf5eb;
/* adjust line height */
line-height: 200%;
/* margin */
margin: 30px;
/* padding */
padding: 50px;
}
2017-08-10 01:58:44 +00:00
.scripture p {
2019-09-02 19:33:18 +00:00
margin-top: 25px;
2017-08-10 01:58:44 +00:00
}
.with-initial > p:first-child::first-letter {
2019-09-02 19:33:18 +00:00
font-family: 'Maximilian Antiqua Initialen';
color: black;
font-size: 65pt;
font-weight: normal;
font-style: normal;
-webkit-font-smoothing: antialiased;
float: left;
margin-top: 0.1ex;
margin-right: 5px;
}
2018-08-18 09:02:40 +00:00
.postlist {
2019-09-02 19:33:18 +00:00
columns: 2;
2018-08-18 09:02:40 +00:00
}
2018-12-16 17:16:55 +00:00
@media screen and (max-width: 1100px){
2019-10-13 08:10:56 +00:00
body {
display: block;
}
2019-09-02 19:33:18 +00:00
.sidebar{
position: relative;
width: auto;
height: auto;
text-align: center;
}
2019-09-09 13:21:33 +00:00
2019-09-02 19:33:18 +00:00
.navigation{
border-radius: 5px;
columns: auto;
}
2019-09-09 13:21:17 +00:00
.postlist {
columns: 1;
}
2019-09-02 19:33:18 +00:00
.plugs, .tags{
display: none;
}
2019-09-09 13:21:33 +00:00
2019-09-02 19:33:18 +00:00
nav ul{
text-align: center;
padding-left: 0;
}
2019-09-09 13:21:33 +00:00
2019-09-02 19:33:18 +00:00
nav li{
display: inline-block;
}
2019-09-09 13:21:33 +00:00
2019-09-02 19:33:18 +00:00
article {
margin: 0;
}
2019-09-09 13:21:33 +00:00
2019-09-02 19:33:18 +00:00
img {
2019-09-09 13:21:33 +00:00
float: right;
margin: 10px;
padding-left: 100%;
width: 230px;
2019-09-02 19:33:18 +00:00
}
2016-03-01 07:03:27 +00:00
}