forked from HamptonMakes/wikimedia-mobile
/
application.sass
178 lines (164 loc) · 3.36 KB
/
application.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
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
178
/ THINGS TO HIDE
span.t, sup[style*="help"], .reference, .portal, .editsection, #protected-icon, .references-small, .sisterproject, .printfooter, .catlinks, .magnify, #siteSub, #jump-to-nav
:display none
.logo
text-align: right
padding-top: 5px
a
clear: right
#main_box
margin-top: -20px
/ GLOBALS
html
:font-size 67.5%
body
:line-height 1
:font-size 1.2em
:color #000
:background #fff
:font-family sans-serif
:overflow-x hidden
:-webkit-user-select none
:-webkit-text-size-adjust none
p, li, dl, #featured_article
:line-height 1.65
pre
:white-space pre-wrap
h2
:border-bottom 1px solid #aaa
:padding 5px 0
a
:text-decoration none
:color #002bb8
&:visited
:color #5a3696
&:active
:color #faa700
&:hover
:text-decoration underline
.links
float: left
padding: 10px
/ MISC THINGS
#contentSub, .dablink
:margin-bottom 10px
img.thumbborder
:border 1px solid #ccc
/ IMAGES BOXES
.thumb
:border 1px solid #ccc
:background #f9f9f9
:margin-bottom 10px
.thumbinner[style]
:margin 5px auto
.thumbcaption
:width 100%
:margin 5px 10px 0
:text-align center
:width auto !important
/ TABLE INSANITY !!!
table
:border-spacing 0 !important
:width 100%
:border-collapse collapse !important
:border 1px solid #ccc
:padding 3px
:margin-bottom 15px
td, th
:border 1px solid #ccc
:padding 3px
table
:border 0
td, th
:border 0
&.toc
:background #f9f9f9
h2
:border 0
:padding 0
:margin-top 5px
&.navbox
:font-size 0.9em
:width 100% !important
th.navbox-title
:background #CCCCFF
:padding 5px
td.navbox-abovebelow
:padding 3px
td.navbox-group
:background #DDDDFF
:width 25%
:padding 3px
td.navbox-group+td
:padding 3px
div[style*="padding"]
:padding-left 0 !important
:padding-right 0 !important
a
:white-space pre-wrap
span[style*="white"]
:white-space pre-wrap !important
td, th
:padding 0
table
:margin-bottom 0
&.wikitable
th
:background #f3f3f3
&[style]
:width 100% !important
:float none !important
:margin-left 0 !important
&.infobox
:background #f9f9f9
th, td
:border 0
td[colspan="3"], th[colspan="3"]
:border 1px solid #ccc
&.gallery
:background #f9f9f9
:border-bottom 0
th, td
:display block
:border 0
:border-bottom 1px solid #ccc
.gallerybox[style]
:width auto !important
:margin-bottom -16px
.thumb[style]
:border 0
:padding 0 !important
:width auto !important
:margin 0 auto
.gallerytext
:margin-top -12px
:text-align center
&.geography[style]
th
:text-align left
span span
:display block
td[style*="text-align"], td[colspan="2"]
:text-align left !important
:margin-left 0 !important
:margin-right 0 !important
div[style]
:text-align left !important
table.admin
width: 300px
/ HELP SECTION
.help
dt
:font-weight bold
:border-bottom 1px solid #aaa
:padding-bottom 2px
:font-size 1.05em
dd
:margin-bottom 25px
:margin-left 20px
.today
.noprint
display: none
/ hacks for different languages
.floatright
float: right