Repository navigation
Expand file tree
/
Copy pathlesson7.css
More file actions
118 lines (104 loc) · 2.69 KB
/
Copy pathlesson7.css
File metadata and controls
118 lines (104 loc) · 2.69 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
/* ==========================================================================
Lesson 7: The Production Factory 🏭
Theme: Industrial Comic (Blueprint + Comic Book)
========================================================================== */
/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Comic+Neue:wght@400;700&family=Teko:wght@400;600&display=swap');
:root {
--factory-bg: #2d3436;
--factory-yellow: #f1c40f; /* Safety Yellow */
--factory-black: #000000;
--factory-blue: #0984e3; /* Blueprint Blue */
--comic-white: #ffffff;
--comic-border: 3px solid #000;
--comic-shadow: 6px 6px 0px #000;
}
.lesson-container-factory {
background-color: var(--factory-bg);
color: #fff;
font-family: 'Comic Neue', sans-serif;
min-height: 100vh;
padding-bottom: 50px;
background-image: radial-gradient(#444 1px, transparent 1px);
background-size: 20px 20px;
}
/* --- HEADERS --- */
.factory-header {
background: var(--factory-yellow);
border: var(--comic-border);
padding: 20px;
transform: rotate(-1deg);
margin-bottom: 40px;
box-shadow: var(--comic-shadow);
text-align: center;
}
.factory-title {
font-family: 'Bangers', cursive;
color: #000;
font-size: 5rem; /* Humongous Title */
margin: 0;
text-transform: uppercase;
text-shadow: 2px 2px 0px #fff;
line-height: 0.9;
}
.factory-subtitle {
font-family: 'Teko', sans-serif;
color: #000;
font-size: 1.5rem;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 2px;
}
/* --- COMIC PANELS --- */
.comic-panel {
background: var(--comic-white);
border: var(--comic-border);
border-radius: 12px;
padding: 25px;
box-shadow: var(--comic-shadow);
color: #000;
margin-bottom: 30px;
position: relative;
transition: transform 0.2s;
}
.comic-panel:hover {
transform: translateY(-5px);
}
.comic-panel.blue {
background: #e3f2fd;
border-color: #0d47a1;
box-shadow: 6px 6px 0px #0d47a1;
}
.comic-panel.yellow {
background: #fff9c4;
border-color: #f57f17;
box-shadow: 6px 6px 0px #f57f17;
}
/* --- TYPOGRAPHY --- */
.text-banger {
font-family: 'Bangers', cursive;
letter-spacing: 1px;
}
.highlight-box {
background: #000;
color: var(--factory-yellow);
padding: 5px 10px;
display: inline-block;
font-family: 'Teko', sans-serif;
font-size: 1.2rem;
transform: rotate(-2deg);
}
/* --- GRID LAYOUTS --- */
.factory-grid-2 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
}
@media (max-width: 768px) {
.factory-grid-2 {
grid-template-columns: 1fr;
}
.factory-title {
font-size: 3rem;
}
}