Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
week 9
- Loading branch information
Alex Mueller
committed
Mar 30, 2020
1 parent
a4497ab
commit 0cab4a8
Showing
31 changed files
with
229 additions
and
254 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
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 |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<!doctype html> | ||
<html class="no-js" lang=""> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>CSS Grid Showcase</title> | ||
<meta name="description" content=""> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<link rel="manifest" href="site.webmanifest"> | ||
<link rel="apple-touch-icon" href="icon.png"> | ||
<!-- Place favicon.ico in the root directory --> | ||
|
||
<link rel="stylesheet" href="css/normalize.css"> | ||
<link rel="stylesheet" href="css/main.css"> | ||
|
||
<meta name="theme-color" content="#fafafa"> | ||
<link rel="stylesheet" href="https://use.typekit.net/tkh5wgd.css"> | ||
<script src="https://code.iconify.design/1/1.0.4/iconify.min.js"></script> | ||
</head> | ||
|
||
<body> | ||
<!--[if IE]> | ||
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p> | ||
<![endif]--> | ||
|
||
<!-- Add your site or application content here --> | ||
<header> | ||
<a href="javascript:void(0);" id="nav-menu" class="mobile"><span class="iconify mobile" data-icon="mdi:menu" data-inline="false"></span></a> | ||
<div class="header-title"> | ||
<span class="title">CSS Grid Showcase</span> | ||
</div> | ||
<nav class="m-hidden" id="nav-links"> | ||
<a href="#history">History</a> | ||
<a href="#gc-props">Containers</a> | ||
<a href="#gi-props">Items</a> | ||
<a href="#generator">Generator</a> | ||
</nav> | ||
</header> | ||
<main> | ||
<div id="history"> | ||
<h1>The History of CSS Grid</h1> | ||
</div> | ||
<div id="gc-props"> | ||
<h1>Grid Container Properties</h1> | ||
</div> | ||
<div id="gi-props"> | ||
<h1>Grid Item Properties</h1> | ||
</div> | ||
<div id="generator"> | ||
<h1>Grid Generator</h1> | ||
</div> | ||
</main> | ||
<footer> | ||
<span class="iconify" data-icon="mdi:github" data-inline="false"></span> | ||
<div class="footer-text">Made by Alex Mueller</div> | ||
</footer> | ||
<script src="js/main.js"></script> | ||
<script src="js/vendor/modernizr-3.8.0.min.js"></script> | ||
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script> | ||
</body> | ||
|
||
</html> |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
let menuButton = document.querySelector('#nav-menu') | ||
menuButton.addEventListener('click', toggleMenu) | ||
|
||
let navLinks = document.querySelector('#nav-links') | ||
let navTitle = document.querySelector('.title') | ||
function toggleMenu() { | ||
if (navLinks.className == 'm-hidden') { | ||
navLinks.className = 'show'; | ||
// navTitle.className = 'hidden'; | ||
} else { | ||
// navTitle.className = 'show'; | ||
navLinks.className = 'm-hidden'; | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
.DS_Store |
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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
body { | ||
font-family: Arial, Helvetica, sans-serif; | ||
margin: 1em; | ||
background-color: azure | ||
} | ||
h1,h2, h3, h4, h5, h6 { | ||
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif | ||
} | ||
|
||
a:link { | ||
color: rgb(101, 101, 206); | ||
} | ||
a:hover{ | ||
color:rgb(61, 61, 126); | ||
} | ||
a:visited { | ||
color:rgb(107, 107, 121) | ||
} | ||
|
||
|
||
figure.quote { | ||
color: #698b9c; | ||
margin: 2em 1em; | ||
background-color: white; | ||
font-size: 1.25em; | ||
border-left: 1px dotted rgb(139, 139, 207); | ||
padding: 0 1em; | ||
} | ||
figcaption::before { | ||
content: "— "; | ||
} | ||
figcaption { | ||
line-height: 1.5em; | ||
} | ||
blockquote { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
code { | ||
background-color: rgb(234, 234, 234); | ||
} | ||
|
||
li { | ||
margin-bottom: 1em; | ||
} | ||
|
||
hr { | ||
border: 1px dotted rgb(139, 139, 207); | ||
margin: 2em; | ||
} | ||
|
||
|
||
|
||
@media (min-width: 945px ) { | ||
main { | ||
display: flex; | ||
} | ||
main > article, main > aside { | ||
width: 50%; | ||
} | ||
img { | ||
float: right; | ||
max-width: 100% | ||
} | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.