feather/style.css

150 lines
2.2 KiB
CSS
Raw Normal View History

2017-05-13 02:32:49 +03:00
.rubik {
font-family: "Rubik", sans-serif;
}
.font-smoothing {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
2017-05-31 04:23:18 +03:00
.bg-accent {
2017-05-31 19:52:06 +03:00
background-color: #0055ff;
2017-05-31 04:23:18 +03:00
}
2017-05-30 03:05:49 +03:00
.button {
2017-05-13 02:32:49 +03:00
display: inline-block;
padding: 1rem 2rem;
2017-07-10 23:20:47 +03:00
font-size: 1.125rem;
2017-05-28 07:22:58 +03:00
line-height: 1.25;
2017-05-13 02:32:49 +03:00
text-align: center;
text-decoration: none;
}
2017-05-30 03:05:49 +03:00
.lh-none {
line-height: 0;
2017-05-13 02:32:49 +03:00
}
2017-05-30 03:05:49 +03:00
.ellipse {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2017-05-23 23:59:21 +03:00
}
2017-05-30 03:05:49 +03:00
.svg [stroke] {
stroke: currentColor;
2017-05-13 02:32:49 +03:00
}
2017-05-30 03:05:49 +03:00
.svg [fill]:not([fill=none]) {
fill: currentColor;
2017-05-31 04:23:18 +03:00
}
.icon-grid {
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin: 0 -0.5rem -1rem;
}
.icon-grid li {
width: 100%;
padding: 0 0.5rem 1rem;
}
/* medium breakpoint */
@media (min-width: 30em) {
.icon-grid li {
width: 50%;
}
}
/* large breakpoint */
@media (min-width: 60em) {
.icon-grid li {
width: 25%;
}
}
/* if supported, use grid layout */
@supports (display: grid) {
.icon-grid {
display: grid;
2017-07-08 12:52:54 +03:00
grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
2017-05-31 04:23:18 +03:00
grid-gap: 1rem;
margin: 0;
}
/* override default styles */
.icon-grid li {
width: 100%;
padding: 0;
}
}
2017-07-08 12:52:54 +03:00
/* Carbon Ads */
#carbonads {
width: 80%;
margin: 0 auto;
padding: 1rem;
margin-bottom: 1rem;
font-size: 0.875rem;
line-height: 1.5;
background: #f4f4f4;
2017-07-10 23:20:47 +03:00
border-radius: .125rem;
2017-07-08 12:52:54 +03:00
}
#carbonads a {
text-decoration: none;
}
.carbon-wrap {
display: flex;
}
.carbon-img {
display: flex;
align-items: center;
margin-right: 1rem;
line-height: 0;
}
.carbon-text {
color: currentColor;
}
.carbon-poweredby {
display: block;
margin-top: 1rem;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 1px;
text-align: center;
color: rgba(0, 0, 0, 0.4);
}
@media (min-width: 45em) {
#carbonads {
position: fixed;
2017-07-08 21:55:23 +03:00
bottom: 1rem;
right: 1rem;
max-width: 11rem;
2017-07-08 12:52:54 +03:00
margin: 0;
background: rgba(255,255,255,0.9);
box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}
.carbon-wrap {
flex-direction: column;
align-items: center;
}
.carbon-img {
margin-right: 0;
}
.carbon-text {
text-align: center;
margin-top: 1rem;
}
}