From 3523821bfc74fa1a1f07cc0dcebd1a8378a1c79b Mon Sep 17 00:00:00 2001 From: Willy Date: Mon, 30 Aug 2021 17:17:53 +0200 Subject: [PATCH] Initial commit --- database.php | 0 example.php | 28 +++++++++++++++++ index.php | 17 ++++++++++ style/main.css | 75 ++++++++++++++++++++++++++++++++++++++++++++ template/_footer.php | 12 +++++++ template/_header.php | 38 ++++++++++++++++++++++ 6 files changed, 170 insertions(+) create mode 100644 database.php create mode 100644 example.php create mode 100644 index.php create mode 100644 style/main.css create mode 100644 template/_footer.php create mode 100644 template/_header.php diff --git a/database.php b/database.php new file mode 100644 index 0000000..e69de29 diff --git a/example.php b/example.php new file mode 100644 index 0000000..05927bd --- /dev/null +++ b/example.php @@ -0,0 +1,28 @@ + + +

Dette er en eksempel side.

+
+

Dette er en eksempel side.

+
+

Dette er en eksempel side.

+
+

This will be on the page

+ +
+

Login

+
+ + + +
+ + \ No newline at end of file diff --git a/index.php b/index.php new file mode 100644 index 0000000..4806006 --- /dev/null +++ b/index.php @@ -0,0 +1,17 @@ + + +

Om stafett for livet

+

Vi planlegger for Kreftforeningens Stafett for livet Kristiansand i juni 2021 og håper du blir med.

+

Stafettene i 2021 tilpasses nasjonale og lokale smittevernsråd, og det vil være lokale variasjoner i hvordan stafettene gjennomføres. Men målet er likt: Vi skal hedre fighterne, vise vår støtte, minnes de vi har mistet, gi håp og feire livet.

+ Bilde av folk som løper på banen + + \ No newline at end of file diff --git a/style/main.css b/style/main.css new file mode 100644 index 0000000..40b4c47 --- /dev/null +++ b/style/main.css @@ -0,0 +1,75 @@ +html { + background-color: #fff; + background-image: url("https://willy.club/img/imagedoc-lightnoise.png"); +} + +body { + color: #222; + font-size: 14px; + font-family: "Liberation Sans", Arial, sans-serif; + line-height: 1.5; + margin: 0; +} + +h1, h2, h3, h4 { + display: inline; +} + +.navbar-top-head { + padding: 12px; + background: #472886; + background: linear-gradient(0deg, rgba(71,40,134,1) 0%, rgba(81,24,195,1) 100%); +} + +.navbar-top-inner { + color: #f8f8f8; + max-width: 900px; + margin: 0 auto; +} + +.grid-container { + display: grid; + grid-template-columns: minmax(150px, auto) auto; + grid-gap: 12px; + + max-width: 900px; + margin: 0 auto; + padding: 12px; +} + +main img { + display: block; + max-width: 100%; + height: auto; + border: 1px solid #aaa; +} + +nav { + background: #eee; + border: 1px solid #aaa; +} + +nav > ul { + padding-right: 12px; +} + +a { + color: rgb(0, 0, 255); +} + +footer { + background: #ddd; + border-top: 1px solid #aaa; + padding: 12px; +} + +.footer-inner { + max-width: 900px; + margin: 0 auto; +} + +@media only screen and (max-width: 600px) { + .grid-container { + grid-template-columns: auto; + } +} \ No newline at end of file diff --git a/template/_footer.php b/template/_footer.php new file mode 100644 index 0000000..348ab41 --- /dev/null +++ b/template/_footer.php @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file diff --git a/template/_header.php b/template/_header.php new file mode 100644 index 0000000..7f99b2f --- /dev/null +++ b/template/_header.php @@ -0,0 +1,38 @@ + + + + + + + <?php print(htmlspecialchars($templateParameters["title"])); ?> – Stafett for livet + + + + + + + +
+ +
+ +
+ +
+