/
posts.scss
107 lines (94 loc) · 1.99 KB
/
posts.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
// Place all the styles related to the posts controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
.subthread {
padding-left: 3%;
border-left: 1px solid lighten($gray-light, 10%);
}
.current-post {
font-weight: bold;
}
.post h1 {
font-size: 18px;
}
.post h2, h3 {
font-size: 16px;
}
.modal-backdrop.in {
opacity: 1.0;
}
.thread {
@include threadishLinks();
border-bottom: 1px solid $gray-light;
margin-top: 30px;
padding-bottom: 30px;
@media (max-width: 767px) {
margin-top: 15px;
padding-bottom: 15px;
}
}
.current-post-body {
@include threadishLinks();
}
.post-body {
padding-left: 12px
}
#top-matter {
font-family: $font-family-serif;
@include threadishLinks();
font-size: $font-size-base + 2px;
border-top: $font-size-base solid $visited-red;
border-bottom: $font-size-base solid $visited-red;
margin-top: $font-size-base;
padding-top: $font-size-base;
@media (max-width: 767px) {
margin-bottom: 15px;
padding-bottom: 15px;
}
@media (min-width: 767px) {
margin-bottom: 30px;
padding-bottom: 30px;
}
}
#top-nav-bar {
margin-left: 10%;
margin-right: 10%;
}
#main, #page_header {
/* Old Bootstrap 2 container-fluid */
padding-left: 20px;
padding-right: 20px;
}
#post_body {
height: 20em;
}
span.short-post-time {
font-size: 70%;
}
// Spailer tags
a[href="#s"] {
display: inline-block;
background: $gray-light;
color: white;
text-derocation: none;
cursor: text;
}
a[href="#s"]:hover {
text-decoration: none;
}
a[href="#s"]:visited {
color: white;
text-decoration: none;
}
a[href="#s"]::after {
content: attr(title);
background: $text-color;
color: $text-color;
visibility: visible;
border-radius: 3px;
padding: 0 3px;
margin-left: 5px;
}
a[href="#s"]:hover::after, a[href="#s"]:active::after {
color: white;
}