Repository navigation
Expand file tree
/
Copy pathmain.css
More file actions
130 lines (111 loc) · 2.26 KB
/
Copy pathmain.css
File metadata and controls
130 lines (111 loc) · 2.26 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
128
129
130
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.6;
color: #0c0a00;
background-image: url('img/background.jpeg');
/* This ensures the image covers the whole screen */
background-size: cover;
background-position: center;
background-repeat: no-repeat;
/* This keeps the image still while you scroll */
background-attachment: fixed;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 20px;
}
.card {
background: #ffffff;
width: 100%;
max-width: 700px;
padding: 40px;
border-radius: 12px;
/* Increased shadow slightly to lift it off the photo background */
box-shadow: 0 10px 30px rgba(0,0,0,0.3);
border-top: 6px solid #e1af09;
border-bottom: 6px solid #e1af09;
}
h1 {
font-family: "DM Serif Display", serif;
font-style: normal;
font-weight: 400;
font-size: 2.5rem;
color: #0c0a00;
}
h2 {
font-size: 1.25rem;
color: #0c0a00;
margin-bottom: 1.5rem;
font-weight: 700;
}
h3 {
font-size: 1.25rem;
color: #0c0a00;
margin-top: 2rem;
margin-bottom: 1rem;
text-transform: uppercase;
letter-spacing: 1px;
border-bottom: 1px solid #3c3c3c;
padding-bottom: 10px;
}
p {
margin-bottom: 1rem;
color: #0c0a00;
}
ul {
list-style-type: none;
padding-left: 0;
}
li {
margin-bottom: 1rem;
padding-left: 1.5rem;
position: relative;
}
li::before {
content: "→";
position: absolute;
left: 0;
color: #e1af09;
font-weight: bold;
}
strong {
color: #0c0a00;
}
.cta-section {
margin-top: 2.5rem;
padding-top: 1.5rem;
border-top: 1px solid #0c0a00;
}
.cta-button-positioning {
text-align: center;
}
.cta-button {
display: inline-block;
margin-top: 10px;
background-color: #e1af09;
color: #0c0a00;
padding: 12px 24px;
text-decoration: none;
border-radius: 4px;
font-weight: 600;
}
.cta-button:hover {
background-color: #d1a208;
}
@media (max-width: 600px) {
.card {
padding: 25px;
}
h1 {
font-size: 1.5rem;
}
h2 {
font-size: 1.0rem;
}
}