regluit/static/scss/comments.scss

70 lines
881 B
SCSS
Raw Normal View History

2018-01-30 20:31:20 +00:00
@import "variables.scss";
.comments {
clear: both;
padding: 5px;
margin: 0 5px 8px 0;
//min-height: 105px;
width: 95%;
2018-02-03 03:34:54 +00:00
2018-01-30 20:31:20 +00:00
&.row1 {
background: #f6f9f9;
}
2018-02-03 03:34:54 +00:00
2018-01-30 20:31:20 +00:00
&.row2 {
background: #fff;
}
2018-02-03 03:34:54 +00:00
2018-01-30 20:31:20 +00:00
div {
float: left;
2018-02-03 03:34:54 +00:00
2018-01-30 20:31:20 +00:00
img {
margin: 0 5px;
}
}
2018-02-03 03:34:54 +00:00
2018-01-30 20:31:20 +00:00
.image img {
height: 100px;
}
2018-02-03 03:34:54 +00:00
2018-01-30 20:31:20 +00:00
// so div will stretch to height of content
&:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
2018-02-03 03:34:54 +00:00
2018-01-30 20:31:20 +00:00
.nonavatar {
width: 620px;
2018-02-03 03:34:54 +00:00
2018-01-30 20:31:20 +00:00
span {
padding-right: 5px;
2018-02-03 03:34:54 +00:00
2018-01-30 20:31:20 +00:00
&.text:before {
content: "\201C";
font-size: $font-size-larger;
font-weight: bold;
}
&.text:after {
content: "\201D";
font-size: $font-size-larger;
font-weight: bold;
}
}
}
2018-02-03 03:34:54 +00:00
2018-01-30 20:31:20 +00:00
.avatar {
float: right;
margin: 0 auto;
padding-top: 5px;
}
}
.official {
border: 3px #B8DDE0 solid;
margin-top: 3px;
margin-bottom: 5px;
padding-left: 2px;
}