mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2025-12-13 19:55:21 +00:00
CSS cleanup
This commit is contained in:
@@ -1,17 +1,11 @@
|
||||
h1 {
|
||||
margin: 0;
|
||||
p {
|
||||
margin: 0.4rem 0;
|
||||
}
|
||||
|
||||
.pfp {
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.post__media {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.post__media video,
|
||||
.post__media img {
|
||||
margin: 1em 0;
|
||||
@@ -24,20 +18,7 @@ h1 {
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.imageMeta__wrapper,
|
||||
.imageMeta__item,
|
||||
.imageMeta {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.imageMeta__item {
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.imageMeta__wrapper {
|
||||
gap: 1rem;
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,41 +1,55 @@
|
||||
h1, h2, h3 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #E0E0E0;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a > h2 {
|
||||
color: white;
|
||||
}
|
||||
|
||||
h2, h3, p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
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 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 0.75rem;
|
||||
}
|
||||
|
||||
.logo, .icon {
|
||||
filter: invert(1) hue-rotate(180deg);
|
||||
}
|
||||
|
||||
section,
|
||||
header,
|
||||
main {
|
||||
margin: 0 24vw;
|
||||
.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.errorTitle {
|
||||
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 {
|
||||
@@ -65,12 +79,6 @@ main {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.post__meta {
|
||||
padding: 6px;
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.pageSelector {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -78,15 +86,12 @@ main {
|
||||
}
|
||||
|
||||
footer {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-direction: row;
|
||||
gap: 5rem;
|
||||
margin: 2em 0;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 812px) {
|
||||
section, header, main {
|
||||
body {
|
||||
margin: 0 !important;
|
||||
}
|
||||
}
|
||||
@@ -1,14 +1,10 @@
|
||||
.comment {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5em;
|
||||
}
|
||||
|
||||
.comments {
|
||||
margin-top: 1em;
|
||||
gap: 0.25em;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.replies {
|
||||
|
||||
@@ -13,7 +13,7 @@ body {
|
||||
|
||||
.media {
|
||||
display: flex;
|
||||
overflow: scroll;
|
||||
overflow: auto;
|
||||
gap: 1rem;
|
||||
align-items: center;
|
||||
height: 90vh;
|
||||
@@ -33,15 +33,8 @@ body {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.logoContainer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.views {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.postDetails {
|
||||
|
||||
@@ -6,12 +6,6 @@ h2 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
main {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
code {
|
||||
display: block;
|
||||
padding: 0.75em;
|
||||
|
||||
@@ -1,8 +1,13 @@
|
||||
h1, h2, h3 {
|
||||
margin: 0.4em 0;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #424242;
|
||||
padding: 2px;
|
||||
padding: 0.15rem;
|
||||
font-size: 0.95em;
|
||||
background-color: #383838;
|
||||
border-radius: 4px;
|
||||
font-size: 0.9em;
|
||||
font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
|
||||
}
|
||||
|
||||
summary {
|
||||
|
||||
2
static/css/normalize.css
vendored
Normal file
2
static/css/normalize.css
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
||||
html{line-height:1.2;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
|
||||
@@ -1,11 +1,11 @@
|
||||
main {
|
||||
margin: 0 24vw
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 1em 0
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
margin: 0.4em 0;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: outside none none;
|
||||
padding: 0;
|
||||
@@ -17,19 +17,13 @@ ul {
|
||||
height: 36px;
|
||||
}
|
||||
|
||||
.badgeWrapper {
|
||||
.badge {
|
||||
margin: 0 10vw
|
||||
}
|
||||
|
||||
.badge {
|
||||
.badge div {
|
||||
background-color: #3b3b3b;
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.25em;
|
||||
padding: 1em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.badge h2 {
|
||||
@@ -47,15 +41,4 @@ ul {
|
||||
user-select: none;
|
||||
color: #2b95f2;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.addInfo {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 812px) {
|
||||
.badgeWrapper,
|
||||
main {
|
||||
margin: 0
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
main {
|
||||
body {
|
||||
margin: 0 12vw;
|
||||
}
|
||||
|
||||
@@ -7,22 +7,7 @@ main {
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.tagMeta__info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.tagMeta__sort {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.tagMeta__sort a {
|
||||
a {
|
||||
font-weight: 400;
|
||||
color: #fff;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
main {
|
||||
body {
|
||||
margin: 0 12vw;
|
||||
}
|
||||
|
||||
@@ -7,16 +7,6 @@ main {
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.userMeta__upper {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.userMeta__upper__bio {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.pfp {
|
||||
border-radius: 100%;
|
||||
}
|
||||
Reference in New Issue
Block a user