-
Notifications
You must be signed in to change notification settings - Fork 0
/
style1.css
118 lines (102 loc) · 1.9 KB
/
style1.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
/* Global styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
text-align: center;
background: #000;
font-family: Arial, sans-serif;
}
/* Main container */
.main {
width: 90%;
max-width: 800px;
margin: auto;
padding: 1rem;
border-radius: 1.5rem;
background-color: #000;
color: #000;
}
/* Heading styles */
.heading {
margin-top: 1rem;
}
h3 {
text-align: center;
margin-top: 1rem;
border: 2px solid plum;
background-color: plum;
border-radius: 1rem;
font-weight: 900;
font-size: 1.5rem;
padding: 0.5rem;
}
/* Rule section */
.rule-section {
margin-top: 4rem;
font-size: 1.2rem;
}
ul.rule {
list-style-type: none;
padding: 0;
}
li {
margin: 0.5rem 0;
border-bottom: 1px solid rgb(183, 188, 183);
color: rgb(208, 195, 220);
font-family: cursive;
font-weight: 500;
padding-left: 1rem;
position: relative;
}
li::before {
content: '📓';
position: absolute;
left: -1rem;
}
/* Play button */
a {
display: block;
text-align: center;
margin-top: 2rem;
}
button {
background-color: rgb(232, 164, 232);
width: 10rem;
height: 3rem;
border-radius: 3rem;
border: none;
color: rgb(78, 75, 75);
font-weight: 900;
font-family: cursive;
cursor: pointer;
}
/* Responsive media queries */
@media (max-width: 768px) {
.main {
padding: 0.5rem;
background: #000;
}
h3 {
font-size: 1.3rem;
}
.rule-section {
font-size: 1.1rem;
}
}
@media (max-width: 576px) {
.main {
padding: 0.5rem;
border-radius: 0;
background: #000;
}
h3 {
font-size: 1.2rem;
padding: 0.3rem;
}
.rule-section {
font-size: 1rem;
}
}