-
Notifications
You must be signed in to change notification settings - Fork 5
/
scorekeeper.css
125 lines (106 loc) · 1.87 KB
/
scorekeeper.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Open Sans', sans-serif;
}
:root {
--back: #4b1d3f;
--primary: #EAE0D5;
--player1: #d33f49;
--player2: #01baef;
}
.back {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: var(--back);
}
.container {
border-radius: 16px;
background-color:var(--primary);
padding: 3em;
box-shadow: 6px 9px 15px -4px rgba(0, 0, 0, 0.75);
}
.title-container {
font-family: 'Proza Libre', sans-serif;
font-size: 1.3em;
text-align: center;
margin-bottom: 20px;
}
.title-container {
text-align: center;
font-size: 1em;
font-weight: 100;
padding-top: 5px;
padding-bottom: 5px;
border-radius: 4px;
width: 630px;
margin: 0px auto 25px auto;
color: black;
background: #fff;
box-sizing: border-box;
position: relative;
box-shadow: 3px 4px 10px -2px rgba(0, 0, 0, 0.75);
text-shadow: 0.5px 3px 3px rgba(0,0,0,0.2),
1px 6px 13px rgba(0,0,0,0.1),
3px 12px 23px rgba(0,0,0,0.1);
}
.score {
display: flex;
justify-content: center;
align-items: center;
font-size: 1.2em;
text-align: center;
margin-bottom: 30px;
}
.playing-to {
margin: 0 20px;
font-size: 1.2em;
}
.score h1 {
margin: 0 20px;
}
.score-input {
display: flex;
justify-content: space-around;
align-items: center;
text-align: center;
}
input {
border: none;
padding: 10px 20px;
width: 30%;
text-align: left;
}
.btn-p1,
.btn-p2,
.btn-reset {
border-radius: 4px;
border: none;
padding: 10px;
width: 15%;
}
button {
box-shadow: 3px 4px 10px -2px rgba(0, 0, 0, 0.75);
}
.btn-p1 {
background-color: var(--player1);
}
.btn-p2 {
background-color: var(--player2);
}
.playerbutton {
height: 48px;
width: 120px;
}
.btn-reset {
background-color: #b5b5b5;
}
.winner {
color: green;
}
.selected {
color: yellow;
}