forked from KristerV/javaCheatsheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
47 lines (43 loc) · 768 Bytes
/
index.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
body {
margin-left: calc(30%);
max-width: 900px;
width: 70%;
font-family: Verdana, Arial;
}
img {
max-width: 100%;
}
ul {
padding-left: 1em;
}
img[src$=".svg"] {
min-width: 150px;
}
.ribbon {
position: fixed;
right: -5px; top: -5px;
z-index: 1;
overflow: hidden;
width: 150px; height: 150px;
text-align: right;
}
.ribbon span {
font-weight: bold;
color: #FFF;
text-transform: uppercase;
text-align: center;
line-height: 40px;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
width: 200px;
display: block;
background: #79A70A;
background: linear-gradient(#05EFF7 0%, #087F8F 100%);
box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
position: absolute;
top: 40px; right: -42px;
}
.ribbon a {
color: white;
text-decoration: none;
}