-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
134 lines (132 loc) · 2.32 KB
/
styles.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
.small-input {
width: 312px;
height: 20px;
padding: 5px;
font-size: 14px;
}
button {
padding: 5px;
margin: 5px 0px;
border-radius: 5px;
}
li {
margin: 7px 0px;
}
html {
background-color: rgb(255, 230, 210);
margin-bottom: 20%;
}
.black-hr {
border-color: black;
background: black;
}
.arabic {
font-size: 25px;
text-align: justify;
text-align-last: right;
}
h3 {
border: 3px solid black; /* Border style */
padding: 10px;
text-align: justify;
border-radius: 10px;
}
/* Styles for desktop screens */
@media (min-width: 700px) {
h3 {
margin-right: 10%;
margin-left: 10%;
}
}
@media (min-width: 1000px) {
h3 {
margin-right: 35%;
margin-left: auto;
}
}
@media (min-width: 1200px) {
h3 {
margin-right: 45%;
margin-left: auto;
}
}
@media (min-width: 1400px) {
h3 {
margin-right: 55%;
margin-left: auto;
}
}
@media (min-width: 1600px) {
h3 {
margin-right: 60%;
margin-left: auto;
}
}
#notification {
display: none;
position: fixed;
top: 10px;
right: 55px;
background-color: #0ecd47;
color: black;
padding: 10px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
font-weight: bold;
}
.toc-icon {
position: fixed;
top: 10px;
right: 10px;
background-color: #333;
color: white;
padding: 10px;
border-radius: 5px;
cursor: pointer;
}
.toc {
position: fixed;
top: 50%;
left: 50%;
width: 80%;
max-width: 300px;
background-color: white;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
transform: translate(-50%, -50%) scale(0);
transition: transform 0.15s ease;
border-radius: 10px;
z-index: 1000;
}
.toc ul {
list-style-type: none;
padding: 20px;
margin: 0;
}
.toc li {
padding: 10px;
border-bottom: 1px solid #ccc;
}
.toc li:last-child {
border-bottom: none;
}
.toc li a {
text-decoration: none;
color: #333;
}
.toc.open {
transform: translate(-50%, -50%) scale(1);
}
/* Overlay for background click to close the modal */
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
display: none;
z-index: 999;
}
.overlay.open {
display: block;
}