-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
116 lines (103 loc) · 2.02 KB
/
Copy pathstyle.css
File metadata and controls
116 lines (103 loc) · 2.02 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
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Barlow Semi Condensed', sans-serif;
background: hsl(210, 46%, 95%);
color: hsl(0, 0%, 100%);
line-height: 1.5;
}
/* Container */
.container {
max-width: 1200px;
margin: 2rem auto;
padding: 1rem;
}
.card {
display: grid;
gap: 1.5rem;
}
/* Grid Layout for Desktop */
@media (min-width: 768px) {
.card {
grid-template-areas:
"daniel daniel jonathan kira"
"jeanette patrick jonathan kira";
grid-template-columns: repeat(4, 1fr);
}
.card-daniel { grid-area: daniel; }
.card-jonathan { grid-area: jonathan; }
.card-kira { grid-area: kira; }
.card-jeanette { grid-area: jeanette; }
.card-patrick { grid-area: patrick; }
}
/* Individual Card Styling */
.card-daniel,
.card-jonathan,
.card-kira,
.card-jeanette,
.card-patrick {
background: #fff;
padding: 1.5rem;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
position: relative;
}
/* Background Colors (match challenge design) */
.card-daniel {
background: hsl(263, 55%, 52%);
color: #fff;
}
.card-jonathan {
background: hsl(217, 19%, 35%);
color: #fff;
}
.card-jeanette {
background: hsl(0, 0%, 100%);
color: hsl(217, 19%, 35%);
}
.card-patrick {
background: hsl(219, 29%, 14%);
color: #fff;
}
.card-kira {
background: hsl(0, 0%, 100%);
color: hsl(217, 19%, 35%);
}
/* Intro Section */
.intro img {
width: 40px;
height: 40px;
border-radius: 50%;
vertical-align: middle;
margin-right: 0.5rem;
}
.intro p {
font-size: 0.875rem;
font-weight: 600;
}
/* Sub-Intro (Heading + Quotation) */
.sub-intro {
margin-top: 1rem;
position: relative;
}
.sub-intro h2 {
font-size: 1rem;
font-weight: 600;
}
.sub-intro img {
position: absolute;
top: -10px;
right: 10px;
width: 50px;
opacity: 0.2;
}
/* Main Text */
.main-text {
margin-top: 1rem;
font-size: 0.875rem;
opacity: 0.9;
}