Skip to content

Commit 167c651

Browse files
committed
Polishing CSS + make the PDF export font sans-serif
1 parent 9ae444d commit 167c651

File tree

1 file changed

+42
-40
lines changed

1 file changed

+42
-40
lines changed

jquery.s5.css

Lines changed: 42 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
body, body < * {
1+
body, body > * {
22
margin: 0;
33
padding: 0;
4-
z-index: 1;
54
background-color: white;
6-
position: absolute;
75
}
86

97
body * {
10-
border: none ! important;
8+
border: none !important;
119
}
1210
.s5-slide * {
1311
line-height: 1em;
@@ -23,8 +21,8 @@ body * {
2321

2422
.s5-background {
2523
position: fixed;
26-
left: 0px;
27-
top: 0px;
24+
left: 0;
25+
top: 0;
2826
z-index: 0;
2927
width: 100%;
3028
height: 100%;
@@ -34,15 +32,15 @@ body * {
3432
position: relative;
3533
z-index: 5;
3634
font-size: 2em;
37-
background: none ! important;
35+
background: none !important;
3836
}
3937

4038
.s5-footer {
4139
width: 100%;
4240
position: fixed;
4341
z-index: 103;
44-
bottom: 0px;
45-
left: 0px;
42+
bottom: 0;
43+
left: 0;
4644
font-size: 0.5em;
4745
padding: 5px;
4846
padding-left: 1em;
@@ -62,29 +60,29 @@ body * {
6260
position: absolute;
6361
top: 0;
6462
left: 0;
65-
padding: 0px;
63+
padding: 0;
6664
z-index: 5;
6765
font-size: 1em;
68-
background-color: transparent ! important;
69-
background-image: none ! important;
66+
background-color: transparent !important;
67+
background-image: none !important;
7068
}
7169
.s5-slide-print {
72-
padding: 0px;
70+
padding: 0;
7371
font-size: 1em;
74-
background-color: transparent ! important;
75-
background-image: none ! important;
72+
background-color: transparent !important;
73+
background-image: none !important;
7674
page-break-after: always;
7775
}
7876

7977

8078
.s5-hide {
8179
position: absolute;
82-
overflow: hidden ! important;
83-
height: 0px ! important;
84-
width: 0px ! important;
80+
overflow: hidden !important;
81+
height: 0 !important;
82+
width: 0 !important;
8583
z-index: -100;
86-
opacity: 0.001 ! important;
87-
filter: alpha(opacity=001) ! important;
84+
opacity: 0.001 !important;
85+
filter: alpha(opacity=001) !important;
8886
}
8987

9088
.s5-slide td {
@@ -97,11 +95,11 @@ body * {
9795

9896
.s5-outline {
9997
position: fixed;
100-
bottom: 0px;
101-
padding: 0px ! important;
102-
margin: 0px ! important;
98+
bottom: 0;
99+
padding: 0 !important;
100+
margin: 0 !important;
103101
width: 250px;
104-
font-size: 12px ! important;
102+
font-size: 12px !important;
105103
background-color: white;
106104
z-index: 105;
107105
display: none;
@@ -111,12 +109,12 @@ body * {
111109

112110
.s5-outline .s5-outlook-close {
113111
font-weight: bold;
114-
font-size: 18px ! important;
115-
line-height: 20px ! important;
112+
font-size: 18px !important;
113+
line-height: 20px !important;
116114
width: 1em;
117115
position: absolute;
118-
padding: 0px ! important;
119-
margin: 0px ! important;
116+
padding: 0 !important;
117+
margin: 0 !important;
120118
text-align: center;
121119
background: url("images/back.png") repeat-x scroll 50% 50% #CCCCCC;
122120
cursor: pointer;
@@ -130,16 +128,16 @@ body * {
130128
}
131129

132130
.s5-outline ul {
133-
border: 0px;
134-
margin: 0px;
131+
border: 0;
132+
margin: 0;
135133
padding-left: 17px;
136134
height: inherit;
137135
overflow-y: scroll;
138136
}
139137

140138
.s5-outline li {
141-
border: 0px;
142-
margin: 0px;
139+
border: 0;
140+
margin: 0;
143141
height: 22px;
144142
white-space: nowrap;
145143
list-style: none;
@@ -150,8 +148,8 @@ body * {
150148
position: fixed;
151149
text-align: center;
152150
z-index: 104;
153-
bottom: 0px;
154-
left: 0px;
151+
bottom: 0;
152+
left: 0;
155153
width: 100%;
156154
}
157155

@@ -166,26 +164,30 @@ body * {
166164
left: -10000em;
167165
top: -10000em;
168166
}
169-
/* Added for compatibility with tikiwiki */
167+
/* Added for compatibility with Tiki */
170168
#cboxOverlay {
171-
display: none ! important;
169+
display: none !important;
172170
}
173171

174172
#show-errors-button {
175-
display: none ! important;
173+
display: none !important;
176174
}
177175

178176
.icon_edit_section {
179177
position: relative;
180-
float: left ! important;
178+
float: left !important;
181179
display: none;
182180
}
183181

184182
/*pdf styling*/
185183

186184
@page {
187-
margin: 0px;
188-
padding: 0px;
185+
margin: 0;
186+
padding: 0;
187+
}
188+
189+
.s5pdf {
190+
font-family: "Helvetica", sans-serif;
189191
}
190192

191193
.s5pdf .s5-slide-grid {

0 commit comments

Comments
 (0)