This repository has been archived by the owner on Mar 11, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
169 lines (144 loc) · 2.35 KB
/
app.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
h1 {
font-family: Open Sans, sans-serif;
font-size: 18px;
text-align: center;
padding: 20px 0 20px 0;
}
.container {
width: 600px;
height: 750px;
position: relative;
}
.table {
position: relative;
top: 200px;
margin: 0 auto;
border-bottom: 200px solid brown;
border-left: 100px solid transparent;
border-right: 100px solid transparent;
height: 0;
width: 300px;
}
.table-legs-first {
position: relative;
top: 200px;
margin: 0 auto;
width: 360px;
height: 200px;
border-left: 30px solid brown;
border-right: 30px solid brown;
}
.table-legs-second {
position: relative;
top: -120px;
margin: 0 auto;
width: 180px;
height: 200px;
border-left: 20px solid brown;
border-right: 20px solid brown;
}
.pizza-box-cover {
position: relative;
margin: 0 auto;
top: -500px;
border-bottom: 120px solid grey;
border-left: 30px solid transparent;
border-right: 30px solid transparent;
height: 0;
width: 100px;
}
.pizza-box {
position: relative;
margin: 0 auto;
top: -500px;
width: 150px;
height: 150px;
background: white;
border: 5px solid grey;
}
.pizza {
position: relative;
border: 7px solid #895E25;
padding: 0;
margin: 7px auto;
width: 120px;
height: 120px;
border-radius: 50%;
list-style: none;
overflow: hidden;
}
li {
overflow: hidden;
position: absolute;
top: 0;
right: 0;
width: 50%;
height: 50%;
transform-origin: 0% 100%;
background: #F9E3A5;
border: 1px solid white;
}
.slice {
width: 100%;
height: 100%;
}
li:first-child {
transform: rotate(0deg) skewY(-45deg);
}
li:nth-child(2) {
transform: rotate(45deg) skewY(-45deg);
}
li:nth-child(3) {
transform: rotate(90deg) skewY(-45deg);
}
li:nth-child(4) {
transform: rotate(135deg) skewY(-45deg);
}
li:nth-child(5) {
transform: rotate(180deg) skewY(-45deg);
}
li:nth-child(6) {
transform: rotate(225deg) skewY(-45deg);
}
li:nth-child(7) {
transform: rotate(270deg) skewY(-45deg);
}
li:nth-child(8) {
transform: rotate(315deg) skewY(-45deg);
}
.salami {
width: 20px;
height: 20px;
background: red;
border-radius: 50%;
position: relative;
top: -68px;
left: 25px;
}
.salami.two {
top: -120px;
}
.salami.three {
left: 105px;
top: -105px;
}
.salami.four {
left: 105px;
top: -158px;
}
.salami.five {
left: 48px;
top: -200px;
}
.salami.six {
left: 80px;
top: -220px;
}
.salami.seven {
left: 80px;
top: -164px;
}
.salami.eight {
left: 48px;
top: -184px;
}