Skip to content

Commit fb9c5aa

Browse files
author
Sebastian Kippe
committed
Prettify CSS
Makes the CSS more readable and easier to maintain
1 parent 8430422 commit fb9c5aa

File tree

1 file changed

+71
-11
lines changed

1 file changed

+71
-11
lines changed

style.css

Lines changed: 71 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
html { background:#000; height: 100%; }
1+
html {
2+
background: #000;
3+
height: 100%;
4+
}
5+
26
body {
37
margin: 0;
48
min-height: 100%;
@@ -11,17 +15,73 @@ body {
1115
background-attachment: fixed;
1216
}
1317

14-
#wrapper { font-size: 1.5em; width:480px; padding:50px; margin:0; }
18+
#wrapper {
19+
font-size: 1.5em;
20+
width: 480px;
21+
padding: 50px;
22+
margin: 0;
23+
}
24+
25+
#remotestorage-widget {
26+
top: 0.5em;
27+
right: 0.5em;
28+
position: absolute;
29+
}
30+
31+
#background {
32+
width: 100%;
33+
position: fixed;
34+
top: -100px;
35+
left: 0;
36+
z-index: -1;
37+
}
38+
39+
#add-drink input {
40+
float: left;
41+
width: 380px;
42+
height: 30px;
43+
padding: 10px;
44+
font-size: 24px;
45+
border: none;
46+
}
47+
48+
#add-drink button {
49+
width: 80px;
50+
height: 50px;
51+
padding: 10px;
52+
font-size: 24px;
53+
background: #ccc;
54+
border: none;
55+
cursor: pointer;
56+
}
57+
58+
#add-drink button:hover {
59+
background: #aaa;
60+
}
1561

16-
#remotestorage-widget { top:0; right:1em; position:absolute }
62+
li {
63+
line-height: 1.5em;
64+
}
1765

18-
#background { width:100%; position:fixed; top:-100px; left:0; z-index:-1; }
19-
#background-credit { position:fixed; bottom:5px; right:10px; font-size:10px; opacity:.3; white-space:nowrap; }
20-
#background-credit a { color:#fff; }
66+
li span {
67+
cursor: pointer;
68+
opacity: 0.3;
69+
}
2170

22-
#add-drink input { float:left; width:380px; height:30px; padding:10px; font-size:24px; border:none;}
23-
#add-drink button { width:80px; height:50px; padding:10px; font-size:24px; background:#ccc; border:none; cursor:pointer; }
24-
#add-drink button:hover { background:#aaa; }
71+
li span:hover {
72+
opacity: 1;
73+
}
74+
75+
#background-credit {
76+
position: fixed;
77+
bottom: 5px;
78+
right: 10px;
79+
font-size: 10px;
80+
opacity: 0.3;
81+
white-space: nowrap;
82+
}
83+
84+
#background-credit a {
85+
color: #fff;
86+
}
2587

26-
li span { cursor:pointer; opacity:.3; }
27-
li span:hover { opacity:1; }

0 commit comments

Comments
 (0)