-
Notifications
You must be signed in to change notification settings - Fork 4
/
narrow.less
executable file
·177 lines (138 loc) · 2.57 KB
/
narrow.less
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
@media only screen and (max-width:500px) {
* {
line-height: 140%;
}
header {
text-align: center;
h1 {
display: block;
font-size: 24px;
margin-bottom: 5px;
}
.button {
display: block;
float: none;
text-align: center;
width: 60%;
margin: 0 auto;
}
.inner-wrapper {
padding: 10px 15px 18px 15px;
}
}
.event-card {
max-width: 100%;
}
.month {
padding: 20px;
.month-header {
h1 {
text-align: center;
font-size: 20px;
margin: 0 0 5px 0;
float: none;
* {
font-size: 20px !important;
font-weight: 400;
}
}
.filter-events-wrapper {
display: block;
width: 100%;
margin-bottom: 10px;
}
}
}
.event-popup-wrapper {
.event-popup {
position: fixed;
top: 10px;
bottom: 10px;
left: 10px;
margin: 0;
right: 10px;
width: auto;
height: auto;
padding: 25px 20px;
}
h1 {
font-size: 22px;
padding: 0;
margin: 0 0 18px 0;
text-align: left;
width: ~"calc(100% - 70px)";
}
.event-description {
font-size: 20px;
}
.event-date {
float: none;
display: block;
color: rgba(0,0,0,.6);
font-size: 18px;
margin: 0;
text-align: left;
}
.close-pop, .event-nav {
opacity: .3;
border: solid 2px white;
box-sizing: border-box;
height: 55px;
width: 55px;
&:hover {
opacity: .45;
}
}
.close-pop {
background: black;
border-radius: 50%;
right: 25px;
top: 25px;
z-index: 9999999;
img {
width: 18px;
position: relative;
}
.key-label {
display: none;
}
}
.right-col,.left-col {
float: none;
width: auto;
}
.event-nav {
position: absolute;
top: 25px;
cursor: pointer;
background: black;
padding: 0;
text-align: center;
border-radius: 50%;
transition: opacity .15s ease-out;
z-index: 9999999;
top: auto;
bottom: 30px;
img {
position: relative;
top: 5px;
width: 20px;
}
&.previous {
left: auto;
right: 85px;
}
&.next {
right: 25px;
img {
transform: rotate(180deg);
}
}
}
}
}
@media only screen and (max-width:850px) {
.event-nav {
background: rgba(0,0,0,.5);
}
}