-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
127 lines (108 loc) · 2.12 KB
/
styles.css
File metadata and controls
127 lines (108 loc) · 2.12 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
:root {
--primary-color: #2f6f9f;
--secondary-color: #f4f8fb;
--text-color: #1f2933;
--accent-color: #f28705;
--shadow-color: rgba(0, 0, 0, 0.1);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
color: var(--text-color);
background-color: #ffffff;
line-height: 1.6;
}
.container {
width: min(90%, 960px);
margin: 0 auto;
}
.site-header {
background: linear-gradient(120deg, var(--primary-color), #4a90c2);
color: #fff;
padding: 3rem 0 2rem;
text-align: center;
}
.site-header h1 {
margin: 0;
font-size: clamp(2rem, 3vw + 1rem, 3rem);
}
.site-header .tagline {
margin-top: 0.5rem;
font-size: 1.1rem;
}
.home {
padding: 3rem 0;
background-color: var(--secondary-color);
}
.feature-card {
background-color: #fff;
border-radius: 12px;
box-shadow: 0 12px 24px var(--shadow-color);
padding: 2rem;
margin-bottom: 2rem;
display: grid;
grid-template-columns: auto 1fr;
gap: 1.5rem;
align-items: start;
}
.feature-icon {
width: 64px;
height: 64px;
fill: var(--primary-color);
}
.feature-card h2 {
margin: 0;
font-size: 1.6rem;
}
.feature-card p {
margin: 0.75rem 0 1.5rem;
max-width: 50ch;
}
.cta-button {
justify-self: start;
background-color: var(--accent-color);
border: none;
color: #fff;
font-size: 1rem;
font-weight: 600;
padding: 0.75rem 1.5rem;
border-radius: 999px;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.cta-button:hover,
.cta-button:focus {
background-color: #f5a623;
box-shadow: 0 10px 20px var(--shadow-color);
transform: translateY(-2px);
outline: none;
}
.cta-button:focus-visible {
outline: 3px solid rgba(47, 111, 159, 0.4);
outline-offset: 2px;
}
.site-footer {
background-color: #0f1d2b;
color: #fff;
text-align: center;
padding: 1.5rem 0;
}
.site-footer p {
margin: 0;
font-size: 0.95rem;
}
@media (max-width: 640px) {
.feature-card {
grid-template-columns: 1fr;
text-align: center;
}
.feature-icon {
margin: 0 auto;
}
.cta-button {
justify-self: center;
}
}