+
+
Get in touch
-
-
-
-
-
-
-
Keep up to date with our newsletter
-
You can unsubscribe at any time.
-
-
+
+
+
+
+
+
+
Keep up to date with our newsletter
+
You can unsubscribe at any time.
+
+
+
+
+
+
+
-
diff --git a/coder-dojo-homepage/v2/styles.css b/coder-dojo-homepage/v2/styles.css
index b1873e7..5945ede 100644
--- a/coder-dojo-homepage/v2/styles.css
+++ b/coder-dojo-homepage/v2/styles.css
@@ -7,10 +7,15 @@
--sky-blue: #e9f5f6;
--off-white: #fdf6f5;
--coderdojo-black: #1a1a1a;
+
+ /* reusable sizes */
+ --section-height: 600px;
+ --footer-raspberry-pi-promotion-icon-size: 64px;
}
html, body {
all: unset;
color: var(--coderdojo-black);
+ font-size: 1.2rem;
}
/* reused class */
@@ -40,6 +45,11 @@ html, body {
}
+/* reused class */
+section {
+ height: var(--section-height);
+}
+
/* reused class */
.landing-section {
background-color: var(--scarlet-gum);
@@ -61,9 +71,51 @@ html, body {
.newsletter-section {
background-color: var(--scarlet-gum);
color: white;
+ max-height: 200px;
}
.footer {
background-color: var(--coderdojo-black);
color: white;
}
+
+/* reused class */
+.section-image {
+ width: 100%;
+ max-height: calc(var(--section-height) * 0.8);
+}
+
+/* reused class */
+.description-container {
+ height: 100%;
+ padding-top: 100px;
+}
+
+/* reused class */
+.grid {
+ display: grid;
+ column-gap: 100px;
+ height: 100%;
+}
+
+/* reused class */
+.grid-item {
+ grid-row: 1;
+ min-width: 50%;
+ margin: auto;
+}
+
+/* reused class */
+.grid-right {
+ grid-column: 2;
+}
+
+/* reused class */
+.grid-left {
+ grid-column: 1;
+}
+
+.footer-raspberry-pi-promotion-icon {
+ height: var(--footer-raspberry-pi-promotion-icon-size);
+ width: var(--footer-raspberry-pi-promotion-icon-size);
+}
diff --git a/coder-dojo-homepage/v3/README.md b/coder-dojo-homepage/v3/README.md
index b0b8d3b..9e51899 100644
--- a/coder-dojo-homepage/v3/README.md
+++ b/coder-dojo-homepage/v3/README.md
@@ -1,9 +1,10 @@
-# CoderDojo Homepage V2
+# CoderDojo Homepage V3
## Goals
-- Using flex/grid to place grouped elements side by side
-- Make the coderdojo and raspberry pi logos links
+- Using flex to place grouped elements side by side header + footer
+- Style buttons and links
+- Make all clickable images links
- Add embedded video with placeholder image
## Hold for later
diff --git a/coder-dojo-homepage/v4/README.md b/coder-dojo-homepage/v4/README.md
index 3fe945b..7c4954d 100644
--- a/coder-dojo-homepage/v4/README.md
+++ b/coder-dojo-homepage/v4/README.md
@@ -1,4 +1,4 @@
-# CoderDojo Homepage V2
+# CoderDojo Homepage V4
## Goals