Skip to content

Commit

Permalink
Put banner on home page & updated it
Browse files Browse the repository at this point in the history
  • Loading branch information
99TheDark committed Feb 1, 2024
1 parent 8f9440b commit 4ab50c8
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 19 deletions.
21 changes: 21 additions & 0 deletions global/generic/banner.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
.banner {
padding: 2.5rem 0px;
margin: 0px;
border-bottom: 2px solid var(--i);
}

#temp_open {
margin: 0px 10rem;
font-size: 1.75em;
font-weight: 500;
font-family: "Poppins";
text-align: center;
}

#temp_discount {
margin: 0px 10rem;
font-size: 1.5em;
font-weight: 400;
font-family: "Poppins";
text-align: center;
}
1 change: 1 addition & 0 deletions global/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
@import url("generic/animations.css");
@import url("generic/nav.css");
@import url("generic/footer.css");
@import url("generic/banner.css");

:root {
--a: #2da5d7;
Expand Down
18 changes: 18 additions & 0 deletions global/tiles/banner.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Footer</title>
</head>

<body>
<div class="banner">
<h1 id="temp_open"><a href="https://renegadegirlstinkeringclub.getgalore.com/">Summer Camp Registration</a> is open!</h1>
<h3 id="temp_discount">Early Bird Discount through Febuary 29th</h3>
</div>
</body>

</html>
2 changes: 2 additions & 0 deletions home/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
<body>
<div data-href="../global/tiles/navigation.html"></div>
<div id="top-content">
<div data-href="../global/tiles/banner.html"></div>

<div id="main">
<div id="us" class="slide-in-left" tabindex="0">
<p class="us-text" id="renegade">Renegade</p>
Expand Down
8 changes: 7 additions & 1 deletion home/style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
body {
height: calc(100vh);
}

#top-content {
margin: 0px;
padding: 0px;
min-height: 100%;
position: relative;
}

#main {
Expand Down Expand Up @@ -43,7 +49,7 @@

#symbol {
width: 40em;
margin: auto 120px -18px 0px;
margin: auto 120px -8px 0px;
flex-grow: 1;
}

Expand Down
3 changes: 1 addition & 2 deletions programs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
<body>
<div data-href="../global/tiles/navigation.html"></div>
<div id="content">
<h1 id="temp_open"><a href="https://renegadegirlstinkeringclub.getgalore.com/">Summer Camp Registration</a> opens February 1, 2024 at 9am</h1>
<h3 id="temp_discount">Early Bird Discount through Febuary 28th</h3>
<div data-href="../global/tiles/banner.html"></div>

<ul hidden id="programs"></ul>

Expand Down
16 changes: 0 additions & 16 deletions programs/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,6 @@
height: 100%;
}

#temp_open {
margin: 3rem 10rem 0.5rem 10rem;
font-size: 1.75em;
font-weight: 500;
font-family: "Poppins";
text-align: center;
}

#temp_discount {
margin: 0.5rem 10rem 1rem 10rem;
font-size: 1.5em;
font-weight: 400;
font-family: "Poppins";
text-align: center;
}

#programs {
margin: 4rem 10rem 5rem 10rem;
padding: 1rem 0px 0px 0px;
Expand Down

0 comments on commit 4ab50c8

Please sign in to comment.