-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrestaurant_menu.html
More file actions
161 lines (144 loc) · 4.67 KB
/
restaurant_menu.html
File metadata and controls
161 lines (144 loc) · 4.67 KB
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
<html>
<head>
<link href="bundle.css" rel="stylesheet" />
<style>
:root {
--background-size: 50px 85px;
--background-color: #ffdbb5;
--primary-stripe-rgb: #f7cba5;
--secondary-stripe-rgb: rgba(47, 0, 255, 0);
--stripe-point1: 25.5%;
--stripe-point2: calc(100% - var(--stripe-point1));
--stripe-angle1: 60deg;
--stripe-angle2: calc(-1 * var(--stripe-angle1));
--primary-box-stripe: #efb78e;
--secondary-box-stripe: #f4bf94;
--box-dashed: #c07e65;
--box-background: #ffe3a5;
--box-border: #bd7d63;
--box-very-out: #ac7e62;
--wood-color-dark: #8c4e44;
--wood-color-light: #a7654f;
--wood-border-dark: rgb(0, 0, 0, 0.2);
--wood-border-light: rgba(255, 255, 255, 0.1);
--wood-border-width: 2%;
--wood-border-point1: var(--wood-border-width);
--wood-border-point2: calc(50% - var(--wood-border-width));
--wood-border-point3: 50%;
--wood-border-point4: calc(50% + var(--wood-border-width));
--wood-border-point5: calc(100% - var(--wood-border-width));
--wood-border-point6: 100%;
--wood-grain: rgba(0, 0, 0, 0.05);
--wood-edge-color: #70353c;
--paper-color: #fff3c6;
--paper-color-dark: #fdebbd;
--paper-border-color: #f4c389;
}
body {
margin: 0px;
background-color: var(--background-color);
background-size: var(--background-size), var(--background-size);
background-image: linear-gradient(var(--stripe-angle1),
var(--primary-stripe-rgb) var(--stripe-point1),
var(--secondary-stripe-rgb) var(--stripe-point1),
var(--secondary-stripe-rgb) var(--stripe-point2),
var(--primary-stripe-rgb) var(--stripe-point2)),
linear-gradient(var(--stripe-angle2),
var(--primary-stripe-rgb) var(--stripe-point1),
var(--secondary-stripe-rgb) var(--stripe-point1),
var(--secondary-stripe-rgb) var(--stripe-point2),
var(--primary-stripe-rgb) var(--stripe-point2));
animation: pan 5s linear reverse infinite;
}
.container {
position: relative;
/* outline: 5px solid blue; */
}
/* .container::before {
content: "";
position: absolute;
top: 1%;
left: -2.5%;
right: 0px;
bottom: 0px;
width: 105%;
background-size: 50px;
background-color: var(--wood-edge-color);
border: 2px solid black;
border-radius: 1%;
} */
/* wood board */
.row {
height: 80vh;
position: relative;
background-size: 10%;
background-position: 14%;
background-image:
/* insets */
linear-gradient(to right,
var(--wood-border-dark) var(--wood-border-point1),
transparent var(--wood-border-point1),
transparent var(--wood-border-point2),
var(--wood-border-dark) var(--wood-border-point2),
var(--wood-border-dark) var(--wood-border-point3),
var(--wood-border-light) var(--wood-border-point3),
var(--wood-border-light) var(--wood-border-point4),
transparent var(--wood-border-point4),
transparent var(--wood-border-point5),
var(--wood-border-light) var(--wood-border-point5),
var(--wood-border-light) var(--wood-border-point6)),
/* planks */
linear-gradient(to right,
var(--wood-color-dark) 50%,
var(--wood-color-light) 50%);
border-left: 8px solid var(--wood-edge-color);
border-right: 8px solid var(--wood-edge-color);
border-bottom: 12px solid var(--wood-edge-color);
border-top: 5px solid var(--wood-edge-color);
border-radius: 1%;
outline: 2px solid black;
}
/* wood grain */
.row::before {
content: "";
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
background-size: 4px;
background-image: linear-gradient(to right,
var(--wood-grain) 5%,
transparent 5%,
transparent 90%,
var(--wood-grain) 90%);
}
/* paper */
.row::after {
content: "yeehaw";
position: absolute;
top: 20px;
left: 20px;
right: 20px;
bottom: 20px;
background-image: radial-gradient(var(--paper-color) 72%,
var(--paper-color-dark) 72%);
border: 10px solid var(--paper-border-color);
}
@keyframes pan {
from {
background-position: 0px 0%;
}
to {
background-position: 100px 85px;
}
}
</style>
<base href="C:\StarryShiliu\Software\Agent\data\scripts" />
</head>
<body>
<div class="container p-3">
<div class="row"></div>
</div>
</body>
</html>