style: simplify social media handling

This commit is contained in:
Kazhnuz 2018-10-14 18:16:15 +02:00
parent 0ea151f1d8
commit c30100fe26
2 changed files with 31 additions and 37 deletions

View file

@ -52,12 +52,10 @@ ul.social {
padding-bottom: 1em; padding-bottom: 1em;
margin: auto; margin: auto;
text-align: center; } text-align: center; }
ul.social li {
li.social-li {
list-style: none; list-style: none;
display: inline; } display: inline; }
ul.social li a {
a.social-link {
color: #FFFFFF; color: #FFFFFF;
background-color: #000000; background-color: #000000;
padding: 0.3em; padding: 0.3em;
@ -65,10 +63,9 @@ a.social-link {
padding-right: 0.36em; padding-right: 0.36em;
vertical-align: middle; vertical-align: middle;
border-radius: 100%; } border-radius: 100%; }
ul.social li a:hover {
a.social-link:hover { color: #000;
color: #000000; background-color: #FFF; }
background-color: #FFFFFF; }
/* ------------------ CARDS ------------------- */ /* ------------------ CARDS ------------------- */
.card { .card {

View file

@ -80,14 +80,10 @@ ul.social {
padding-bottom:1em; padding-bottom:1em;
margin:auto; margin:auto;
text-align:center; text-align:center;
} li {
list-style: none;
li.social-li { display: inline;
list-style:none; a {
display:inline;
}
a.social-link {
color:#FFFFFF; color:#FFFFFF;
background-color:#000000; background-color:#000000;
padding:0.3em; padding:0.3em;
@ -95,11 +91,12 @@ a.social-link {
padding-right:0.36em; padding-right:0.36em;
vertical-align:middle; vertical-align:middle;
border-radius:100%; border-radius:100%;
} &:hover {
color:#000;
a.social-link:hover { background-color:#FFF
color:#000000; }
background-color:#FFFFFF; }
}
} }