-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
126 lines (112 loc) · 1.98 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
body {
background-color:F9FBE7;
display: flex;
flex-flow: column wrap;
justify-content: center;
}
#header{
background-color: FEA1A1;
}
#heading {
height: 5%;
width: 30%;
font-family: "Librebaskervile";
font-size: 40;
text-align: center;
font-style: bold;
margin: 1em auto;
}
#input-section {
width: 30%;
height: 10%;
display: flex;
flex-flow: row wrap;
justify-content: center;
margin: 1em auto;
column-gap: 1em;
}
#input-section * {
height: 30px;
}
#guess-button {
border-radius: 1.5em;
background-color: D9D9D9;
font-family: "Average Sans";
font-size: 15;
font-weight: 400;
border-color: black;
width:15%;
height:40%;
}
#guess-area {
width: 40%;
height: 40%;
padding-left: 1em;
text-transform: uppercase;
}
#guess-area:focus{
outline: 2px solid lightgreen;
}
#status {
width: 40%;
height: 60%;
margin: 0 auto;
display: flex;
flex-flow: column wrap;
row-gap: 1em;
justify-content: flex-start;
align-items: center;
}
#guess-history {
line-height: 2em;
margin-bottom: 1em;
display: flex;
flex-flow: column;
row-gap: 1em;
}
.flex-row {
display: flex;
flex-flow: row wrap;
column-gap: 1em;
}
.box {
height: 50px;
width: 50px;
text-align: center;
justify-content: center;
align-items: center;
border: 1px solid black;
border-radius: 0.6em;
font-weight: 500;
}
.green {
background-color: rgb(171, 220, 153);
}
.yellow {
background-color: hsl(42, 98%, 77%);
}
#color-meaning {
font-family: "Sansation Light";
font-size: 15;
font-weight: 300;
display: block;
border: 1px solid black;
background-color: F6FAD0;
border-radius: 3em;
width: 25%;
padding: 3%;
position: absolute;
top: 20%;
left:70%;
}
#color-meaning * {
align-items: center;
margin-bottom: 1em;
}