1
0
Fork 0
mirror of https://github.com/Findus23/se-simulator.git synced 2024-09-19 15:53:45 +02:00
se-simulator/web/static/sass/style.scss
Lukas Winkler ea0e9078d8
voting
2018-03-25 11:28:37 +02:00

107 lines
1.8 KiB
SCSS

$link-color: #07C;
$link-hover-color: #3af;
@import "../../milligram/src/milligram";
@import "pagination";
body {
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
color: #111;
}
pre > code {
white-space: pre-wrap;
}
.question {
position: relative;
display: flex;
flex-direction: row;
padding: 15px 5px 30px;
border-bottom: solid lightgray 1px;
border-right: solid 10px transparent;
.questionbox {
margin-left: 10px;
width: 100%;
.sitename {
position: absolute;
font-size: 10px;
color: grey;
right: 5px;
&:hover {
text-decoration: underline;
}
}
.date{
position: absolute;
right: 5px;
bottom: 5px;
font-size: 12px;
color: grey;
}
.questionfooter {
display: flex;
justify-content: right;
margin: 0;
.authorbox {
background: #E1ECF9;
font-size: 12px;
padding: 5px;
}
}
}
.title {
font-size: 20px;
color: $link-color;
&:hover {
color: $link-hover-color;
}
}
.vote {
width: 30px;
display: flex;
flex-direction: column;
div {
text-align: center;
margin: 10px 0;
}
a {
font-size: 20px;
width: 0;
height: 0;
border-style: solid;
cursor: pointer;
}
.up {
border-width: 0 15px 15px 15px;
border-color: transparent transparent #858c93 transparent;
}
.down {
border-width: 15px 15px 0 15px;
border-color: #858c93 transparent transparent transparent;
}
}
}
h1{
border-bottom: solid 1px lightgray;
padding-bottom: 10px;
margin-bottom: 0;
margin-top: 10px;
color: inherit;
}
.siteheader {
background: #ebf2f5;
display: flex;
height: 50px;
align-items: center;
.gotolink {
margin-left: auto;
color: inherit;
}
}