-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathLaws.css
103 lines (90 loc) · 1.78 KB
/
Laws.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
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #D9534F;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
text-align: center;
background-color: #000080;
color: gold;
width: 300px;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
position: relative;
width: 400px
}
.content-section {
text-align: center;
}
.content-section h2, .content-section p {
margin: 0;
}
.arrow {
cursor: pointer;
font-size: 2em;
user-select: none;
padding: 0 20px;
position: absolute;
top: 50%;
transform: translateY(-50%);
color: gold;
}
.arrow.left {
left: -50px;
}
.arrow.right {
right: -50px;
}
button {
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
margin-bottom: 20px;
padding: 10px 20px;
font-size: 1em;
cursor: pointer;
background-color: #000080;
color: gold;
border: none;
border-radius: 5px;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #000080;
color: gold;
width: 100%;
height: 100%;
box-shadow: none;
z-index: 1;
top: 0;
left: 0;
overflow-y: auto;
padding: 20px;
}
.dropdown-content::-webkit-scrollbar {
width: 0;
height: 0;
}
.dropdown-content a {
color: gold;
padding: 12px 16px;
text-decoration: none;
display: block;
font-size: 1.2em;
text-align: left;
}
.dropdown-content a:hover {
background-color: #ddd;
color: black;
}