mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2024-12-15 19:48:38 +01:00
79 lines
1.9 KiB
CSS
Vendored
79 lines
1.9 KiB
CSS
Vendored
|
||
/* Table of contents
|
||
––––––––––––––––––––––––––––––––––––––––––––––––––
|
||
|
||
- Rounded user avatars
|
||
- Buttons
|
||
- Brand Styles
|
||
|
||
*/
|
||
|
||
|
||
/* Rounded avatars
|
||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||
|
||
/* Disable this if you don't want rounded avatars for users */
|
||
.rounded-avatar {
|
||
border-radius: 50%;
|
||
}
|
||
|
||
|
||
/* Buttons
|
||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||
|
||
:root {
|
||
--bgColor: #223344;
|
||
--bgColor2: #090a0f;
|
||
--accentColor: #FFF;
|
||
--font: 'Karla', sans-serif;
|
||
--delay: .3s; }
|
||
|
||
.button {
|
||
position: relative;
|
||
background-color: transparent;
|
||
color: var(--accentColor);
|
||
border: solid var(--accentColor) 2px;
|
||
border-radius: 10px;
|
||
font-size: 1rem;
|
||
text-align: center;
|
||
display: block;
|
||
margin-left: 10px;
|
||
margin-right: 10px;
|
||
margin-bottom: 10px;
|
||
padding: 10px; /* 17px */
|
||
text-decoration: none;
|
||
/* transition: all .25s cubic-bezier(.08, .59, .29, .99); */
|
||
-webkit-tap-highlight-color: transparent;
|
||
}
|
||
|
||
@media (hover: hover) {
|
||
.button:hover {
|
||
background-color: var(--accentColor);
|
||
color: var(--bgColor);
|
||
}
|
||
}
|
||
|
||
.button:active {
|
||
background-color: var(--accentColor);
|
||
color: var(--bgColor);
|
||
}
|
||
|
||
|
||
/* Brand Icons
|
||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||
|
||
.icon {
|
||
padding: 0px 8px 3.5px 0px;
|
||
vertical-align: middle;
|
||
width: 20px;
|
||
height: 20px;
|
||
-webkit-filter: grayscale(100%);
|
||
-moz-filter: grayscale(100%);
|
||
filter: grayscale(100%);
|
||
}
|
||
|
||
.button:hover .icon {
|
||
-webkit-filter: invert(100%) grayscale(100%);
|
||
-moz-filter: invert(100%) grayscale(100%);
|
||
filter: invert(100%) grayscale(100%);
|
||
} |