mirror of
https://github.com/Xevion/runnerspace.git
synced 2025-12-06 03:16:21 -06:00
392 lines
6.8 KiB
CSS
392 lines
6.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;
|
|
}
|
|
|
|
#about .about-img {
|
|
float: left;
|
|
max-width: 15em;
|
|
max-height: 15em;
|
|
margin: 1em;
|
|
filter: drop-shadow(5px 7px 6px rgba(0, 0, 0, 0.1));
|
|
}
|
|
#about p {
|
|
text-align: justify;
|
|
}
|
|
|
|
.header-primary {
|
|
background-color: #1b53a8;
|
|
position: relative;
|
|
max-height: 100px;
|
|
padding: 10px 0;
|
|
}
|
|
.header-primary #text-logo {
|
|
text-decoration: none;
|
|
color: #ef7900;
|
|
font-size: 2.5em;
|
|
letter-spacing: -2.8px;
|
|
font-family: "Arial Rounded MT Bold", sans-serif;
|
|
}
|
|
.header-primary #img-logo {
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
.header-primary #img-logo img {
|
|
max-width: 100%;
|
|
max-height: 80px;
|
|
}
|
|
.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;
|
|
}
|
|
|
|
.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));
|
|
}
|
|
|
|
.form {
|
|
margin: 0 auto;
|
|
width: 80%;
|
|
}
|
|
.form textarea {
|
|
margin: 0.5em auto;
|
|
height: 10em;
|
|
width: 100%;
|
|
resize: vertical;
|
|
}
|
|
.form.post-form {
|
|
border: none;
|
|
}
|
|
.form.edit-profile-form {
|
|
white-space: normal;
|
|
}
|
|
.form.edit-profile-form label {
|
|
min-width: 5em;
|
|
font-weight: 600;
|
|
}
|
|
.form button {
|
|
margin: 0.3em auto;
|
|
text-align: center;
|
|
}
|
|
.form label {
|
|
margin: 0.5em 0;
|
|
}
|
|
|
|
.post-box {
|
|
border: 1px solid grey;
|
|
border-radius: 3px;
|
|
padding: 1.5em;
|
|
padding-bottom: 0.8em;
|
|
margin: 0.45em;
|
|
position: relative;
|
|
}
|
|
.post-box .fa-heart {
|
|
position: absolute;
|
|
top: 1em;
|
|
right: 1em;
|
|
color: #b0c9f3;
|
|
cursor: pointer;
|
|
}
|
|
.post-box .fa-heart.liked {
|
|
color: #1b53a8;
|
|
}
|
|
.post-box .post-author {
|
|
margin-top: 1em;
|
|
margin-bottom: 0.5em;
|
|
font-size: 0.8em;
|
|
border-bottom: 1px solid grey;
|
|
padding-bottom: 0.8em;
|
|
}
|
|
.post-box .post-author.no-border {
|
|
border: none;
|
|
padding-bottom: 0;
|
|
}
|
|
.post-box .post-comments {
|
|
padding-left: 2em;
|
|
font-size: 0.8em;
|
|
}
|
|
.post-box .post-comments .post-comment {
|
|
width: fit-content;
|
|
margin: 0.4em;
|
|
padding: 0.3em;
|
|
border: 1px solid rgba(128, 128, 128, 0.51);
|
|
border-radius: 3px;
|
|
}
|
|
.post-box .post-comments .post-comment.add-comment {
|
|
border: 0;
|
|
}
|
|
.post-box .post-comments .post-comment.add-comment form {
|
|
border: 0;
|
|
padding: 0;
|
|
}
|
|
.post-box .post-comments .post-comment.add-comment form input {
|
|
font-size: 0.8rem;
|
|
margin: 0;
|
|
padding: 3px;
|
|
border: #ccc 1px solid;
|
|
line-height: 1.3;
|
|
}
|
|
.post-box .post-comments .post-comment.add-comment form input[type=submit] {
|
|
width: auto;
|
|
border-left: 0;
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
.post-box .post-comments .post-comment.add-comment form input[type=text] {
|
|
width: 13em;
|
|
border-right: 0;
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
.post-box .post-comments .post-comment.add-comment button {
|
|
margin-left: 0.8em;
|
|
width: fit-content;
|
|
}
|
|
.post-box .post-comments .post-comment .comment-author {
|
|
font-size: 0.9em;
|
|
vertical-align: center;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.index-flex {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
}
|
|
.index-flex .new-users, .index-flex .statistics {
|
|
margin-top: 0 !important;
|
|
}
|
|
.index-flex .new-users > div, .index-flex .statistics > div {
|
|
border: 1px solid grey;
|
|
padding: 0.2em;
|
|
width: fit-content;
|
|
padding-right: 1.5em;
|
|
}
|
|
.index-flex .new-users > div a, .index-flex .statistics > div a {
|
|
text-decoration: none;
|
|
}
|
|
.index-flex .statistics > div {
|
|
min-height: 235px;
|
|
margin: 1em;
|
|
}
|
|
|
|
.errors > li {
|
|
border: 1px solid red;
|
|
padding: 0.3em;
|
|
}
|
|
|
|
form {
|
|
background: white;
|
|
width: fit-content;
|
|
margin: 0 auto 0 auto;
|
|
padding: 1em;
|
|
border: grey 1px solid;
|
|
white-space: nowrap;
|
|
}
|
|
form label {
|
|
display: inline-block;
|
|
min-width: 10em;
|
|
}
|
|
form input {
|
|
border: #ccc 1px solid;
|
|
border-bottom: #ccc 2px solid;
|
|
padding: 3px;
|
|
margin-top: 10px;
|
|
font-size: 1em;
|
|
border-radius: 4px;
|
|
}
|
|
form input[type=submit] {
|
|
width: 100%;
|
|
}
|
|
|
|
.button {
|
|
background: #2ecc71;
|
|
width: 125px;
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
color: white;
|
|
border-radius: 4px;
|
|
border: #27ae60 1px solid;
|
|
float: left;
|
|
margin: 0 0 0 16px;
|
|
font-weight: 800;
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.button:hover {
|
|
background: #2CC06B;
|
|
}
|
|
|
|
/*# sourceMappingURL=styles.css.map */
|