Files
runnerspace/static/styles.css

238 lines
3.8 KiB
CSS

@font-face {
font-family: "Arial Rounded MT Bold";
src: url("/static/arial_rounded_bold.ttf");
}
body, html {
font-family: Verdana, Arial, sans-serif, Helvetica;
margin: 0;
background-color: #e7e7e7;
line-height: 1.225;
}
.content-outer {
width: 900px;
max-width: 100%;
margin: 0 auto;
}
.content-outer .content {
background-color: white;
}
.content-outer .content .content-inner {
padding: 2em;
}
#logo {
text-decoration: none;
color: #ef7900;
font-size: 2.5em;
letter-spacing: -2.8px;
font-family: "Arial Rounded MT Bold", sans-serif;
}
.header-primary {
background-color: #1b53a8;
padding: 10px;
position: relative;
}
.header-primary .header-login {
position: absolute;
top: 1em;
right: 1em;
color: white;
}
.header-primary .header-login a {
text-decoration: underline;
color: white !important;
}
.header-secondary {
background-color: #7ca6ef;
height: 30px;
text-align: center;
display: flex;
}
.header-secondary .links {
margin: auto auto;
}
a {
color: #1E40AF;
}
nav a {
color: white;
}
footer a {
color: #1E40AF;
}
nav .links, footer .links {
margin: 0;
list-style: none;
}
nav .links li, footer .links li {
display: inline-block;
}
nav .links li a, footer .links li a {
text-decoration: none;
}
footer {
font-size: 60%;
text-align: center;
}
footer .links {
font-size: 0.875em;
margin: 16px 0 5px 0;
padding: 0;
text-align: center;
}
nav .links li.active a {
font-weight: bold;
}
nav .links li:not(:last-child)::after, footer .links li:not(:last-child)::after {
content: " | ";
color: black;
}
.form-subtext {
text-align: center;
font-size: 1em;
}
form {
margin: 0 auto;
width: fit-content;
}
form.login-form {
border: 1px solid darkblue;
padding: 10px;
}
form .field {
padding: 4px;
}
form .field .checkbox {
margin-left: auto;
}
form button {
border-radius: 0px;
width: 15em;
margin: 0 auto;
}
.profile-title {
display: block;
border-bottom: 1px solid grey;
width: 100%;
}
.profile-title .profile-username {
font-size: 1.5em;
font-weight: bold;
}
.profile-title .profile-timestamp {
padding-left: 1em;
font-size: 0.9em;
}
.offline {
color: dimgrey;
}
.online {
color: #0C8C00;
font-weight: 600;
}
.profile-left {
padding: 0.8em;
width: fit-content;
border-right: 1px solid grey;
}
.profile-left .profile-details {
font-size: 0.7em;
text-align: center;
}
.profile-left .profile-picture {
margin: 0.8em;
max-width: 10em;
max-height: 10em;
filter: drop-shadow(5px 7px 6px rgba(0, 0, 0, 0.1));
}
.profile-bio, .profile-left {
display: inline-block;
}
.profile-lower {
display: flex;
white-space: nowrap;
}
.profile-lower .profile-bio {
margin: 0.5em 1em;
white-space: normal;
font-size: 0.9em;
}
.user-list .user-list-row {
white-space: nowrap;
display: flex;
}
.user-list .user-box {
width: 50%;
margin: 0.3em;
padding: 0.5em;
border: 1px solid darkblue;
height: 6em;
}
.user-list .user-box .user-box-timestamp {
font-size: 0.8em;
}
.user-list .user-box .user-box-username {
font-weight: bold;
}
.user-list .user-box .user-box-bottom {
height: 100%;
display: flex;
}
.user-list .user-box .user-box-bottom .user-box-minibio {
width: 100%;
margin: 0.4em;
margin-left: 0.6em;
display: -webkit-box;
line-height: 1.2em;
height: 3.6em;
-webkit-line-clamp: 3;
white-space: normal;
overflow: hidden;
-webkit-box-orient: vertical;
}
.user-list .user-box .user-box-img img {
margin-top: 0.3em;
max-height: 3em;
max-width: 3em;
filter: drop-shadow(5px 7px 6px rgba(0, 0, 0, 0.2));
}
.profile-form {
margin: 0 auto;
width: 80%;
}
.profile-form textarea {
margin: 0.5em auto;
height: 10em;
width: 100%;
}
.profile-form button {
margin: 0.3em auto;
text-align: center;
}
.profile-form label {
margin: 0.5em 0;
}
/*# sourceMappingURL=styles.css.map */