-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
97 lines (90 loc) · 1.74 KB
/
style.css
File metadata and controls
97 lines (90 loc) · 1.74 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
/* General styles */
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
background-color: #fff;
color: #222;
line-height: 1.6;
}
/* Header and Footer */
header, footer {
background-color: #005f99;
color: white;
text-align: center;
padding: 1rem;
}
/* Navigation bar */
nav {
background-color: #e6f2ff;
padding: 1rem;
text-align: center;
}
nav a {
margin: 0 1rem;
text-decoration: none;
color: #005f99;
font-weight: bold;
}
/* Chapter header strip */
.chapter-header {
display: flex;
align-items: center;
justify-content: center;
background-color: #005f99;
color: white;
padding: 2rem;
border-radius: 8px;
margin-bottom: 2rem;
background-repeat: no-repeat;
background-position: 20px center;
}
.chapter-header h1 {
margin: 0;
font-size: 2rem;
text-align: center;
}
/* Back button */
.back-button {
display: inline-flex;
align-items: center;
text-decoration: none;
color: #005f99;
font-weight: bold;
margin: 1.5rem;
font-size: 1rem;
}
.back-button img {
margin-right: 8px;
width: 50px;
height: 40px;
transition: transform 0.2s ease, opacity 0.2s ease;
}
.back-button img:hover {
transform: scale(1.2);
opacity: 0.8;
}
/* Formula box */
.formula-box {
background-color: #f0f8ff;
border-left: 5px solid #005f99;
padding: 1rem 1.5rem;
margin: 1.5rem;
box-shadow: 0 2px 5px rgba(0,0,0,0.06);
}
/* Strong text in formulas */
strong {
font-size: 1.1rem;
display: block;
margin-bottom: 0.5rem;
}
/* Responsive for small screens */
@media (max-width: 700px) {
.chapter-header {
padding: 1rem;
}
.formula-box {
margin: 1rem 0.5rem;
padding: 1rem;
}
}