-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchess.css
More file actions
144 lines (128 loc) · 2.32 KB
/
chess.css
File metadata and controls
144 lines (128 loc) · 2.32 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
width: 100vw;
overflow-y: hidden;
background-color: hsl(30, 38%, 92%);
display: flex;
justify-content: center;
align-items: center;
}
.mainContent {
width: 40%;
height: 65%;
background-color: white;
display: flex;
border-radius: 12px;
}
.mainContent img {
width: 50%;
height: 100%;
border-radius: 12px 0 0 12px;
}
/* .mainContent img:hover {
background-image:/;
} */
.contentRight {
padding: 25px;
}
.contentRight h6 {
font-family: 'Montserrat', sans-serif;
font-size: 12px ;
color: hsl(228, 12%, 48%);
letter-spacing: 4px;
margin-bottom: 14px;
}
.contentRight h1 {
font-family: 'Fraunces', serif;
color: hsl(212, 21%, 14%);
margin-bottom: 10px;
}
.contentRight h5 {
font-family:'Montserrat', sans-serif;
margin-bottom: 20px;
color: hsl(228, 12%, 48%);
letter-spacing: 4px;
font-size: 12px;
}
.contentRight p {
color: hsl(228, 12%, 48%);
font-size: 14px;
font-family: 'Montserrat', sans-serif;
margin-bottom: 15px;
}
.contentRight h2 {
font-size: 24px;
font-family: 'Fraunces', serif;
display: flex;
align-items: center;
color: hsl(158, 36%, 37%);
margin-bottom: 20px;
}
.contentRight h2 span {
font-size: 14px;
font-family:'Montserrat', sans-serif;
font-weight: 500;
margin-left: 15px;
text-decoration: line-through;
color: hsl(228, 12%, 48%);
}
.contentRight a {
width: 100%;
background-color: hsl(158, 36%, 37%);
display: flex;
justify-content: center;
align-items: center;
padding: 12px;
color: white;
text-decoration: none;
border-radius: 6px;
font-family:'Montserrat', sans-serif;
font-weight: 500;
}
.contentRight a img {
width: 15px;
margin-right: 20px;
}
@media screen and (max-width:390px) {
.mainContent {
width: 70%;
height: 60%;
flex-direction: column;
}
.mainContent img {
width: 100%;
height: 50%;
border-radius: 12px 12px 0 0;
}
.contentRight {
padding: 20px;
}
.contentRight h6 {
font-size:5px;
}
.contentRight h1{
font-size: 12px;
}
.contentRight h5 {
font-size: 7px;
}
.contentRight p {
font-size: 9px;
}
.contentRight h2 {
font-size: 17px;
}
.contentRight h2 span {
font-size: 15px;
}
.contentRight a {
font-weight: 300;
padding: 2px;
font-size: 12px;
}
}