social services icons support #6

This commit is contained in:
Dmitry Kolosov 2021-05-17 21:04:42 +03:00
parent dc52fdf1b0
commit 269283077f
27 changed files with 268 additions and 106 deletions

View file

@ -9,6 +9,9 @@
--thead-bg-color: #343a40;
--table-border-color: lightgrey;
--nav-bg-color: #242424;
--nav-link-color: #b6b6b6;
--pre-color: #333;
--pre-bg-color: #f1f1f1;

View file

@ -10,6 +10,9 @@
--thead-bg-color: lightgrey;
--table-border-color: lightgrey;
--nav-bg-color: #fafafa;
--nav-link-color: #696969;
--pre-color: #333;
--pre-bg-color: #f1f1f1;

View file

@ -181,9 +181,9 @@ hr {
/* Header */
header {
display: flex;
justify-content: space-between;
.common-header {
padding-bottom: 1.5em;
border-bottom: thin solid var(--hr-color);
}
header a {
@ -203,25 +203,64 @@ header h2 {
font-weight: normal;
}
header nav {
margin-top: 1em;
max-width: 100%;
text-align: right;
}
header nav a {
margin-left: 2em;
.header-top {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
vertical-align: middle;
}
.site-title {
white-space: nowrap;
}
.common-header {
padding-bottom: 1.5em;
border-bottom: thin solid var(--hr-color);
header nav:not(:empty){
background: var(--nav-bg-color);
margin-top: 1em;
max-width: 100%;
text-align: center;
padding: 0.5em 0;
}
header nav a {
display: inline-block;
margin: 0 2.5%;
}
/* Social icons */
.social-icons {
margin-top: 1em;
margin-bottom: 0;
padding: 0;
list-style-type: none;
}
.social-icons li {
display: inline;
}
.social-icons li:not(:first-of-type) {
margin-left: 0.5em;
}
.social-icons a:hover,
.social-icons a:focus,
.social-icons a:active {
color: inherit;
border-bottom: none;
text-decoration: none;
}
.inline-svg {
display: inline-block;
height: 1.15rem;
width: 1.15rem;
top: 0.15rem;
position: relative;
}
/* Pages */
main h1 {
margin-top: 1em;
@ -238,7 +277,7 @@ main h1 {
/* Articles */
.post-navigation {
background: var(--pagination-bg-color);
background: var(--nav-bg-color);
text-align: center;
margin-top: 1em;
max-width: 100%;
@ -250,7 +289,7 @@ main h1 {
}
.post-navigation a {
color: var(--pagination-link-color);
color: var(--nav-link-color);
margin-left: 2em;
}
@ -495,27 +534,6 @@ ul.language-select > li, ul.footer-menu > li {
font-size: 14px;
}
header {
display: block;
}
.site-header {
text-align: center;
}
header nav:not(:empty){
background: var(--pagination-bg-color);
margin-top: 1em;
max-width: 100%;
text-align: center;
padding: 0.5em 0;
}
header nav a {
display: inline-block;
margin: 0 2.5%;
}
.post-navigation {
background: var(--pagination-bg-color);
text-align: center;