This repository has been archived on 2024-08-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
redstoner.com/app/assets/stylesheets/screen.css.scss
2013-06-01 02:51:54 +02:00

175 lines
3.0 KiB
SCSS

/* CSS for PCs only */
$lightgrey: #D1D1D1;
$midgrey: #787878;
$darkgrey: #434343;
$darkred: #AB0000;
@media only screen
and (min-width: 1000px)
{
a {
transition: color 0.25s;
color: $darkred;
text-decoration: none;
&:hover {
color: #F00;
}
}
a.arrow {
background: url('/assets/arrow-midgrey.png') no-repeat left;
color: $midgrey;
padding-left: 0.7em;
margin: 0.6em;
&:hover {
background: url('/assets/arrow-darkred.png') no-repeat left;
color: $darkred;
padding-left: 0.7em;
}
}
#notice {
background: #8e8;
text-align: center;
padding: 10px;
border-bottom: 3px dashed #8d8;
font-weight: bold;
}
#alert {
background: #ebb;
text-align: center;
padding: 10px;
border-bottom: 3px dashed #fdd;
font-weight: bold;
}
#head {
width: 100%;
height: 50px;
background: $lightgrey;
border-bottom: 10px solid $darkgrey;
vertical-align: middle;
font-weight: bold;
box-shadow: 0 0 2px;
z-index: 99;
position: relative;
text-shadow: 1px 1px #555;
#logo {
margin: 9px;
margin-left: 20px;
height: 32px;
width: 32px;
float: left;
background: url('/assets/logo.png');
}
a {
color: $midgrey;
&:hover {
color: $darkred;
}
}
#menu {
margin: auto;
display: table;
ul {
float: left;
margin-top: 0;
li {
float: left;
height: 100%;
margin: auto 10px;
display: block;
font-size: 2.3em;
}
}
}
#userinfo {
float: right;
padding: 0 10px;
margin-top: 6px;
img.avatar {
border: 1px solid #000;
border-radius: 16px;
vertical-align: middle;
&:hover {
box-shadow: 0 0 2px;
}
}
#userinfo-box {
float: left;
text-align: right;
margin: 5px;
line-height: 1em;
}
}
}
img.user-avatar {
border: 1px solid #000;
border-radius: 4px;
}
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: 400%;
margin: 0;
color: #888;
text-shadow: 0 1px #999;
}
}
#posts {
#post {
margin-bottom: 50px;
#post-title {
margin-bottom: 10px;
h2 {
font-weight: normal;
color: #700;
text-transform: uppercase;
display: inline;
font-size: 250%;
}
.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;
}
#comments {
margin: 50px 0 0 40px;
textarea {
width: 480px;
height: 106px;
max-width: 610px;
}
}
}