-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
130 lines (115 loc) · 1.75 KB
/
styles.css
File metadata and controls
130 lines (115 loc) · 1.75 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
* {
font-family: 'Abel', sans-serif;
color: #5C415D;
}
body {
align-content: center;
background-image: url("./assets/background.png");
background-size: 100vw 100vh;
display: flex;
flex-direction: column;
margin: 0em;
}
header {
align-items: center;
display: flex;
height: 7em;
margin-bottom: 4em;
justify-content: center;
}
h1 {
font-size: 3em;
margin: 0em;
text-align: center;
}
h2 {
font-size: 2em;
text-align: center;
margin: 0em 0em .5em 0em;
}
/* player forms */
.start-game {
margin: 4em auto 0px auto;
text-align: center;
}
.start-game > p {
font-size: .9em;
margin: .2em;
}
.player-form {
align-items: center;
display: flex;
flex-direction: column;
margin: auto;
text-align: center;
width: 9.5em;
}
.player-form > p {
font-size: .9em;
margin: 0em;
text-align: center;
}
.old-user-msg > p {
width: 19em;
}
button {
margin: .5em;
}
/* card section */
.playing-field {
display: flex;
justify-content: space-around;
}
.center-pile,
.player-1,
.player-2 {
height: 30em;
width: 12em;
display: flex;
justify-content: center;
flex-direction: column;
}
.center-pile {
height: 24.75em;
}
img {
border-radius: 28px;
width: 12em;
}
.image1,
.image2 {
height: 22em;
width: 12em;
}
.image1 > img {
box-shadow: 0 0 13px 0px #06D6A0;
}
.image2 > img {
box-shadow: 0 0 13px 0px #EF476F;
}
/* player info */
.game-info {
display: flex;
justify-content: space-between;
margin-left: 6em;
width: 49em;
}
.player-1-info,
.player-2-info {
display: flex;
flex-direction: column;
align-content: flex-start;
text-align: center;
}
p {
font-size: 1.2em;
margin-block-start: 1em;
margin-block-end: 0em;
}
/* misc */
.game-message {
margin-top: 1.5em;
}
.hidden {
display: none;
}