-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
92 lines (69 loc) · 1.57 KB
/
styles.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
.box {
padding: 1.25rem;
}
.round-top-left {
border-top-left-radius: 100%;
}
.round-top-right {
border-top-right-radius: 100%;
}
.round-bottom-right {
border-bottom-right-radius: 100%;
}
.round-bottom-left {
border-bottom-left-radius: 100%;
}
/* More specific to avoid collision with background-color */
div.empty {
background-color: transparent;
border-radius: 0;
}
div.corner {
background-color: transparent;
padding: 0;
}
.corner.flat-top-left {
border-bottom-width: 2.50rem;
border-bottom-style: solid;
border-left: 2.50rem solid transparent;
}
.corner.flat-top-right {
border-bottom-width: 2.50rem;
border-bottom-style: solid;
border-right: 2.50rem solid transparent;
}
.corner.flat-bottom-right {
border-top-width: 2.50rem;
border-top-style: solid;
border-right: 2.50rem solid transparent;
}
.corner.flat-bottom-left {
border-top-width: 2.50rem;
border-top-style: solid;
border-left: 2.50rem solid transparent;
}
@media screen and (min-width: 30em) {
.box {
padding: 1.5rem;
}
.corner.flat-top-left {
border-bottom-width: 3rem;
border-bottom-style: solid;
border-left: 3rem solid transparent;
}
.corner.flat-top-right {
border-bottom-width: 3rem;
border-bottom-style: solid;
border-right: 3rem solid transparent;
}
.corner.flat-bottom-right {
border-top-width: 3rem;
border-top-style: solid;
border-right: 3rem solid transparent;
}
.corner.flat-bottom-left {
border-top-width: 3rem;
border-top-style: solid;
border-left: 3rem solid transparent;
}
}