417 lines
7.1 KiB
SCSS
417 lines
7.1 KiB
SCSS
/* CSS for PCs only */
|
|
|
|
@media only screen
|
|
and (min-width: 1000px)
|
|
{
|
|
|
|
html {
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
body {
|
|
background-image: url('/assets/bg.png');
|
|
background-color: #252525;
|
|
background-attachment: fixed;
|
|
}
|
|
|
|
#mobile-info {
|
|
display: none;
|
|
}
|
|
|
|
a {
|
|
transition: color 0.25s;
|
|
color: #AB0000;
|
|
text-decoration: none;
|
|
&:hover {
|
|
color: #F00;
|
|
}
|
|
}
|
|
.flash {
|
|
text-align: center;
|
|
padding: 10px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
&#notice {
|
|
background: #8e8;
|
|
border-bottom: 3px dashed #8d8;
|
|
}
|
|
&#alert {
|
|
background: #ebb;
|
|
border-bottom: 3px dashed #fdd;
|
|
}
|
|
}
|
|
#head {
|
|
width: 800px;
|
|
margin: -10px auto 20px auto;
|
|
padding: 20px 13px 13px 13px;
|
|
background-image: url('/assets/head_bg.png');
|
|
box-shadow: 0 0 10px -7px inset;
|
|
border-bottom: 1px solid #fff;
|
|
border-radius: 0 0 10px 10px;
|
|
overflow: hidden;
|
|
#logo {
|
|
float: left;
|
|
}
|
|
#userinfo {
|
|
float: right;
|
|
padding: 0 10px;
|
|
img.avatar {
|
|
border: 1px solid #000;
|
|
border-radius: 16px;
|
|
vertical-align: middle;
|
|
height: 32px;
|
|
width: 32px;
|
|
&:hover {
|
|
box-shadow: 0 0 2px;
|
|
}
|
|
}
|
|
#userinfo-box {
|
|
float: left;
|
|
text-align: right;
|
|
margin: 5px;
|
|
line-height: 1em;
|
|
}
|
|
}
|
|
a {
|
|
color: #787878;
|
|
&:hover {
|
|
color: #AB0000;
|
|
}
|
|
}
|
|
#menu {
|
|
width: 100%;
|
|
background: url('/assets/head_bg.png') #fff;
|
|
input {
|
|
display: inline;
|
|
}
|
|
ul {
|
|
float: left;
|
|
margin: 0;
|
|
li {
|
|
float: left;
|
|
height: 100%;
|
|
margin: auto 10px;
|
|
display: block;
|
|
font-size: 1.5em;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
img.user-avatar {
|
|
border: 1px solid #000;
|
|
border-radius: 4px;
|
|
height: 128px;
|
|
width: 128px;
|
|
}
|
|
|
|
img.avatar {
|
|
image-rendering: optimizeSpeed;
|
|
image-rendering:-moz-crisp-edges;
|
|
image-rendering:-o-crisp-edges;
|
|
image-rendering: optimize-contrast;
|
|
image-rendering: -webkit-optimize-contrast;
|
|
-ms-interpolation-mode: nearest-neighbor;
|
|
}
|
|
|
|
span.no-about {
|
|
color: #888;
|
|
font-style: italic;
|
|
}
|
|
|
|
#main-content {
|
|
width: 650px;
|
|
margin: 0 auto;
|
|
background: #eee;
|
|
padding: 30px;
|
|
|
|
h1 {
|
|
font-weight: normal;
|
|
font-size: 200%;
|
|
margin: 0;
|
|
color: #888;
|
|
text-shadow: 0 1px #999;
|
|
}
|
|
}
|
|
|
|
.user-avatar {
|
|
display: block;
|
|
}
|
|
|
|
.post {
|
|
margin-bottom: 50px;
|
|
.post-title {
|
|
margin-bottom: 10px;
|
|
word-wrap: break-word;
|
|
h2 {
|
|
font-weight: normal;
|
|
color: #700;
|
|
text-transform: uppercase;
|
|
display: inline;
|
|
font-size: 200%;
|
|
}
|
|
.comment-counter {
|
|
float: right;
|
|
}
|
|
}
|
|
.post-info {
|
|
border-bottom: 2px dashed #999;
|
|
color: #888;
|
|
a {
|
|
color: #755;
|
|
&:hover{
|
|
color: #d55;
|
|
}
|
|
}
|
|
}
|
|
.post-content {
|
|
margin-top: 10px;
|
|
clear: both;
|
|
word-wrap: break-word;
|
|
overflow: hidden;
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
#comments {
|
|
margin: 50px 0 0 40px;
|
|
.comment {
|
|
margin-bottom: 12px;
|
|
padding: 15px;
|
|
box-shadow: 0 0 10px #bbb inset;
|
|
&:hover .editlink {
|
|
opacity: 1;
|
|
margin-right: 0;
|
|
}
|
|
&.author {
|
|
background: #dadada;
|
|
box-shadow: 0 0 10px #a7a7a7 inset;
|
|
}
|
|
.comment-content {
|
|
word-wrap: break-word;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
textarea {
|
|
width: 480px;
|
|
height: 106px;
|
|
max-width: 610px;
|
|
}
|
|
}
|
|
|
|
input , select, textarea {
|
|
margin: 4px;
|
|
vertical-align: middle;
|
|
&[type=submit] {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
input[type=text], input[type=email], input[type=password], textarea {
|
|
border: 1px solid #aaa;
|
|
border-radius: 3px;
|
|
background: #eee;
|
|
margin: 4px;
|
|
box-shadow: 0 0 5px #959595 inset;
|
|
height: 17px;
|
|
width: 300px;
|
|
padding: 1px 3px;
|
|
display: block;
|
|
}
|
|
|
|
input, select, textarea {
|
|
&.disabled, &[disabled] {
|
|
box-shadow: none;
|
|
background: #ddd;
|
|
}
|
|
}
|
|
|
|
textarea {
|
|
max-width: 100% !important;
|
|
height: 200px;
|
|
padding: 5px 3px;
|
|
&.full-width {
|
|
width: 100%;
|
|
}
|
|
&.vertical {
|
|
resize: vertical;
|
|
}
|
|
&.horizontal {
|
|
resize: horizontal;
|
|
}
|
|
}
|
|
|
|
tr.special_edit {
|
|
background: #faa;
|
|
font-style: italic;
|
|
font-weight: bold;
|
|
box-shadow: 0 0 5px #faa;
|
|
}
|
|
|
|
.field_with_errors {
|
|
input {
|
|
&[type=text], &[type=email], &[type=password] {
|
|
border: 1px solid #f00;
|
|
box-shadow: 0 0 5px #faa inset;
|
|
}
|
|
}
|
|
.error {
|
|
color: #f60;
|
|
}
|
|
}
|
|
|
|
#form_labels {
|
|
text-align: right;
|
|
float: left;
|
|
label {
|
|
display: block;
|
|
padding: 0 0 4px 0;
|
|
margin: 0 4px 4px;
|
|
height: 17px;
|
|
}
|
|
}
|
|
#form_inputs {
|
|
|
|
}
|
|
|
|
.profile-action {
|
|
float: right;
|
|
}
|
|
|
|
.user-banned {
|
|
background: #AB0000;
|
|
color: white;
|
|
font-weight: bold;
|
|
padding: 4px;
|
|
display: block;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.user-unconfirmed {
|
|
background: #AB0000;
|
|
color: white;
|
|
font-weight: bold;
|
|
padding: 4px 10px;
|
|
display: inline-block;
|
|
border-radius: 3px;
|
|
margin: 10px 0;
|
|
box-shadow: 0 0 10px #000;
|
|
}
|
|
|
|
.btn-blue {
|
|
border: 1px solid;
|
|
padding: 6px;
|
|
background: #4096ee;
|
|
cursor: default;
|
|
color: #fff;
|
|
&:hover {
|
|
box-shadow: 0 0 5px #095fb7 inset;
|
|
color: #fff;
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
#userlist {
|
|
.list-user {
|
|
margin: 5px 0;
|
|
display: table;
|
|
a {
|
|
color: #787878;
|
|
display: inline-block;
|
|
&:hover {
|
|
color: #AB0000;
|
|
}
|
|
}
|
|
a.avatar_url {
|
|
float: left;
|
|
height: 64px;
|
|
width: 64px;
|
|
background-color: #fff;
|
|
}
|
|
.user-info {
|
|
margin-left: 10px;
|
|
float: left;
|
|
span {
|
|
display: block;
|
|
}
|
|
.user-name {
|
|
font-weight: bold;
|
|
}
|
|
.user-ign {
|
|
color: #888;
|
|
font-style: italic;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.editlink {
|
|
float: right;
|
|
opacity: 0;
|
|
margin-right: -10px;
|
|
transition: opacity 0.3s, margin 0.3s;
|
|
}
|
|
|
|
#edit_create_post, #edit_create_comment {
|
|
float: left;
|
|
}
|
|
|
|
#delete_post, #delete_comment {
|
|
float: right;
|
|
}
|
|
|
|
#blogpost_text {
|
|
width: 100%;
|
|
}
|
|
|
|
.clear {
|
|
clear: both;
|
|
display: block;
|
|
visibility: hidden;
|
|
}
|
|
|
|
#forum_groups {
|
|
.group {
|
|
margin: 10px 0;
|
|
.header {
|
|
background: #ddd;
|
|
border-radius: 5px 5px 0 0;
|
|
padding: 5px 10px;
|
|
border-bottom: 1px solid #ccc;
|
|
}
|
|
.forums {
|
|
border: 1px solid #ddd;
|
|
border-top: none;
|
|
border-bottom: none;
|
|
.forum {
|
|
display: block;
|
|
font-weight: bold;
|
|
padding: 5px 10px;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.red {
|
|
color: #AB0000;
|
|
font-weight: bold;
|
|
}
|
|
|
|
|
|
pre {
|
|
background: #ddd;
|
|
padding: 0.5em;
|
|
}
|
|
|
|
code {
|
|
background: #ddd;
|
|
}
|
|
|
|
pre code {
|
|
background: inherit;
|
|
padding: 0;
|
|
}
|
|
|
|
} |