This repository has been archived on 2023-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
python-blog/articles/static/style.css

79 lines
1.3 KiB
CSS
Raw Normal View History

2020-08-16 18:38:53 +02:00
:root {
--accent: #226997;
--main: #111111;
/*--main2: #575757;*/
/*--main3: #7d7d7d;*/
--background: #ffffff;
/*--background2: #f7f7f7;*/
}
body {
2020-08-14 15:53:42 +02:00
max-width: 640px;
margin-left: auto;
margin-right: auto;
font-family: Arial, sans-serif;
2020-08-16 18:38:53 +02:00
color: var(--main);
background-color: var(--background);
2020-08-16 19:51:42 +02:00
font-size: 110%;
}
p {
line-height: 1.7;
2020-08-14 15:53:42 +02:00
}
2020-08-14 22:07:20 +02:00
2020-08-16 18:38:53 +02:00
body img {
2020-08-14 22:07:20 +02:00
max-width: 640px;
}
2020-08-16 18:38:53 +02:00
a {
color: var(--main);
text-decoration: underline var(--accent) 2.5px;
transition: text-decoration .12s ease;
}
2020-08-17 08:23:00 +02:00
/*.article-list a {*/
/* text-decoration: underline var(--accent) 1px;*/
/*}*/
2020-08-16 18:38:53 +02:00
a:hover, a:focus {
text-decoration: none;
}
2020-08-16 20:24:00 +02:00
article.article-list {
margin-top: 2em;
}
article.article-list h2 a {
text-decoration: none;
}
2020-08-16 20:33:58 +02:00
.pagination {
display: flex;
justify-content: space-between;
}
2020-08-16 18:38:53 +02:00
@media (prefers-color-scheme: dark) {
2020-08-16 20:33:58 +02:00
:root {
--accent: #226997;
--main: #eeeeee;
/*--main2: #cecece;*/
/*--main3: #b1b1b1;*/
--background: #111111;
/*--background2: #575656;*/
}
img {
opacity: .75;
transition: opacity .5s ease-in-out;
}
2020-08-16 18:38:53 +02:00
2020-08-16 20:33:58 +02:00
img:hover {
opacity: 1;
}
2020-08-16 18:38:53 +02:00
2020-08-16 20:33:58 +02:00
#manage ul ul li img {
opacity: 1;
filter: invert(1);
}
2020-08-16 18:38:53 +02:00
}