-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Working on template, fix static routes
- Loading branch information
1 parent
c780ed1
commit a91d2a4
Showing
6 changed files
with
72 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
</div> | ||
<footer> | ||
Copyright © ${year} $DOMAIN | ||
<div class="container">Copyright © ${year} $DOMAIN</div> | ||
</footer> | ||
</main> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
<main> | ||
<nav> | ||
<a href="/">Home</a> | ||
<a href="/contact">Contact</a> | ||
</nav> | ||
<section class="hero"> | ||
<!-- Constrain width area --> | ||
<div class="container"> | ||
<h1>It's a Qub-ical Playground</h1> | ||
<p class="subtitle">...and we're just playing in it!</p> | ||
<nav> | ||
<a href="/">Home</a> | ||
<a href="/contact">Contact</a> | ||
</nav> | ||
</div> | ||
</section> | ||
<div class="container"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
<!--TITLE | ||
$DOMAIN - Official Website | ||
--> | ||
|
||
<h1>$DOMAIN</h1> | ||
|
||
<p>Welcome to the official website of $DOMAIN.</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,59 @@ | ||
/* | ||
Add your styles here | ||
*/ | ||
|
||
body { | ||
/* reset */ | ||
margin: 0; | ||
padding: 0; | ||
font-family: sans-serif; | ||
/* full width, 100% tall */ | ||
width: 100%; | ||
height: 100%; | ||
/* center content */ | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.container { | ||
/* constrained width */ | ||
width: 800px; | ||
margin: 0 auto; | ||
} | ||
|
||
.hero { | ||
background-color: #fedb6b; | ||
/* full width, 400px tall, content is centered */ | ||
width: 100%; | ||
height: 400px; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.hero h1 { | ||
font-size: 3em; | ||
text-align: center; | ||
font-family: Georgia, "Times New Roman", Times, serif; | ||
} | ||
|
||
.hero .subtitle { | ||
font-size: 1.5em; | ||
text-align: center; | ||
font-family: Georgia, "Times New Roman", Times, serif; | ||
} | ||
|
||
.hero nav { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.hero nav a { | ||
margin: 0 1em; | ||
text-decoration: none; | ||
color: #000; | ||
font-weight: normal; | ||
font-size: 1.5em; | ||
padding: 0.5em; | ||
} |