-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
113 lines (107 loc) · 1.99 KB
/
style.css
File metadata and controls
113 lines (107 loc) · 1.99 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
/* Base settings */
:root {
--color-bg: #FDFDFD;
--color-primary: #080807;
--color-accent: #B6B09F;
--color-muted: #636659;
--font-sans: 'Segoe UI', Roboto, Arial, sans-serif;
}
* {
margin:0;
padding:0;
box-sizing:border-box;
}
body {
font-family: var(--font-sans);
background-color: var(--color-bg);
color: var(--color-primary);
line-height:1.5;
}
a {
text-decoration: none;
color: inherit;
}
/* Header (fixed) */
.site-header {
position: fixed;
top:0;
left:0;
width:100%;
background-color: white;
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
z-index:1000;
}
.site-header .container {
display:flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
}
.nav a {
margin-left:1.5rem;
font-weight:600;
color: var(--color-muted);
}
.nav a:hover {
color: var(--color-accent);
}
/* Main content spacing (below fixed header) */
.main-content {
padding-top: calc(60px + 2rem); /* Header height + extra space */
max-width: 1200px;
margin:0 auto;
padding-left:2rem;
padding-right:2rem;
}
/* Intro section with two columns */
.intro-section {
display: flex;
align-items: center;
gap:2rem;
padding:4rem 0;
}
.intro-section .intro-text {
flex:2;
}
.intro-section .intro-image {
flex:1;
}
.intro-section img {
width:100%;
height:auto;
display:block;
border-radius:12px;
}
/* Button styling */
.btn {
display:inline-block;
padding:0.75rem 1.5rem;
border-radius:8px;
text-transform: uppercase;
font-weight:600;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
background-color: var(--color-accent);
color: white;
}
.btn-primary:hover {
transform: translateY(-4px);
box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
/* Footer */
.site-footer {
text-align:center;
padding:2rem 0;
color: var(--color-muted);
}
/* Responsive adjustments */
@media (max-width: 900px) {
.intro-section {
flex-direction: column-reverse;
text-align: center;
}
.intro-section .intro-text {
width:100%;
}
}