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

369 lines
7.3 KiB
CSS
Raw Normal View History

2016-03-01 07:03:27 +00:00
body {
color: black;
font-size: 16px;
2016-03-11 14:30:51 +00:00
font-family: 'Didact Gothic';
font-weight: normal;
2016-03-01 07:03:27 +00:00
font-style: normal;
-webkit-font-smoothing: antialiased;
margin: 0;
}
a{
text-decoration: none;
}
a:link {
color: green;
}
a:visited {
color: darkgreen;
}
2018-07-22 22:05:39 +00:00
img, video {
2016-03-01 07:03:27 +00:00
margin: 10px;
width: 66%;
max-width: 500px;
}
hr {
color: black;
border: 0;
background-color: black;
height: 2px;
}
header {
padding: 20px;
}
header a {
color: darkgreen;
font-size: 18px;
font-weight: bold;
}
header a:visited {
color: darkgreen;
}
article {
text-align: left;
padding: 20px;
2018-07-25 13:53:14 +00:00
margin-left: 300px;
2016-03-01 07:03:27 +00:00
overflow: auto;
2018-08-18 09:02:40 +00:00
max-width: 80em;
2016-03-01 07:03:27 +00:00
}
article a:hover{
text-decoration: underline;
}
article ul{
list-style: none;
}
article li:before {
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;
}
article li {
text-indent: -2ex;
margin-left: 1.5ex;
}
2018-09-08 20:31:48 +00:00
.liberapay {
height: 45px;
2016-05-09 20:09:13 +00:00
display: inline-block;
vertical-align: middle;
}
2016-04-21 23:21:42 +00:00
.sidebar {
2016-03-01 07:03:27 +00:00
position: fixed;
2018-12-16 17:16:55 +00:00
width: 17em;
2016-03-01 07:03:27 +00:00
}
2018-07-25 13:53:14 +00:00
.navigation, .tags, .plugs {
2016-03-01 07:03:27 +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;
2018-08-18 08:47:25 +00:00
padding: 20px 20px 20px 20px;
2016-04-21 23:21:42 +00:00
margin-top: 0;
2018-08-18 08:47:25 +00:00
margin-bottom: 10px;
text-align: center;
2016-03-01 07:03:27 +00:00
}
2018-07-25 13:53:14 +00:00
.tags, .plugs {
2018-08-18 08:47:25 +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 {
2018-07-25 23:04:15 +00:00
text-align: left;
2018-08-18 08:47:25 +00:00
margin: 0;
2018-07-25 23:04:15 +00:00
}
2016-03-01 07:03:27 +00:00
.navigation {
2018-08-18 08:47:25 +00:00
columns: 2;
2016-03-01 07:03:27 +00:00
}
2016-04-21 23:21:42 +00:00
nav ul, .plugs ul {
2016-03-01 07:03:27 +00:00
list-style: none;
margin-left: 0px;
}
nav li a:link {
color: darkgreen;
font-size: 18px;
font-weight: bold;
2018-08-18 08:47:25 +00:00
margin: 0;
2016-03-01 07:03:27 +00:00
text-decoration: none;
text-transform: uppercase;
}
nav li a:visited {
color: darkgreen;
}
2016-04-21 23:21:42 +00:00
.plugs ul {
padding: 0;
margin: 0;
2018-08-18 08:47:25 +00:00
display: flex;
flex-direction: row;
justify-content: space-between;
2016-04-21 23:21:42 +00:00
}
.plugs li {
display: inline-block;
}
.plugs li a {
display: inline-block;
2018-08-18 08:47:25 +00:00
height: 40px;
2016-04-21 23:21:42 +00:00
}
.plugs svg {
width: 40px;
height: 40px;
}
2016-03-01 07:03:27 +00:00
footer {
position: relative;
color: #555;
font-size: 12px;
text-align: right;
clear: both;
left: 0;
bottom: 0;
padding: 20px;
padding-top: 0px;
padding-bottom: 0px;
margin-top: 2em;
margin-bottom: 0.5em;
}
footer span {
padding-left: 40px;
}
footer span img {
vertical-align: bottom;
}
footer img {
float: none;
margin: 0;
width: 16px;
}
pre {
border: dashed 1px #000000;
border-radius: 5px;
background-color: rgba(0, 0, 0, 0.05);
background: rgba(0, 0, 0, 0.05);
padding: 10px;
}
pre code {
border: none;
font-size: 14px;
background: transparent;
background-color: transparent;
}
pre code:before {
content: attr(class);
position: relative;
float: right;
display: block;
color: white;
font-weight: bolder;
text-shadow: 0px 0px 3px black;
}
code {
font-size: 14px;
background: rgba(0, 0, 0, 0.05);
background-color: rgba(0, 0, 0, 0.05);
border: dashed 1px #000000;
border-radius: 5px;
}
h1 {
font-size: 24px;
}
h2 {
font-size: 20px;
}
.bitcoin {
display: inline-block;
margin-bottom: -2px;
fill: currentColor;
}
.pagination {
display: inline-block;
width: 100%;
}
.left, .right {
float: left;
margin-left: 25%;
display: inline-block;
fill: currentColor;
}
.left svg, .right svg {
margin-bottom: -3px;
2016-05-09 20:09:13 +00:00
margin-left: 0.8ex;
margin-right: 0.8ex;
2016-03-01 07:03:27 +00:00
}
.info {
color: #555;
font-size: 14px;
font-style: italic;
}
.site {
display: flex;
min-height: 100vh;
flex-direction: column;
}
2018-08-02 10:52:22 +00:00
.sidebar a {
2018-07-25 13:53:14 +00:00
display: inline-block;
2018-08-18 08:47:25 +00:00
padding: 5px;
2018-07-25 13:53:14 +00:00
transition: 0.5s;
}
2018-08-02 10:52:22 +00:00
.sidebar a:hover {
2018-07-25 13:53:14 +00:00
background-color: white;
border-radius: 5px;
transition: 0.5s;
}
2018-08-02 10:52:22 +00:00
.tags a {
margin-right: 1.5ex;
}
2018-07-25 13:53:14 +00:00
.tags a:before {
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+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgaGVpZ2h0PSIxMDAlIgogICB3aWR0aD0iMTAwJSIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnNDMwMyIKICAgdmlld0JveD0iMCAtMjU2IDE5NTAgMTk1MCI+CiAgPG1ldGFkYXRhCiAgICAgaWQ9Im1ldGFkYXRhNDMxMyI+CiAgICA8cmRmOlJERj4KICAgICAgPGNjOldvcmsKICAgICAgICAgcmRmOmFib3V0PSIiPgogICAgICAgIDxkYzpmb3JtYXQ+aW1hZ2Uvc3ZnK3htbDwvZGM6Zm9ybWF0PgogICAgICAgIDxkYzp0eXBlCiAgICAgICAgICAgcmRmOnJlc291cmNlPSJodHRwOi8vcHVybC5vcmcvZGMvZGNtaXR5cGUvU3RpbGxJbWFnZSIgLz4KICAgICAgICA8ZGM6dGl0bGU+PC9kYzp0aXRsZT4KICAgICAgPC9jYzpXb3JrPgogICAgPC9yZGY6UkRGPgogIDwvbWV0YWRhdGE+CiAgPGRlZnMKICAgICBpZD0iZGVmczQzMTEiIC8+CiAgPGcKICAgICBpZD0iZzQzMDUiCiAgICAgdHJhbnNmb3JtPSJtYXRyaXgoMSwwLDAsLTEsMjEuNjc4Nzg2LDEzOTIuODE5KSI+CiAgICA8cGF0aAogICAgICAgc3R5bGU9ImZpbGw6Y3VycmVudENvbG9yIgogICAgICAgaWQ9InBhdGg0MzA3IgogICAgICAgZD0ibSA0NDgsMTA4OCBxIDAsNTMgLTM3LjUsOTAuNSBRIDM3MywxMjE2IDMyMCwxMjE2IDI2NywxMjE2IDIyOS41LDExNzguNSAxOTIsMTE0MSAxOTIsMTA4OCAxOTIsMTAzNSAyMjkuNSw5OTcuNSAyNjcsOTYwIDMyMCw5NjAgcSA1MywwIDkwLjUsMzcuNSBRIDQ0OCwxMDM1IDQ0OCwxMDg4IHogTSAxNTE1LDUxMiBxIDAsLTUzIC0zNywtOTAgTCA5ODcsLTcwIHEgLTM5LC0zNyAtOTEsLTM3IC01MywwIC05MCwzNyBMIDkxLDY0NiBRIDUzLDY4MyAyNi41LDc0NyAwLDgxMSAwLDg2NCB2IDQxNiBxIDAsNTIgMzgsOTAgMzgsMzggOTAsMzggaCA0MTYgcSA1MywwIDExNywtMjYuNSA2NCwtMjYuNSAxMDIsLTY0LjUgbCA3MTUsLTcxNCBxIDM3LC0zOSAzNywtOTEgeiBtIDM4NCwwIHEgMCwtNTMgLTM3LC05MCBMIDEzNzEsLTcwIHEgLTM5LC0zNyAtOTEsLTM3IC0zNiwwIC01OSwxNCAtMjMsMTQgLTUzLDQ1IGwgNDcwLDQ3MCBxIDM3LDM3IDM3LDkwIDAsNTIgLTM3LDkxIGwgLTcxNSw3MTQgcSAtMzgsMzggLTEwMiw2NC41IC02NCwyNi41IC0xMTcsMjYuNSBoIDIyNCBxIDUzLDAgMTE3LC0yNi41IDY0LC0yNi41IDEwMiwtNjQuNSBsIDcxNSwtNzE0IHEgMzcsLTM5IDM3LC05MSB6IiAvPgogIDwvZz4KPC9zdmc+Cg==);
}
2016-03-01 07:03:27 +00:00
.wrapper {
flex: 1;
}
.feed{
display: inline-block;
margin-bottom: -2px;
fill: currentColor;
}
.scripture {
2016-03-11 16:19:35 +00:00
/* change font */
font-family: 'Inknut Antiqua';
color: black;
font-size: 14px;
font-weight: normal;
font-style: normal;
-webkit-font-smoothing: antialiased;
2016-03-11 16:19:35 +00:00
/* box shadow */
box-shadow: 5px 5px 10px #a1a1a1;
2016-03-11 16:19:35 +00:00
/* bg-colour */
background-color: #faf5eb;
2016-03-11 16:19:35 +00:00
/* adjust line height */
2017-08-10 01:58:44 +00:00
line-height: 200%;
2016-03-11 16:19:35 +00:00
/* margin */
margin: 30px;
2016-03-11 16:19:35 +00:00
/* padding */
padding: 50px;
}
2017-08-10 01:58:44 +00:00
.scripture p {
margin-top: 25px;
}
.with-initial > p:first-child::first-letter {
2016-03-11 16:19:35 +00:00
font-family: 'Maximilian Antiqua Initialen';
color: black;
2016-03-29 16:57:08 +00:00
font-size: 65px;
font-weight: normal;
font-style: normal;
-webkit-font-smoothing: antialiased;
2016-03-29 16:57:08 +00:00
float: left;
margin-top: 0.1ex;
margin-right: 5px;
}
2018-08-18 09:02:40 +00:00
.postlist {
columns: 2;
}
2018-12-16 17:16:55 +00:00
@media screen and (max-width: 1100px){
2016-10-31 23:24:11 +00:00
.sidebar{
2016-03-01 07:03:27 +00:00
position: relative;
width: auto;
height: auto;
text-align: center;
}
2016-10-31 23:24:11 +00:00
.navigation{
border-radius: 5px;
2018-12-16 17:16:55 +00:00
columns: auto;
2016-10-31 23:24:11 +00:00
}
.plugs, .tagcloud{
display: none;
}
2016-03-01 07:03:27 +00:00
nav ul{
text-align: center;
padding-left: 0;
}
nav li{
display: inline-block;
}
article {
margin: 0;
}
img {
float: right;
margin: 10px;
padding-left: 100%;
width: 230px;
}
}