forked from voteliquid/liquid.us
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.sass
150 lines (100 loc) · 2.27 KB
/
styles.sass
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
// Fix navbar hamburgering too early
$navbar-breakpoint: 720px // when logged_in navbar items start overlapping
// Extend from Bulma defaults
@import "./node_modules/bulma/bulma.sass"
input
&[disabled],
fieldset[disabled] &
-webkit-text-fill-color: $input-disabled-color
opacity: 1
.has-text-no-underline
text-decoration: none !important
// Slightly reduce navbar height
.navbar-item
padding: 0.3rem 0.75rem
.image .is-rounded
object-fit: cover
body
scroll-behavior: smooth
height: 100%
body, .panel
font-size: .9rem
#wrapper
position: relative
.router
min-height: 50vh
.section
padding: 2rem 1.5rem 3rem
@media (max-width: 768px)
.section
padding-top: 1rem
.content a
display: inline-block
word-break: break-all
a.has-text-grey-light:hover
color: hsl(0, 0%, 48%)!important
.responsive-video-outer
max-width: 560px
.responsive-video-inner
overflow: hidden
position: relative
padding-top: 25px
padding-bottom: 56.25%
height: 0
.responsive-video-inner iframe
position: absolute
top: 0
left: 0
width: 100%
height: 100%
// https://github.com/jgthms/bulma/issues/727
.fix-bulma-centered-text
display: inline-block !important
.content s
opacity: 0.65
.border-radius-small
border-radius: 2px
// responsive table style
.table .responsive-label
display: none
@media screen and (max-width: 800px)
.table td.responsive-inline-block
display: inline-block
text-color: inherit
.is-responsive
width: 100%
border-collapse: collapse
border-spacing: 0
display: block
position: relative
.responsive-bold
font-weight: bold
.table.is-responsive .responsive-label
display: inline
.table.is-responsive td
margin: 0
padding: 0 .5em
vertical-align: top
.is-responsive thead
display: none
.is-responsive tbody
display: block
width: 100%
position: relative
.is-responsive tbody tr
border-bottom: 1px solid #EEE
display: block
vertical-align: top
padding-bottom: 1rem
.is-responsive tr
text-align: left
border: none
.is-responsive td
border: none
display: block
min-height: 1.25em
text-align: left !important
.is-responsive td:first-child
padding-top: 1rem
.is-responsive td:empty
display: none