-
Notifications
You must be signed in to change notification settings - Fork 0
/
reddit.scss
163 lines (157 loc) · 2.82 KB
/
reddit.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
@import url(https://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic,700italic);
html, body {
background-color: #000;
color: #fff;
font-size: 0.9em;
}
html, body, input {
font-family: 'Noto Sans', Arial, sans-serif;
}
input {
border: 0;
padding: 0 2px;
}
html, body, h1, h2, h3, h4, h5, h6, form, .post .caption p {
margin: 0;
padding: 0;
}
#images, #form {
width: 100%;
/* max-width: 700px; */
margin-left: auto;
margin-right: auto;
@media screen and (max-width: 1280px) {
max-width: 100% !important;
}
}
#navigation {
text-align: center;
margin: 30px 0px;
}
a {
&.navbutt {
padding: 6px 10px;
margin: 10px;
background-color: #666;
border-radius: 5px;
text-decoration: none;
@media screen and (max-width: 480px) {
padding: 3px 5px;
margin: 3px;
}
&:link, &:visited {
color: #fff;
}
&:hover {
background-color: #777;
}
&:active {
padding: 5px 9px;
}
}
&.disabled {
background-color: #333 !important;
&:link, &:visited {
color: #999;
}
&:hover {
background-color: #333 !important;
}
&:active {
padding: 6px 10px !important;
}
}
}
.post {
margin-bottom: 20px;
color: #fff;
h2 {
padding: 0;
}
p {
margin: 10px 0;
}
figure {
margin: 0;
}
}
.video {
position: relative;
padding-top: 25px;
padding-bottom: 56.25%;
/* 16:9 = 9/16*100 */
height: 0;
iframe, embed, object {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
.html5-video video {
width: 100% !important;
height: auto !important;
}
.images{
a img {
display: block;
width: 100%;
margin: 0;
margin-top: 20px;
}
a:first-child img {
margin-top: 0;
}
}
.audio, .audio iframe {
width: 100%;
height: 116px;
}
.caption {
background-color: #222;
color: #999;
padding: 10px 20px;
font-size: 11px;
overflow-x: hidden;
}
.source {
color: #999;
font-size: 9px;
padding: 3px 0px;
overflow-x: hidden;
}
.grey {
color: #666;
}
a {
&:link, &:visited, &:active {
color: #666;
&.nolink {
color: #fff;
text-decoration: none;
}
}
}
#showform, #advoptions, #navigation {
display: none;
}
#form, #inputform {
text-align: center;
margin-top: 5px;
.main {
font-size: 150%;
}
}
#advoptions {
margin-top: 10px;
}
label {
font-weight: bold;
}
.plain {
font-weight: normal;
}
blockquote {
margin: 5px 20px;
}