Improve links style & titles margin
This commit is contained in:
parent
ecca5f28d7
commit
ccab8864d3
1 changed files with 21 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
||||||
:root {
|
:root {
|
||||||
--accent: #226997;
|
--accent: #226997;
|
||||||
--main: #111111;
|
--main: #111111;
|
||||||
/*--main2: #575757;*/
|
--main2: #575757;
|
||||||
/*--main3: #7d7d7d;*/
|
/*--main3: #7d7d7d;*/
|
||||||
--background: #ffffff;
|
--background: #ffffff;
|
||||||
/*--background2: #f7f7f7;*/
|
/*--background2: #f7f7f7;*/
|
||||||
|
@ -26,8 +26,18 @@ body img {
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: var(--main);
|
color: var(--main);
|
||||||
text-decoration: underline var(--accent) 2.5px;
|
text-decoration: none;
|
||||||
transition: text-decoration .12s ease;
|
border-bottom: 2.5px solid var(--accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover, a:focus {
|
||||||
|
text-decoration: none;
|
||||||
|
background-color: var(--accent);
|
||||||
|
color: var(--background);
|
||||||
|
}
|
||||||
|
|
||||||
|
article.article-list h2 a {
|
||||||
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pic-container {
|
.pic-container {
|
||||||
|
@ -47,16 +57,17 @@ a {
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover, a:focus {
|
article.article-list + article.article-list {
|
||||||
text-decoration: none;
|
margin-top: 4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
article.article-list {
|
article.article-list h2, article h1 {
|
||||||
margin-top: 2em;
|
margin-bottom: .2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
article.article-list h2 a {
|
.date {
|
||||||
text-decoration: none;
|
margin-top: .2em;
|
||||||
|
color: var(--main2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination {
|
.pagination {
|
||||||
|
@ -68,7 +79,7 @@ article.article-list h2 a {
|
||||||
:root {
|
:root {
|
||||||
--accent: #226997;
|
--accent: #226997;
|
||||||
--main: #eeeeee;
|
--main: #eeeeee;
|
||||||
/*--main2: #cecece;*/
|
--main2: #cecece;
|
||||||
/*--main3: #b1b1b1;*/
|
/*--main3: #b1b1b1;*/
|
||||||
--background: #111111;
|
--background: #111111;
|
||||||
/*--background2: #575656;*/
|
/*--background2: #575656;*/
|
||||||
|
|
Reference in a new issue