-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.css
More file actions
127 lines (110 loc) · 2.06 KB
/
about.css
File metadata and controls
127 lines (110 loc) · 2.06 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
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
body {
margin: 0;
background: linear-gradient(135deg, #5b21b6, #1e1e3f);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: #ffffff;
overflow: hidden;
}
.layout {
display: flex;
height: 100vh;
overflow: hidden;
}
.page-content {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
padding: 40px;
text-align: left;
overflow-y: auto;
box-sizing: border-box;
}
h1 {
position: relative;
top: -20px; /* move heading up slightly */
margin-bottom: 20px;
font-size: 2.5rem; /* ~40px */
}
p {
max-width: 600px;
font-size: 1.125rem; /* ~18px */
line-height: 1.6;
}
.right-photo {
position: relative;
flex: 0 0 300px;
height: 100%;
}
.right-photo img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
/* Gradient overlay for blending */
.right-photo::before {
content: "";
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: linear-gradient(to left, rgba(0,0,0,0) 60%, #5b21b6 100%);
pointer-events: none;
}
.nav-toggle {
position: absolute;
top: 20px;
right: 30px;
z-index: 10;
}
.nav-toggle button {
background: transparent;
color: #fff;
font-size: 1.5rem;
border: none;
cursor: pointer;
}
.dropdown-menu {
display: none;
flex-direction: column;
background-color: #161622;
position: absolute;
top: 50px;
right: 30px;
padding: 10px;
border-radius: 8px;
}
.dropdown-menu a {
text-decoration: none;
color: #e0e0e0;
padding: 8px 0;
}
.dropdown-menu a:hover {
color: #a855f7;
}
/* -------- 📱 Responsive Fix for Mobile -------- */
@media (max-width: 768px) {
.layout {
flex-direction: column;
align-items: center;
padding: 20px;
}
.page-content {
align-items: center;
text-align: center;
padding: 20px;
}
.right-photo {
display: none;
}
h1 {
font-size: 2rem;
top: -10px;
}
p {
font-size: 1rem;
}
}