-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
131 lines (110 loc) · 2.3 KB
/
styles.css
File metadata and controls
131 lines (110 loc) · 2.3 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
131
/* styles.css */
/* --- Root variables for colors --- */
:root {
--primary-red: #ed1c24; /* The red from the logo */
--darker-red: #c01318; /* A slightly darker red for hover effects */
}
/* General Styles */
body {
font-family: 'Montserrat', sans-serif;
margin: 0;
background-color: #000000;
color: #ffffff;
line-height: 1.6;
padding-top: 1rem;
padding-bottom: 2rem;
}
header {
text-align: center;
margin-bottom: 2rem;
}
/* --- Use the red-title class for all titles --- */
h1, h2, h3, .card h2 {
color: var(--primary-red);
}
h1 {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 0.5rem;
}
h2 {
font-size: 1.8rem;
font-weight: 600;
margin-bottom: 1rem;
}
h3 {
font-size: 1.5rem;
font-weight: 500;
margin-bottom: 1.5rem;
margin-top: 2rem;
padding-left: 20px;
}
.card h2 { /* Targeting h2 specifically inside .card */
font-size: 1.4rem;
font-weight: 600;
margin: 0;
}
section {
margin-bottom: 3rem;
}
/* Card Container Styles */
.card-container {
display: flex;
flex-direction: column;
gap: 2rem;
padding: 0 20px;
width: auto;
margin: 0;
}
/* Card Styles */
.card {
display: flex;
flex-direction: column;
background-color: rgb(0, 0, 0);
border: 1px solid #ddd;
border-radius: 8px;
overflow: hidden;
text-decoration: none;
color: inherit;
transition: transform 0.2s ease;
}
.card img {
width: 100%;
height: auto;
object-fit: cover;
border-bottom: 1px solid #eee;
}
.card-content {
padding: 20px;
display: flex;
flex-direction: column;
gap: 1rem;
flex-grow: 1;
}
.card p {
font-size: 1rem;
margin: 0;
line-height: 1.5;
}
.project-info {
font-size: 0.9rem;
color: #777;
margin-top: auto;
}
/* Launch Button Styles */
.launch-button {
background-color: var(--primary-red); /* Use the variable */
color: white;
padding: 10px 15px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1rem;
font-weight: 500;
transition: background-color 0.2s ease;
margin-top: auto; /* Push button to the bottom */
align-self: center; /* Center the button horizontally */
}
.launch-button:hover {
background-color: var(--darker-red); /* Use the darker red variable */
}