rimgo/static/css/base.css

97 lines
1.3 KiB
CSS
Raw Normal View History

2022-12-21 00:35:48 +00:00
h1, h2, h3 {
margin: 0;
}
2022-01-17 22:11:33 +00:00
a {
2022-01-18 00:43:45 +00:00
color: #E0E0E0;
font-weight: 600;
2022-01-17 22:11:33 +00:00
text-decoration: none;
}
2022-01-17 20:48:24 +00:00
body {
2022-01-18 00:43:45 +00:00
background-color: #212121;
2022-01-17 22:11:33 +00:00
color: white;
2022-01-18 00:36:08 +00:00
font-size: 18px;
2022-01-17 20:48:24 +00:00
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
2022-12-21 00:35:48 +00:00
margin: 0 24vw;
2022-01-17 20:48:24 +00:00
}
2022-01-17 22:11:33 +00:00
nav {
2022-12-21 00:35:48 +00:00
margin: 0.75rem;
2022-01-17 22:11:33 +00:00
}
2022-10-13 22:26:08 +00:00
.logo, .icon {
2022-01-17 22:11:33 +00:00
filter: invert(1) hue-rotate(180deg);
}
2022-12-21 00:35:48 +00:00
.text-center {
text-align: center;
2022-01-17 22:11:33 +00:00
}
2022-12-21 00:35:48 +00:00
.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;
2022-05-23 15:30:17 +00:00
}
2022-02-18 21:56:56 +00:00
.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;
}
2022-02-21 17:17:28 +00:00
.posts img,
.posts video:not(:fullscreen) {
2022-02-18 21:56:56 +00:00
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;
}
2022-01-17 22:11:33 +00:00
footer {
2022-10-13 22:26:08 +00:00
gap: 5rem;
margin: 2em 0;
2022-01-17 20:48:24 +00:00
}
2022-01-17 22:11:33 +00:00
@media only screen and (max-width: 812px) {
2022-12-21 00:35:48 +00:00
body {
2022-03-22 02:20:16 +00:00
margin: 0 !important;
2022-01-17 22:11:33 +00:00
}
2022-01-17 20:48:24 +00:00
}