homepage/res/style.css

116 lines
2.1 KiB
CSS
Raw Normal View History

:root {
--body-bg-color: #2E2E2E;
--accent-bg-color: #d1d1d1;
--button-accent-color: #3d3d3d;
--selected-bg-color: #2E2E2E;
--hover-bg-color: #555555;
2020-10-18 21:41:14 +03:00
--main-font-weight: 500;
--cards-length: 600px;
}
2020-10-04 21:33:26 +03:00
body {
background: var(--body-bg-color);
2020-10-18 21:41:14 +03:00
font-family: Tahoma, Verdana, Arial, sans-serif;
font-weight: var(--main-font-weight);
2020-10-04 21:33:26 +03:00
}
2020-10-24 20:08:53 +03:00
br {
display: block; /* makes it have a width */
content: ""; /* clears default height */
margin-top: 2px; /* change this to whatever height you want it */
}
2020-10-04 21:33:26 +03:00
.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);
2020-10-04 21:33:26 +03:00
}
/*
.card.navigation {
2020-10-04 21:33:26 +03:00
}
*/
2020-10-04 21:33:26 +03:00
.navigation-buttons {
text-align: right;
}
2020-10-04 21:33:26 +03:00
.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;
}
2020-10-04 21:33:26 +03:00
.button-default {
text-decoration: none;
border: none;
background-color: var(--accent-bg-color);
2020-10-04 21:33:26 +03:00
border-radius: 5px;
padding: 5px;
2020-10-04 22:13:08 +03:00
font-size: 18px;
2020-10-04 21:33:26 +03:00
white-space: nowrap;
margin-top: 2px;
margin-bottom: 2px;
color: var(--button-accent-color);
2020-10-04 22:13:08 +03:00
cursor: pointer;
2020-10-04 23:56:12 +03:00
outline: none;
2020-10-04 22:13:08 +03:00
}
2020-10-04 23:56:12 +03:00
.button-default:hover:not(.button-selected) {
color: var(--accent-bg-color);
background-color: var(--hover-bg-color);
}
2020-10-04 23:56:12 +03:00
.button-selected {
color: var(--accent-bg-color);
2020-10-18 21:41:14 +03:00
background-color: var(--selected-bg-color);
2020-10-04 22:13:08 +03:00
}
2020-10-05 00:21:51 +03:00
.input {
border: none;
outline: none;
border-radius: 2px;
padding: 3px;
2020-10-05 00:51:30 +03:00
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%;
}
}