-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
105 lines (88 loc) · 1.7 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
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
@font-face {
font-family: 'Ubuntu';
src: url('./Ubuntu-Regular.ttf');
}
body {
font-family: 'Ubuntu', sans-serif;
font-size: clamp(16px, 1.25vw, 19px);
margin: 2vh auto;
}
header {
display: flex;
justify-content: center;
align-items: center;
}
.wrapper {
display: flex;
justify-content: center;
align-items: center;
width: 5%;
height: 5%;
}
.wrapper svg {
width: 100%;
height: 100%;
}
header h1 {
margin-left: 4vw;
}
main {
margin: auto 20vw;
}
form {
margin-bottom: 2vh;
}
fieldset {
border: 2px solid hsl(0, 0%, 0%);
border-radius: 5px;
background-color: hsl(160, 100%, 75%);
}
input, select {
background-color: hsl(60, 56%, 91%);
border: 1px solid hsl(0, 0%, 50%);
border-radius: 2px;
}
#roll {
margin-top: 2vh;
display: flex;
justify-content: space-evenly;
}
#submit, #clear {
font-size: 16px;
padding: 5px 20px;
background: none;
border: 2px hsl(0, 0%, 0%) solid;
border-radius: 5px;
}
#submit:hover, #clear:hover {
border: 2px hsl(0, 100%, 50%) solid;
}
#output {
display: grid;
gap: 4px;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
background-color: hsl(180, 100%, 75%);
padding: 10px;
height: 50vh;
overflow: scroll;
overflow-x: hidden;
border: 3px solid hsl(0, 0%, 0%);
border-radius: 5px;
}
#output::-webkit-scrollbar {
width: 5px;
}
#output::-webkit-scrollbar-thumb {
background-color: hsl(0, 0%, 65%);
border-radius: 3px;
}
#output div {
display: block;
padding: 10px;
background-color: hsl(35, 80%, 90%);
border: 2px solid hsl(0, 0%, 0%);
border-radius: 5px;
}
p {
line-height: 1px;
}