style: simplify social media handling
This commit is contained in:
parent
0ea151f1d8
commit
c30100fe26
2 changed files with 31 additions and 37 deletions
|
@ -52,12 +52,10 @@ ul.social {
|
|||
padding-bottom: 1em;
|
||||
margin: auto;
|
||||
text-align: center; }
|
||||
|
||||
li.social-li {
|
||||
ul.social li {
|
||||
list-style: none;
|
||||
display: inline; }
|
||||
|
||||
a.social-link {
|
||||
ul.social li a {
|
||||
color: #FFFFFF;
|
||||
background-color: #000000;
|
||||
padding: 0.3em;
|
||||
|
@ -65,10 +63,9 @@ a.social-link {
|
|||
padding-right: 0.36em;
|
||||
vertical-align: middle;
|
||||
border-radius: 100%; }
|
||||
|
||||
a.social-link:hover {
|
||||
color: #000000;
|
||||
background-color: #FFFFFF; }
|
||||
ul.social li a:hover {
|
||||
color: #000;
|
||||
background-color: #FFF; }
|
||||
|
||||
/* ------------------ CARDS ------------------- */
|
||||
.card {
|
||||
|
|
|
@ -80,14 +80,10 @@ ul.social {
|
|||
padding-bottom:1em;
|
||||
margin:auto;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
li.social-li {
|
||||
list-style:none;
|
||||
display:inline;
|
||||
}
|
||||
|
||||
a.social-link {
|
||||
li {
|
||||
list-style: none;
|
||||
display: inline;
|
||||
a {
|
||||
color:#FFFFFF;
|
||||
background-color:#000000;
|
||||
padding:0.3em;
|
||||
|
@ -95,11 +91,12 @@ a.social-link {
|
|||
padding-right:0.36em;
|
||||
vertical-align:middle;
|
||||
border-radius:100%;
|
||||
}
|
||||
|
||||
a.social-link:hover {
|
||||
color:#000000;
|
||||
background-color:#FFFFFF;
|
||||
&:hover {
|
||||
color:#000;
|
||||
background-color:#FFF
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Reference in a new issue