homepage/res/style.css
2020-10-18 21:41:14 +03:00

90 lines
No EOL
1.7 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;
}
body {
background: var(--body-bg-color);
font-family: Tahoma, Verdana, Arial, sans-serif;
font-weight: var(--main-font-weight);
}
.card {
margin: 25px auto;
padding: 20px;
width: 400px;
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);
}
.navigation-card {
width: 500px;
text-align: center;
}
.navigation-buttons a {
margin-left: 10px;
}
.navigation-buttons a:first-child {
margin-left: 0px;
}
.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);
}
.button-border {
border: 2px solid var(--button-accent-color);
}
@media screen and (max-width: 768px) {
.card {
width: 80%;
}
}
.input {
border: none;
outline: none;
border-radius: 2px;
padding: 3px;
margin: 8px;
}
#upload-file {
opacity: 0;
position: absolute;
z-index: -1;
}