-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
executable file
·61 lines (52 loc) · 1.23 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
@font-face {
font-family: 'Rocher';
src: url(https://assets.codepen.io/9632/RocherColorGX.woff2);
}
html {
--s: 60px; /* control the size */
--_g: #0000 83%, #b09f79 85% 99%, #0000 101%;
background: radial-gradient(27% 29% at right, var(--_g)) calc(var(--s) / 2)
var(--s),
radial-gradient(27% 29% at left, var(--_g)) calc(var(--s) / -2) var(--s),
radial-gradient(29% 27% at top, var(--_g)) 0 calc(var(--s) / 2),
radial-gradient(29% 27% at bottom, var(--_g)) 0 calc(var(--s) / -2) #476074;
background-size: calc(2 * var(--s)) calc(2 * var(--s));
}
body {
font: normal 15pt Arial;
}
header {
color: aliceblue;
text-align: center;
}
h1 {
font-family: 'Rocher';
text-align: center;
font-size: 50px;
height: 5.5rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 0;
}
section {
background: whitesmoke;
border-radius: 10px;
padding: 15px;
width: 500px;
margin: auto;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.289);
}
#value {
width: 150px;
}
footer {
color: aliceblue;
text-align: center;
font-style: italic;
}
select {
width: 150px;
height: 150px;
}