mirror of
https://github.com/Mibew/simple-icons.git
synced 2024-11-16 02:14:12 +03:00
162 lines
3.3 KiB
CSS
162 lines
3.3 KiB
CSS
html {
|
|
font-size: 100%;
|
|
}
|
|
body {
|
|
background-color: #FFF;
|
|
color: #424242;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
|
font-kerning: normal;
|
|
-webkit-font-variant-ligatures: common-ligatures;
|
|
font-variant-ligatures: common-ligatures;
|
|
font-weight: 400;
|
|
line-height: 1.5rem;
|
|
margin: 0;
|
|
}
|
|
a {
|
|
color: #0091EA;
|
|
}
|
|
a:focus, a:hover {
|
|
color: #00B0FF;
|
|
}
|
|
p {
|
|
margin: 1.5rem 0 0;
|
|
}
|
|
.navbar {
|
|
font-size: 0.75rem;
|
|
line-height: 1.125rem;
|
|
padding: 1.5rem;
|
|
}
|
|
.title {
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.btn {
|
|
background-color: #00C853;
|
|
border-radius: 0.125rem;
|
|
color: #FFF;
|
|
display: inline-block;
|
|
font-weight: 700;
|
|
padding: 0.75rem 1.5rem;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
}
|
|
.btn:focus, .btn:hover {
|
|
background-color: #00E676;
|
|
color: #FFF;
|
|
}
|
|
.site-main {
|
|
width: 100%;
|
|
}
|
|
.tiles {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
list-style: none;
|
|
margin: 1.25rem 1.25rem;
|
|
padding: 0;
|
|
}
|
|
.tiles li {
|
|
box-sizing: border-box;
|
|
background: #424242;
|
|
border: 0.25rem solid #FFF;
|
|
color: #FFF;
|
|
font-size: 0.8125rem;
|
|
line-height: 1rem;
|
|
padding: 1rem 0.75rem;
|
|
width: 100%;
|
|
}
|
|
.tiles ::selection {
|
|
background: #FFF;
|
|
color: #424242;
|
|
}
|
|
.tiles ::-moz-selection {
|
|
background: #FFF;
|
|
color: #424242;
|
|
}
|
|
.tile-name {
|
|
color: #FFF;
|
|
display: inline-block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
width: calc(100% - 4rem);
|
|
}
|
|
.tiles svg {
|
|
float: left;
|
|
height: 2rem;
|
|
margin: -0.5rem 0 0 0;
|
|
padding: 0.5rem 1.25rem 0 0.5rem;
|
|
width: 2rem;
|
|
}
|
|
.tiles path, .tiles ellipse, .tiles circle {
|
|
fill: #FFF;
|
|
}
|
|
.hex {
|
|
font-size: 0.75rem;
|
|
opacity: 0.5;
|
|
text-transform: uppercase;
|
|
}
|
|
.tiles__item:active .hex, .tiles__item:focus .hex, .tiles__item:hover .hex {
|
|
opacity: 1;
|
|
}
|
|
@media (min-width: 800px) { .tiles li { width: 50%; } }
|
|
@media (min-width: 1000px) { .tiles li { width: 33.333%; } }
|
|
@media (min-width: 1100px) { .tiles li { width: 25% } }
|
|
@media (min-width: 1400px) { .tiles li { width: 20% } }
|
|
@media (min-width: 1600px) { .tiles li { width: 16.666% } }
|
|
@media (min-width: 1900px) { .tiles li { width: 12.5% } }
|
|
@media (min-width: 2300px) { .tiles li { width: 10% } }
|
|
.icon--link:hover .tile-name, .icon--link:active .tile-name, .icon--link:focus .tile-name {
|
|
text-decoration: underline;
|
|
}
|
|
.footer {
|
|
margin: 3rem;
|
|
}
|
|
.footer p {
|
|
font-size: 0.8125rem;
|
|
margin: 1.5rem auto 0;
|
|
max-width: 25.5rem;
|
|
text-align: center;
|
|
}
|
|
.ad {
|
|
background-color: #F0F0F0;
|
|
margin: 1.5rem 0 0;
|
|
padding: 0.75rem;
|
|
}
|
|
.ad a {
|
|
color: #424242;
|
|
}
|
|
.carbon-wrap:after {
|
|
clear: both;
|
|
content: " ";
|
|
display: table;
|
|
}
|
|
.carbon-img {
|
|
float: left;
|
|
line-height: 0;
|
|
}
|
|
.carbon-text {
|
|
float: right;
|
|
width: calc(100% - 130px - 0.75rem);
|
|
}
|
|
.carbon-poweredby {
|
|
color: #BDBDBD;
|
|
display: block;
|
|
margin: 0.75rem 0 0;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
}
|
|
@media (min-width: 600px) {
|
|
body {
|
|
display: flex;
|
|
}
|
|
.navbar {
|
|
padding: 1.5rem 0 1.5rem 1.5rem;
|
|
width: 18.5rem;
|
|
}
|
|
.site-main {
|
|
width: calc(100% - 20rem);
|
|
}
|
|
}
|