-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
103 lines (91 loc) · 1.79 KB
/
styles.css
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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
padding: 20px;
}
.container {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
}
.card {
background-image: url('/DefaultThumbnail.png');
background-size: cover;
background-position: center;
border-radius: 8px;
padding: 20px;
width: 300px;
display: flex;
flex-direction: column;
justify-content: flex-start;
text-align: center;
position: relative;
overflow: hidden;
color: #f0f0f0; /* Light grey text color */
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); /* Darker shadow for depth */
}
.card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay */
z-index: 1;
}
.card-header {
position: relative;
z-index: 2;
margin-bottom: 15px;
border-bottom: 1px solid #ffffff;
padding-bottom: 10px;
display: flex;
justify-content: space-between;
font-size: 1em;
font-weight: normal;
color: #cccccc; /* Light grey for equal weight */
}
.card-header h2,
.card-header p {
font-size: 1em; /* Equal font size for both */
margin: 0;
color: #cccccc; /* Light grey for equal weight */
}
.card h3 {
position: relative;
z-index: 2;
font-size: 1.5em;
color: #ffffff;
margin-bottom: 15px;
font-weight: bold;
}
.card-content {
position: relative;
z-index: 2;
color: #f0f0f0; /* Light grey for content */
}
.card-content p {
margin-bottom: 8px;
font-size: 1em;
}
.card a {
color: #00bfff; /* Light blue for links */
text-decoration: underline;
position: relative;
z-index: 2;
}
.card a:hover {
color: #00ffff; /* Cyan on hover */
}
@media (max-width: 768px) {
.card {
width: 100%;
}
}