-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
96 lines (91 loc) · 1.57 KB
/
main.css
File metadata and controls
96 lines (91 loc) · 1.57 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
body
{
margin: 0;
/*background-color: #209781;*/
background-color: #26282E;
color: #CCCCCC;
font-family: 'Lobster', sans-serif;
font-size: 28px;
}
a:link { color: #209781; text-decoration: none; }
a:visited { color: #209781; }
a:active { color: #209781; }
a:hover { color: #E9B64A; }
h1{
text-align: center;
font-size: 75px;
letter-spacing: 50px;
width: 50%;
margin: 0 auto;
}
p{
text-align: center;
font-size: 32px;
letter-spacing: 10px;
margin: 20 auto 40 auto;
}
.board{
/*background-color : #080808;*/
width: 38%;
}
@media (max-width: 768px){
.board{
width: 450px;
height: 450px;
background-color: white;
}
card{
width: 100px;
height: 100px;
}
}
.card{
height: 150px;
width: 150px;
max-width: 150px;
background-color: yellow;
background-image: url("img/pokerewers.png");
background-size: contain;
text-align: center;
border: 4px solid gold;
border-radius: 4px;
margin: 3px;
cursor: pointer;
filter: brightness(25%);
transition: 0.8s ease-in-out;
}
.cardActive{
height: 150px;
width: 150px;
max-width: 150px;
background-color: yellow;
background-image: url("img/pokerewers.png");
background-size: contain;
text-align: center;
border: 4px solid gold;
border-radius: 4px;
margin: 3px;
cursor: default;
filter: brightness(100%);
transition: 0.8s ease-in-out;
border: 4px solid white;
}
.card:hover{
filter: brightness(100%);
border: 4px solid white;
cursor: cell;
}
.card:before{
padding-top: 100%;
}
.score{
text-align: center;
}
/*
.square:before{
content: "";
display: block;
padding-top: 100%;
position: absolute;s
}
*/