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

442 lines
9 KiB
CSS
Raw Normal View History

2023-04-10 07:54:53 +00:00
:root {
2023-04-10 13:27:11 +00:00
--background-color: darkslategrey;
2023-04-10 20:11:09 +00:00
--text-color: silver;
--link-color: limegreen;
--link-visited-color: lightskyblue;
2023-04-10 07:54:53 +00:00
}
2016-03-01 07:03:27 +00:00
body {
2023-04-10 13:27:11 +00:00
color: var(--text-color);
2023-04-10 07:54:53 +00:00
font-size: 12pt;
font-family: 'Tippa';
2019-09-02 19:33:18 +00:00
font-weight: normal;
font-style: normal;
margin: 0;
2019-10-13 08:10:56 +00:00
display: grid;
2023-04-10 07:54:53 +00:00
grid-template-columns: [leftcol] 1fr [maincol] auto [rightcol] 1fr;
2023-04-10 13:27:11 +00:00
grid-template-rows: [headerrow] 1fr [mainrow] auto [plugrow] 1fr [extrasrow] 1fr;
2019-10-13 08:10:56 +00:00
grid-template-areas:
2023-04-10 07:54:53 +00:00
"inlinks logo outlinks"
"main main main"
2023-04-10 13:27:11 +00:00
"plugs plugs plugs"
"extras extras extras";
2019-10-13 08:10:56 +00:00
justify-content: stretch;
align-content: stretch;
min-height: 100vh;
2023-04-10 13:27:11 +00:00
background-color: var(--background-color);
2023-04-10 20:11:09 +00:00
box-shadow: inset 0 0 25vh #000000;
box-sizing: border-box;
2016-03-01 07:03:27 +00:00
}
2019-09-09 17:44:48 +00:00
body::after {
content: "";
2020-08-22 05:53:10 +00:00
opacity: 0.1;
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;
2023-04-10 13:27:11 +00:00
z-index: -2;
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 {
2023-04-10 07:54:53 +00:00
color: var(--link-color);
2016-03-01 07:03:27 +00:00
}
a:visited {
2023-04-10 07:54:53 +00:00
color: var(--link-visited-color);
2016-03-01 07:03:27 +00:00
}
2018-07-22 22:05:39 +00:00
img, video {
2023-04-10 13:27:11 +00:00
padding: 10px;
2019-09-02 19:33:18 +00:00
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;
2023-04-10 13:27:11 +00:00
height: 3px;
margin: 20px 10% 20px;
2016-03-01 07:03:27 +00:00
}
header {
2019-09-02 19:33:18 +00:00
padding: 20px;
2016-03-01 07:03:27 +00:00
}
header a {
2023-04-10 07:54:53 +00:00
color: var(--link-color);
2019-09-02 19:33:18 +00:00
font-size: 18pt;
font-weight: bold;
2016-03-01 07:03:27 +00:00
}
header a:visited {
2023-04-10 07:54:53 +00:00
color: var(--link-color);
2016-03-01 07:03:27 +00:00
}
article {
2019-09-02 19:33:18 +00:00
text-align: left;
2023-04-10 13:27:11 +00:00
padding: 0 0 5px;
2023-04-10 07:54:53 +00:00
margin: 0 auto 0;
2019-09-02 19:33:18 +00:00
overflow: auto;
2019-10-13 08:10:56 +00:00
grid-area: main;
2023-04-10 07:54:53 +00:00
max-width: 80em;
2023-04-10 20:11:09 +00:00
line-height: 1.5;
2016-03-01 07:03:27 +00:00
}
2023-04-10 13:27:11 +00:00
article hr {
margin-top: 100px;
}
article a:hover, .extras 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
}
2023-04-10 20:11:09 +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;
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
}
2023-04-10 07:54:53 +00:00
.inlinks {
grid-area: inlinks;
2023-04-10 13:27:11 +00:00
}
.inlinks ul {
2023-04-10 07:54:53 +00:00
justify-content: flex-end;
2020-07-08 02:31:05 +00:00
}
2023-04-10 07:54:53 +00:00
.logo {
grid-area: logo;
text-align: center;
2020-07-08 02:31:05 +00:00
}
2023-04-10 07:54:53 +00:00
.outlinks {
grid-area: outlinks;
2023-04-10 13:27:11 +00:00
}
.outlnks ul {
2023-04-10 07:54:53 +00:00
justify-content: flex-start;
2020-07-08 02:31:05 +00:00
}
2023-04-10 07:54:53 +00:00
.plugs {
grid-area: plugs;
2020-07-08 02:31:05 +00:00
}
2023-04-10 07:54:53 +00:00
.extras {
grid-area: extras;
2022-07-26 06:43:07 +00:00
}
2023-04-10 13:27:11 +00:00
.plugs, .extras {
padding : 20px;
color: black;
}
.inlinks, .outlinks, .tags, .plugs, .extras {
2023-04-10 07:54:53 +00:00
padding: 20px 20px 20px 20px;
2023-04-10 13:27:11 +00:00
line-height: 100%;
2022-07-26 06:43:07 +00:00
}
2023-04-10 07:54:53 +00:00
.logo img {
width: 200px;
2016-03-01 07:03:27 +00:00
}
2023-04-10 13:27:11 +00:00
.tags p, .plugs p, article p {
2019-09-02 19:33:18 +00:00
text-align: left;
margin: 0;
2018-07-25 23:04:15 +00:00
}
2023-04-10 13:27:11 +00:00
.inlinks ul, .outlinks ul, .plugs ul, .extras ul {
2019-09-02 19:33:18 +00:00
list-style: none;
2023-04-10 07:54:53 +00:00
margin: 0;
display: inline-block;
2023-04-10 13:27:11 +00:00
height: 100%;
2016-03-01 07:03:27 +00:00
}
2023-04-10 07:54:53 +00:00
.inlinks li a:link, .outlinks li a:link {
color: var(--link-color);
2019-09-02 19:33:18 +00:00
font-size: 16pt;
font-weight: bold;
margin: 0;
text-decoration: none;
text-transform: uppercase;
2016-03-01 07:03:27 +00:00
}
2023-04-10 07:54:53 +00:00
.inlinks li a:visited, .outlinks li a:visited {
color: var(--link-color);
2016-03-01 07:03:27 +00:00
}
2023-04-10 13:27:11 +00:00
.inlinks ul, .outlinks ul, .plugs, .extras, .plugs ul, .extras ul {
2019-09-02 19:33:18 +00:00
display: flex;
flex-direction: row;
2023-04-10 07:54:53 +00:00
align-items: center;
2016-04-21 23:21:42 +00:00
}
2023-04-10 13:27:11 +00:00
.inlinks li, .outlinks li {
2019-09-02 19:33:18 +00:00
display: inline-block;
2023-04-10 13:27:11 +00:00
margin: 0;
padding: 20px;
2016-04-21 23:21:42 +00:00
}
2023-04-10 07:54:53 +00:00
.plugs li a {
2019-09-02 19:33:18 +00:00
display: inline-block;
2016-04-21 23:21:42 +00:00
}
2023-04-10 13:27:11 +00:00
.plugs img {
2019-09-02 19:33:18 +00:00
width: 40px;
height: 40px;
2016-04-21 23:21:42 +00:00
}
2023-04-10 13:27:11 +00:00
.plugs, .extras {
padding: 0 40px 0;
margin: 0;
}
.plugs, .extras, .plugs ul, .extras ul {
2019-09-10 22:12:32 +00:00
list-style: none;
2023-04-10 13:27:11 +00:00
justify-content: space-evenly;
2019-09-10 22:12:32 +00:00
padding: 0;
2016-03-01 07:03:27 +00:00
}
2023-04-10 07:54:53 +00:00
.plugs li, .extras li {
2019-09-10 22:12:32 +00:00
display: inline-block;
margin: 0;
2016-03-01 07:03:27 +00:00
}
2023-04-10 13:27:11 +00:00
.extras a {
display: inline-block;
height: 40px;
line-height: 40px;
padding: 10px;
2023-04-10 20:11:09 +00:00
font-weight: bold;
2023-04-10 13:27:11 +00:00
}
.extras a:link, .extras a:visited {
color: black;
font-weight: bold;
}
.plug-container, .extras-container {
display: inline-block;
height: 85px;
padding: 20px;
width: 25%;
background-color: var(--text-color);
border-radius: 5px;
}
2023-04-10 20:11:09 +00:00
/*.plug-container::after, .extras-container::after {
2023-04-10 13:27:11 +00:00
content: "";
position: relative;
2023-04-10 20:11:09 +00:00
margin-top: -125px;
margin-left: -20px;
2023-04-10 13:27:11 +00:00
display: inline-block;
height: 125px;
width: 100%;
opacity: 50%;
z-index: -1;
}*/
2016-03-01 07:03:27 +00:00
pre {
2019-09-02 19:33:18 +00:00
border: dashed 1px #000000;
border-radius: 5px;
2023-04-10 20:11:09 +00:00
background-color: rgba(0, 0, 0, 0.2);
background: rgba(0, 0, 0, 0.2);
2019-09-02 19:33:18 +00:00
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
}
2023-04-10 20:11:09 +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;
2023-04-10 20:11:09 +00:00
background: rgba(0, 0, 0, 0.2);
background-color: rgba(0, 0, 0, 0.2);
2019-09-02 19:33:18 +00:00
border: dashed 1px #000000;
border-radius: 5px;
2016-03-01 07:03:27 +00:00
}
h1 {
2023-04-10 07:54:53 +00:00
font-size: 42pt;
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
}
.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;
2023-04-10 13:27:11 +00:00
padding-left: 25%;
2019-09-02 19:33:18 +00:00
display: inline-block;
fill: currentColor;
2016-03-01 07:03:27 +00:00
}
.left svg, .right svg {
2023-04-10 13:27:11 +00:00
padding-bottom: -3px;
padding-left: 0.8ex;
padding-right: 0.8ex;
2016-03-01 07:03:27 +00:00
}
.info {
2019-09-02 19:33:18 +00:00
font-size: 14pt;
font-style: italic;
2023-04-10 20:11:09 +00:00
padding-bottom: 20px;
2016-03-01 07:03:27 +00:00
}
2023-04-10 20:11:09 +00:00
.tags a::before {
2019-09-02 19:33:18 +00:00
display: inline-block;
width: 2ex;
height: 2ex;
content: "";
2023-04-10 13:27:11 +00:00
padding-right: 0.5ex;
2019-09-02 19:33:18 +00:00
background-repeat: no-repeat;
background-size: contain;
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgaGVpZ2h0PSIxMDAlIgogICB3aWR0aD0iMTAwJSIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnNDMwMyIKICAgdmlld0JveD0iMCA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jYuNSA2NCwtMjYuNSAxMDIsLTY0LjUgbCA3MTUsLTcxNCBxIDM3LC0zOSAzNywtOTEgeiBtIDM4NCwwIHEgMCwtNTMgLTM3LC05MCBMIDEzNzEsLTcwIHEgLTM5LC0zNyAtOTEsLTM3IC0zNiwwIC01OSwxNCAtMjMsMTQgLTUzLDQ1IGwgNDcwLDQ3MCBxIDM3LDM3IDM3LDkwIDAsNTIgLTM3LDkxIGwgLTcxNSw3MTQgcSAtMzgsMzggLTEwMiw2NC41IC02NCwyNi41IC0xMTcsMjYuNSBoIDIyNCBxIDUzLDAgMTE3LC0yNi41IDY0LC0yNi41IDEwMiwtNjQuNSBsIDcxNSwtNzE0IHEgMzcsLTM5IDM3LC05MSB6IiAvPgogIDwvZz4KPC9zdmc+Cg==);
2018-07-25 13:53:14 +00:00
}
2023-04-10 20:11:09 +00:00
.feed a {
2019-09-02 19:33:18 +00:00
display: inline-block;
2023-04-10 20:11:09 +00:00
}
.feed a::before {
content: "";
width: 20px;
height: 20px;
display: inline-block;
background-image: url(/images/feed.svg);
background-size: contain;
margin-top: -2px;
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;
/* box shadow */
box-shadow: 5px 5px 10px #a1a1a1;
/* bg-colour */
2023-04-10 20:11:09 +00:00
background-color: blanchedalmond;
2019-09-02 19:33:18 +00:00
/* adjust line height */
line-height: 200%;
/* margin */
margin: 30px;
/* padding */
padding: 50px;
}
2017-08-10 01:58:44 +00:00
.scripture p {
2023-04-10 13:27:11 +00:00
padding-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;
float: left;
2023-04-10 13:27:11 +00:00
padding-top: 0.1ex;
padding-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
}
2023-04-10 13:27:11 +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
2023-04-10 07:54:53 +00:00
.inlinks{
2019-09-02 19:33:18 +00:00
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;
2023-04-10 13:27:11 +00:00
padding: 10px;
2019-09-09 13:21:33 +00:00
padding-left: 100%;
width: 230px;
2019-09-02 19:33:18 +00:00
}
2016-03-01 07:03:27 +00:00
}