wirechan/static/css/styles.css

248 lines
No EOL
4.1 KiB
CSS
Executable file

body {
background-color: black;
color: #00FF00;
font-family: 'Courier New', Courier, monospace;
}
.link-container {
display: flex;
flex-direction: column;
justify-content: center;
}
.bottom {
position: fixed;
bottom: 2vw;
margin: 2vw;
width: 100%;
}
div {
margin: 10px;
text-align: center;
}
a {
font-size: 1vw;
color: #00FF00;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
p {
font-size: 1vw;
color: #00FF00;
text-decoration: none;
}
button {
background-color: black;
color: #00FF00;
border: 1px solid #00FF00;
padding: 10px 20px;
cursor: pointer;
}
button:hover {
background-color: #00FF00;
color: black;
}
input, textarea {
text-align: center;
width: 10vw;
height: auto;
font-size: 1.5vw;
background-color: rgb(42, 42, 42);
color: #00FF00;
border: 1px solid #00FF00;
padding: 5px;
margin: 2vw;
}
label, button {
text-align: center;
font-size: 1.5vw;
color: #00FF00;
}
input::placeholder, textarea::placeholder {
color: #00FF00;
}
h1 {
font-size: 4vw;
color: #00FF00;
}
h4 {
font-size: 2vw;
color: #00FF00;
}
.post_form {
display: grid;
grid-template-columns: min-content;
grid-template-rows: auto auto;
text-align: center;
align-self: center;
height: auto;
width: 20vw auto;
max-width: fit-content;
overflow: auto;
background-color: rgb(42, 42, 42);
border: 1px solid #00FF00;
padding: 0.5vw;
margin: 0.5vw;
}
.post_input {
grid-column: 1 / span 1;
grid-row: 1 / span 1;
text-align: center;
height: 10vw auto;
width: 20vw;
max-width: fit-content;
overflow: auto;
padding: 0.5vw;
margin: 0.5vw;
}
.post_file_input {
grid-column: 1 / span 1;
grid-row: 2 / span 1;
text-align: center;
font-size: 0.5vw;
height: auto;
width: 20vw auto;
max-width: fit-content;
border: none;
overflow: auto;
padding: 0.5vw;
margin: 0.5vw;
}
.post_submit {
grid-column: 1 / span 1;
grid-row: 2 / span 1;
text-align: center;
height: auto;
width: 20vw;
max-width: fit-content;
overflow: auto;
padding: 0.5vw;
margin: 0.5vw;
}
.post {
display: grid;
grid-template-columns: auto auto;
grid-template-rows: auto auto;
text-align: left;
height: auto;
width: auto;
max-width: fit-content;
overflow: auto;
background-color: rgb(42, 42, 42);
border: 1px solid #00FF00;
padding: 0.5vw;
margin: 0.5vw;
}
.post_header {
grid-column: 1 / span 2;
grid-row: 1 / span 1;
text-align: left;
height: auto;
width: auto;
max-width: fit-content;
overflow: auto;
padding: 0.5vw;
margin: 0.5vw;
}
.post_content {
grid-row: 2 / span 1;
text-align: left;
height: auto;
width: auto;
max-width: fit-content;
overflow: auto;
padding: 0.5vw;
margin: 0.5vw;
}
img {
grid-row: 2 / span 1;
grid-column: 1 / span 1;
width: 10vw;
height: auto;
margin: 1vw;
}
img:hover {
width: 20vw;
}
.post:hover {
background-color: rgb(42, 42, 42);
}
.navbar {
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
background-color: rgb(42, 42, 42);
color: #00FF00;
padding: 0.5vw;
margin: 0;
}
.admin_actions {
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
background-color: black;
color: #00FF00;
padding: 0.5vw;
margin: 0;
}
.admin_action {
background-color: black;
color: #00FF00;
border: 1px solid #00FF00;
max-width: fit-content;
height: 20vw;
padding: 1vw;
cursor: pointer;
}
.user_list {
display: grid;
grid-template-columns: auto auto;
grid-template-rows: auto auto;
grid-gap: 1vw;
text-align: left;
height: auto;
width: auto;
max-width: fit-content;
overflow: auto;
padding: 0.5vw;
margin: 0.5vw;
}
.user_list a {
font-size: 2vw;
text-decoration: none;
}
.stats {
text-align: center;
justify-content: center;
}