-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdefault.css
More file actions
executable file
·150 lines (136 loc) · 3.01 KB
/
Copy pathdefault.css
File metadata and controls
executable file
·150 lines (136 loc) · 3.01 KB
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
/* Default fixes, improvements and modifications for all themes */
/* Font icons */
.fa-angle-down::before {
content: "\f0d7" !important;
}
.fa-angle-up::before {
content: "\f0d8" !important;
}
#search-form .fa.fa-gears::before {
content: "\f00e" !important;
}
/* Advanced search panel cursor */
#advanced-search .panel-default > .panel-heading:hover {
cursor: pointer;
}
/* Threaded replies cleanup */
a.threaded-replies.no-select span.replies-last.hidden-xs {
display: none;
}
/* Reduces the number of font sizes used in posts */
.topic .threaded-replies,
small.pull-left,
.topic span.timeago,
.post-signature,
blockquote {
font-size: 13px !important;
}
/* Correct cursor over vote count span (clickable) */
.pull-right .votes span {
cursor: pointer;
}
/* Blockquote search fontsize/margin fix */
.search blockquote {
font-size: 100%;
margin: 8px 0;
padding: 0 10px;
}
/* Line breaks for code in topics (no horizontal scroll) */
.topic .posts .content pre code {
white-space: pre-wrap !important;
}
/* Code vertical scrollbar from markdown to hljs */
.topic .posts .content pre {
max-height: unset !important;
}
.markdown-highlight .hljs {
max-height: 350px;
}
/* Disabled user-select for logged-in menu (prevents accidental highlighting of dropdown text when dropdown isn't expanded) */
#logged-in-menu.nav.navbar-nav.navbar-right {
user-select: none;
}
/* Position status circles in user menu */
a[component="header/profilelink"] i,
.user-status i {
vertical-align: unset !important;
}
/* Alert margin on Unread page */
#new-topics-alert {
margin-top: 0 !important;
}
/* Copy all code button */
.copy-all-code-button {
position: absolute;
right: 25px;
font-weight: bold;
opacity: 0;
padding: 4px;
border: none;
border-radius: 2px;
outline: none;
}
.markdown-highlight
code[data-theme-preview-checked="true"]
+ .copy-all-code-button {
display: none;
}
.markdown-highlight:hover .copy-all-code-button,
.copy-all-code-button:hover {
opacity: 1;
}
/* theme preview mod */
.theme-preview .themebox {
display: inline-block;
margin: 15px 15px 5px 0;
vertical-align: top;
width: 110px;
}
.theme-preview .themebox .themebox-image svg {
width: 100%;
height: auto;
}
.theme-preview .themebox .themebox-title {
text-align: center;
font-weight: 700;
white-space: normal;
overflow: hidden;
text-overflow: ellipsis;
}
/* Easter egg - Based off of https://codepen.io/aybukeceylan/pen/MWYEoXZ */
.vfm-snow {
position: fixed;
top: 0;
z-index: 3;
width: 100%;
height: 100%;
pointer-events: none;
}
.vfm-snow .vfm-flake {
position: absolute;
background: #fff;
border-radius: 50%;
animation-name: snow-fall, snow-shake;
animation-duration: 12s, 4s;
animation-timing-function: linear, ease-in-out;
animation-iteration-count: infinite, infinite;
}
@keyframes snow-fall {
0% {
top: -10%;
}
100% {
top: 100%;
}
}
@keyframes snow-shake {
0% {
transform: translateX(0px);
}
50% {
transform: translateX(60px);
}
100% {
transform: translateX(0px);
}
}