homepage/res/style.css

116 lines
No EOL
2.1 KiB
CSS

:root {
--body-bg-color: #2E2E2E;
--accent-bg-color: #d1d1d1;
--button-accent-color: #3d3d3d;
--selected-bg-color: #2E2E2E;
--hover-bg-color: #555555;
--main-font-weight: 500;
--cards-length: 600px;
}
body {
background: var(--body-bg-color);
font-family: Tahoma, Verdana, Arial, sans-serif;
font-weight: var(--main-font-weight);
}
br {
display: block; /* makes it have a width */
content: ""; /* clears default height */
margin-top: 2px; /* change this to whatever height you want it */
}
.card {
margin: 25px auto;
padding: 20px;
width: var(--cards-length);
background: var(--accent-bg-color);
border-radius: 3px;
-webkit-box-shadow: 2px -2px 38px 1px rgba(0,0,0,0.59);
-moz-box-shadow: 2px -2px 38px 1px rgba(0,0,0,0.59);
box-shadow: 2px -2px 38px 1px rgba(0,0,0,0.59);
}
/*
.card.navigation {
}
*/
.navigation-buttons {
text-align: right;
}
.navigation-buttons a {
margin-left: 10px;
}
.navigation-buttons a:first-child {
margin-left: 0px;
}
.navigation-branding {
float: left;
}
.navigation-branding-h {
font-size: 34px;
padding: 4px;
margin-top: 2px;
margin-bottom: 2px;
white-space: nowrap;
text-decoration: none;
border: none;
}
.noselect {
user-select: none;
}
.button-default {
text-decoration: none;
border: none;
background-color: var(--accent-bg-color);
border-radius: 5px;
padding: 5px;
font-size: 18px;
white-space: nowrap;
margin-top: 2px;
margin-bottom: 2px;
color: var(--button-accent-color);
cursor: pointer;
outline: none;
}
.button-default:hover:not(.button-selected) {
color: var(--accent-bg-color);
background-color: var(--hover-bg-color);
}
.button-selected {
color: var(--accent-bg-color);
background-color: var(--selected-bg-color);
}
.input {
border: none;
outline: none;
border-radius: 2px;
padding: 3px;
margin: 8px;
}
#upload-file {
opacity: 0;
position: absolute;
z-index: -1;
}
#content-container {
text-align: center;
}
@media screen and (max-width: 768px) {
.card {
width: 80%;
}
}