Files
runnerspace/static/styles.scss
2022-03-27 02:02:58 -05:00

201 lines
2.7 KiB
SCSS

@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 {
.content-inner {
//min-height: 50vh;
padding: 2em;
}
background-color: white;
}
}
#logo {
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-login {
position: absolute;
top: 1em;
right: 1em;
color: white;
a {
text-decoration: underline;
color: white !important;
}
}
}
.header-secondary {
background-color: #7ca6ef;
height: 30px;
text-align: center;
display: flex;
.links {
margin: auto auto;
}
}
a {
color: #1E40AF;
}
nav a {
color: white;
}
footer a {
color: #1E40AF;
}
nav, footer {
.links {
margin: 0;
list-style: none;
li {
display: inline-block;
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, 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;
&.login-form {
border: 1px solid darkblue;
padding: 10px
}
.field {
padding: 4px;
.checkbox {
margin-left: auto;
}
}
button {
border-radius: 0px;
width: 15em;
margin: 0 auto;
}
}
.profile-title {
display: block;
border-bottom: 1px solid grey;
width: 100%;
.profile-username {
font-size: 1.5em;
font-weight: bold;
}
.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-details {
font-size: 0.7em;
text-align: center;
}
.profile-picture {
margin: 0.8em;
max-width: 10em;
max-height: 10em;
filter: drop-shadow(5px 7px 6px rgb(0 0 0 / 0.1));;
}
}
.profile-bio, .profile-left {
display: inline-block;
}
.profile-lower {
display: flex;
white-space: nowrap;
.profile-bio {
margin: 0.5em 1em;
white-space: normal;
font-size: 0.9em;
}
}