forked from ANSHIKA-26/WordWise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.css
102 lines (88 loc) · 2.03 KB
/
about.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
.about {
background-color: var(--background-color);
/* Light background to make content stand out */
padding: 3rem 1.5rem;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
/* Make sure it covers the full height */
}
.about-content {
background-color: var(--background-color);
/* Clean white background for content */
padding: 2rem 3rem;
border-radius: 12px;
/* Rounded corners for a modern look */
box-shadow: 0 8px 30px var(--text-color);
/* Soft shadow for depth */
max-width: 800px;
width: 100%;
text-align: center;
/* Center text globally */
}
.about-content h1 {
font-size: 2.5rem;
font-weight: 700;
color: #3498db;
margin-bottom: 1.5rem;
position: relative;
}
.about-content h1::after {
content: '';
width: 100px;
height: 4px;
background-color: #3498db;
/* Accent color */
display: block;
margin: 0.5rem auto;
}
.about-content h2 {
font-size: 1.75rem;
font-weight: 600;
color: #3498db;
margin-bottom: 1.5rem;
}
.about-content p {
font-size: 1.15rem;
font-weight: 400;
color: var(--text-color);
/* Slightly lighter text */
line-height: 1.7;
margin-bottom: 1.5rem;
text-align: left;
}
.about-content p strong {
color: #3498db;
/* Same accent color */
font-weight: 600;
}
.about-content p u {
text-decoration: none;
border-bottom: 2px solid #3498db;
/* Underline with color */
}
.about-content p a {
color: #3498db;
text-decoration: none;
transition: color 0.3s ease;
}
.about-content p a:hover {
color: #2980b9;
/* Darker blue on hover */
}
/* Responsive design tweaks */
@media (max-width: 768px) {
.about-content {
padding: 2rem;
}
.about-content h1 {
font-size: 2rem;
}
.about-content h2 {
font-size: 1.5rem;
}
.about-content p {
font-size: 1rem;
}
}