-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathstyle.css
79 lines (69 loc) · 1.24 KB
/
style.css
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
.ribbon {
background-color: #1a1a1e;
overflow: hidden;
/* top left corner */
position: absolute;
font-size:16px;
left: -4.2em;
top: 3em;
/* 45 deg ccw rotation */
-moz-transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
/* shadow */
-moz-box-shadow: 0 0 1em #888;
-webkit-box-shadow: 0 0 1em #888;
}
.ribbon a {
border: 1px solid #3a3a3e;
color: #fff;
display: block;
font: bold 100% 'Helvetiva Neue', Helvetica, Arial, sans-serif;
margin: 0.05em 0 0.075em 0;
padding: 0.5em 3.5em;
text-align: center;
text-decoration: none;
/* shadow */
text-shadow: 0 0 0.5em #444;
}
.ribbon a:hover {
color:#346AA8;
}
body {
padding:20px 0 30px;
font:12px/1.5 Arial, sans-serif;
text-align:center;
color:#333;
background:#f3f3f1;
}
a {
font-weight:bold;
color:#346AA8;
}
a:hover,
a:focus,
a:active {
text-decoration:none;
}
.container {
position:relative;
z-index:1;
width:600px;
padding:20px;
margin:0 auto;
}
.container:after {
content:"";
display:block;
clear:both;
visibility:hidden;
height:0;
font-size:0;
}
.box {
float:left;
height:80px;
width:40%;
padding:1em;
margin:2em 10px 4em;
background:#fff;
}