Skip to content

Easton fritsch responsive #1137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 59 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,66 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style\index.css">
<link href="https://fonts.googleapis.com/css2?family=Anton&family=Delicious+Handrawn&display=swap" rel="stylesheet">
</head>
<body>

<header>
<h1>Easton Fritsch</h1>
<nav>
<button><a class="home" href="index.html">Home</a></button>
<button><a class="about" href="about.html">About</a></button>
<button><a class="contact" href="contact.html">Contact</a></button>
<button><a class="collections" href="projects.html">Collections</a></button>
</nav>
</header>
<section class="main-info">
<img class="traveler" src="https://c4.wallpaperflare.com/wallpaper/435/199/780/video-games-destiny-2-video-game-the-traveler-earth-science-fiction-hd-wallpaper-preview.jpg" alt="illustration of traveler from destiny 2" >
<div class="text">
<h2>Easton Fritsch</h2>
<button>My Lore Collection</button>
<p>I really like the game Destiny 2. It has been my passion for some time now. I have a total of 480 hrs logged on Steam. If you need to know anything about the various lore or characters in Destiny 2, you've come to the right place!</p>
</div>
</section>
<section class="row">
<div>
<img src="https://e1.pxfuel.com/desktop-wallpaper/449/383/desktop-wallpaper-zavala-turquoise-neon-lights-destiny-2-creative-commander-zavala-destiny-characters-zavala-destiny-with-resolution-3840x2400-high-quality-zavala.jpg" alt="illustration of Zavala">
<p>Commander Zavala</p>
</div>
<div>
<img src="https://i.pinimg.com/originals/73/a7/b1/73a7b1792b99ef9a1288b52ed695ca19.jpg" alt="illustration of Cayde-6">
<p>Cayde-6</p>
</div>
<div>
<img src="https://i.pinimg.com/736x/81/c6/29/81c62914a5da760d3ecef87deae81959.jpg" alt="illustration of Ikora">
<p>Ikora</p>
</div>
<div>
<img src="https://www.gamespot.com/a/uploads/scale_landscape/123/1239113/3587815-ghost.jpg" alt="illustration of destiny 2 ghost">
<p>Your Ghost</p>
</div>
</section>
<section class="row">
<div>
<img src="https://i.ytimg.com/vi/lMcPRnmOqj4/maxresdefault.jpg" alt="illustration of Mithrax">
<p>Mithrax</p>
</div>
<div>
<img src="https://d.newsweek.com/en/full/1361913/destiny-2-drifter-tape-hidden-messages-guide.jpg?w=1600&h=900&q=88&f=4d71723271932a404fcf07e964d41c78" alt="illustration of drifter">
<p>Drifter</p>
</div>
<div>
<img src="https://destiny.wiki.gallery/images/e/eb/Ada1Infobox.jpg" alt="illustration of ADA-1">
<p>ADA-1</p>
</div>
<div>
<img src="https://destiny.wiki.gallery/images/1/1a/Saint14Infobox.jpg" alt="illustration of Saint-14">
<p>Saint-14</p>
</div>
</section>
<footer>
<h2>Have other Destiny questions?</h2>
<button>Contact Me</button>
</footer>
</body>
</html>
184 changes: 183 additions & 1 deletion style/index.css
Original file line number Diff line number Diff line change
@@ -1 +1,183 @@
/* Add CSS styling here */
/* Add CSS styling here */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
/*border: 0;*/
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

*{
box-sizing: border-box;
max-width: 100%;

}

/*Genral Styles*/

html{
font-size:62.5%;
}

body {
font-size: 1.6rem;
line-height: 1.5;
font-family: 'Delicious Handrawn', cursive;
}

h1{
font-size:5rem;
font-family: 'Anton', sans-serif;
}

.text{
font-size:2rem;
}

section{
padding:4% 0;
width: 96%;
margin:0 2%;
}

/*Header Styles*/

header{
background-color: lightgray;
padding:1%;
margin-bottom:1%;
}

nav a{
font-size:2rem ;
text-decoration: none;
color: black;

}

/*main info section*/

.main-info{
display: flex;
flex-direction: row;
justify-content: center;
}

section h2{
font-size:6rem ;
font-family: 'Anton', sans-serif;
}

.text {
padding:3%;
font-size:3rem ;
}

.row{
display: flex;
justify-content: space-evenly;
flex-direction: row;
padding:1%;
}

.row div{
margin:0 2%;
font-size:3rem ;
}

footer{
background-color: lightgray;
padding:2%;
font-size:2.5rem;

}

@media(max-width: 800px){
.main-info{
display: flex;
flex-direction: column;
align-items: center;

}
.main-info div{
width:90%;
}
}

@media(max-width: 500px){
header{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
nav{
display: flex;
flex-direction: column;
}
nav button{
margin:2% 0;
}
.main-info{
display: flex;
flex-direction: column;
align-items: center;

}
.main-info div{
width:90%;
}
.row{
display: flex;
flex-wrap: wrap;
justify-content:space-around;
}
.row div{
width:40%;
margin:2% 0;
}
footer{
display: flex;
flex-direction: column;
align-items: center;
}
footer button{
margin:2% 0;
}
}