Skip to content

Commit 0d79c98

Browse files
committed
Version 0.4.1
1 parent 44dd806 commit 0d79c98

20 files changed

+2712
-2455
lines changed

Demo/Demo.css

Lines changed: 121 additions & 121 deletions
Original file line numberDiff line numberDiff line change
@@ -2,51 +2,51 @@
22
/* Global */
33

44
html {
5-
height: 100%;
6-
min-height: 100%;
5+
height: 100%;
6+
min-height: 100%;
77
}
88

99
body {
10-
position: relative;
11-
min-height: 100%;
12-
font-family: 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
13-
font-size: 17px;
14-
line-height: 1.4;
15-
color: #202428;
16-
background: #fff;
17-
-webkit-font-smoothing: antialiased;
18-
-moz-osx-font-smoothing: grayscale;
10+
position: relative;
11+
min-height: 100%;
12+
font-family: 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
13+
font-size: 17px;
14+
line-height: 1.4;
15+
color: #202428;
16+
background: #fff;
17+
-webkit-font-smoothing: antialiased;
18+
-moz-osx-font-smoothing: grayscale;
1919
}
2020

2121
main {
2222
padding: 20px 0;
2323
}
2424

2525
.container {
26-
position: relative;
27-
width: calc(100% - 60px);
28-
max-width: 1000px;
29-
margin: auto;
26+
position: relative;
27+
width: calc(100% - 60px);
28+
max-width: 1000px;
29+
margin: auto;
3030
}
3131

3232
h2 {
33-
font-size: 22px;
34-
font-weight: normal;
33+
font-size: 22px;
34+
font-weight: normal;
3535
}
3636

3737
@media (max-width: 768px) {
38-
39-
.container {
40-
width: calc(100% - 30px);
41-
}
42-
38+
39+
.container {
40+
width: calc(100% - 30px);
41+
}
42+
4343
}
4444

4545
/* Target elements */
4646

4747
.targets-wrapper {
48-
margin: 0 -5px;
49-
padding: 10px 0 20px;
48+
margin: 0 -5px;
49+
padding: 10px 0 20px;
5050
}
5151

5252
.targets-wrapper:after,
@@ -62,7 +62,7 @@ h2 {
6262
.target,
6363
.target-click,
6464
.target-notice {
65-
cursor: default;
65+
cursor: default;
6666
font-size: 13px;
6767
line-height: 52px;
6868
height: 52px;
@@ -75,159 +75,159 @@ h2 {
7575
float: left;
7676
width: calc(25% - 10px);
7777
margin: 5px;
78-
-webkit-user-select: none;
79-
-moz-user-select: none;
80-
-ms-user-select: none;
81-
user-select: none;
78+
-webkit-user-select: none;
79+
-moz-user-select: none;
80+
-ms-user-select: none;
81+
user-select: none;
8282
}
8383

8484
.target-click,
8585
.target-notice {
86-
cursor: pointer;
86+
cursor: pointer;
8787
}
8888

8989
.target.active,
9090
.target-click.active,
9191
.target-notice.active {
92-
color: #07d;
92+
color: #07d;
9393
}
9494

9595
.demo-img {
96-
float: left;
96+
float: left;
9797
width: calc(25% - 10px);
9898
margin: 5px;
9999
}
100100

101101
.demo-img > img {
102-
border: 4px solid #eee;
103-
border-radius: 2px;
104-
width: 100%;
105-
height: auto;
106-
filter: grayscale(100%);
107-
transition: filter .2s, border-color .2s;
102+
border: 4px solid #eee;
103+
border-radius: 2px;
104+
width: 100%;
105+
height: auto;
106+
filter: grayscale(100%);
107+
transition: filter .2s, border-color .2s;
108108
}
109109

110110
.demo-img:hover > img {
111-
filter: none;
112-
border-color: #ddd;
111+
filter: none;
112+
border-color: #ddd;
113113
}
114114

115115
@media (max-width: 768px) {
116-
117-
.target,
118-
.target-click,
119-
.target-notice {
120-
width: calc(50% - 10px);
121-
}
116+
117+
.target,
118+
.target-click,
119+
.target-notice {
120+
width: calc(50% - 10px);
121+
}
122122

123-
.demo-img > img {
124-
border-width: 2px;
125-
}
126-
123+
.demo-img > img {
124+
border-width: 2px;
125+
}
126+
127127
}
128128

129129
/* jBox styles */
130130

131131
.ajax-sending {
132-
color: #07d;
132+
color: #07d;
133133
}
134134

135135
.ajax-complete {
136-
color: #6c0;
136+
color: #6c0;
137137
}
138138

139139
.ajax-success tt {
140-
color: #666;
141-
display: block;
142-
padding-top: 10px;
143-
font-size: 13px;
140+
color: #666;
141+
display: block;
142+
padding-top: 10px;
143+
font-size: 13px;
144144
}
145145

146146
.ajax-error {
147-
color: #d00;
147+
color: #d00;
148148
}
149149

150150
/* Header */
151151

152152
header {
153-
height: 50px;
154-
line-height: 50px;
155-
font-size: 17px;
156-
background: #262c33;
157-
color: #99a3ad;
158-
box-shadow: 0 0 4px rgba(0, 0, 0, .6);
153+
height: 50px;
154+
line-height: 50px;
155+
font-size: 17px;
156+
background: #262c33;
157+
color: #99a3ad;
158+
box-shadow: 0 0 4px rgba(0, 0, 0, .6);
159159
}
160160

161161
header a {
162-
margin-right: 20px;
163-
color: #99a3ad;
164-
text-decoration: none;
162+
margin-right: 20px;
163+
color: #99a3ad;
164+
text-decoration: none;
165165
}
166166

167167
header a:last-child,
168168
header a:nth-child(3) {
169-
margin-right: 0;
169+
margin-right: 0;
170170
}
171171

172172
header a.active,
173173
header a:hover {
174-
color: #fff;
175-
text-decoration: none;
174+
color: #fff;
175+
text-decoration: none;
176176
}
177177

178178
#stephan {
179-
display: block;
180-
position: absolute;
181-
top: 50%;
182-
right: 0;
183-
width: 40px;
184-
height: 40px;
185-
margin-top: -20px;
186-
border-radius: 3px;
187-
background: no-repeat -3px -2px url(http://stephanwagner.me/img/stephan.jpg);
188-
background-size: 50px;
189-
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .3);
179+
display: block;
180+
position: absolute;
181+
top: 50%;
182+
right: 0;
183+
width: 40px;
184+
height: 40px;
185+
margin-top: -20px;
186+
border-radius: 3px;
187+
background: no-repeat -3px -2px url(https://stephanwagner.me/img/stephan.jpg);
188+
background-size: 50px;
189+
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .3);
190190
}
191191

192192
#stephan > span {
193-
font-size: 0;
194-
line-height: 0;
195-
white-space: nowrap;
196-
position: absolute;
197-
top: 50%;
198-
right: 50%;
199-
pointer-events: none;
200-
transition: font-size .2s, margin .2s, opacity .2s, line-height .2s;
201-
opacity: 0;
193+
font-size: 0;
194+
line-height: 0;
195+
white-space: nowrap;
196+
position: absolute;
197+
top: 50%;
198+
right: 50%;
199+
pointer-events: none;
200+
transition: font-size .2s, margin .2s, opacity .2s, line-height .2s;
201+
opacity: 0;
202202
}
203203

204204
#stephan:hover > span {
205-
opacity: 1;
206-
font-size: 17px;
207-
margin-right: 40px;
205+
opacity: 1;
206+
font-size: 17px;
207+
margin-right: 40px;
208208
}
209209

210210
@media (max-width: 500px) {
211-
212-
#stephan > span {
213-
display: none;
214-
}
211+
212+
#stephan > span {
213+
display: none;
214+
}
215215

216216
}
217217

218218
/* Common */
219219

220220
.truncate {
221-
text-overflow: ellipsis;
222-
white-space: nowrap;
223-
overflow: hidden;
221+
text-overflow: ellipsis;
222+
white-space: nowrap;
223+
overflow: hidden;
224224
}
225225

226226
.noselect {
227-
-webkit-user-select: none;
228-
-moz-user-select: none;
229-
-ms-user-select: none;
230-
user-select: none;
227+
-webkit-user-select: none;
228+
-moz-user-select: none;
229+
-ms-user-select: none;
230+
user-select: none;
231231
}
232232

233233
.clearfix:after,
@@ -673,52 +673,52 @@ ul, ol, li,
673673
h1, h2, h3, h4, h5, h6,
674674
form, table, tr, td,
675675
div, p, img, pre, iframe {
676-
margin: 0;
677-
padding: 0;
678-
border: 0;
676+
margin: 0;
677+
padding: 0;
678+
border: 0;
679679
}
680680

681681
input, textarea, button, select {
682-
margin: 0;
682+
margin: 0;
683683
}
684684

685685
textarea, img {
686-
display: block;
686+
display: block;
687687
}
688688

689689
html, body {
690-
min-width: 100%;
691-
min-height: 100%;
690+
min-width: 100%;
691+
min-height: 100%;
692692
}
693693

694694
header, nav, footer, section, img {
695-
display: block;
695+
display: block;
696696
}
697697

698698
ul, ol {
699-
list-style: none;
699+
list-style: none;
700700
}
701701

702702
table {
703-
border-collapse: collapse;
704-
border-spacing: 0;
703+
border-collapse: collapse;
704+
border-spacing: 0;
705705
}
706706
td {
707-
vertical-align: top;
707+
vertical-align: top;
708708
}
709709

710710
h1, h2, h3, h4, h5, h6 {
711-
font-weight: normal;
711+
font-weight: normal;
712712
}
713713

714714
* {
715-
outline: none;
716-
box-sizing: border-box;
717-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
718-
-webkit-text-size-adjust: none;
715+
outline: none;
716+
box-sizing: border-box;
717+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
718+
-webkit-text-size-adjust: none;
719719
}
720720

721721
input::-moz-focus-inner,
722722
button::-moz-focus-inner {
723-
border: 0;
723+
border: 0;
724724
}

0 commit comments

Comments
 (0)