rimgo/static/css/base.css

97 lines
1.3 KiB
CSS

h1, h2, h3 {
margin: 0;
}
a {
color: #E0E0E0;
font-weight: 600;
text-decoration: none;
}
body {
background-color: #212121;
color: white;
font-size: 18px;
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
margin: 0 24vw;
}
nav {
margin: 0.75rem;
}
.logo, .icon {
filter: invert(1) hue-rotate(180deg);
}
.text-center {
text-align: center;
}
.flex {
display: flex;
}
.flex-center {
align-items: center;
justify-content: center;
}
.flex-center-y {
align-items: center;
}
.flex-col {
flex-direction: column;
}
.p-2 {
padding: 0.5rem;
}
.gap-2 {
gap: 0.5rem;
}
.gap-4 {
gap: 1rem;
}
.posts {
margin-top: 1em;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
grid-auto-rows: 1fr;
gap: 1rem;
}
.post {
border-radius: 12px;
background-color: #3b3b3b;
font-weight: 400;
}
.posts img,
.posts video:not(:fullscreen) {
object-fit: cover;
aspect-ratio: 1;
}
.post__title {
margin: 0 6px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.pageSelector {
display: flex;
justify-content: space-between;
margin-top: 1em;
}
footer {
gap: 5rem;
margin: 2em 0;
}
@media only screen and (max-width: 812px) {
body {
margin: 0 !important;
}
}