-
Notifications
You must be signed in to change notification settings - Fork 93
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
Cedar - Laurel #66
base: master
Are you sure you want to change the base?
Cedar - Laurel #66
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,34 @@ | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
<link href="/styles/styles.css" rel="stylesheet"> | ||
</head> | ||
<body> | ||
|
||
<body class="grid-container"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is a convention to organize the files such that |
||
<header></header> | ||
|
||
<h1 id="hello1" class="grid-item">Laurel Stickney</h1> | ||
|
||
<h2 id="hello3" class="grid-item ">(developer-in-training)</h2> | ||
|
||
<div id="cursor-img" class="container grid-item"> | ||
<img src="/images/clouds-png-23428.png"> | ||
</div> | ||
|
||
<nav class="navbar grid-item" id="overlay"> | ||
<!-- list items block nav bar --> | ||
<ol class="grid-item"> | ||
<li> | ||
<div class="cursor-container"> | ||
<img src="/images/cursor-png-1111.png" /> | ||
</div> | ||
</li> | ||
<li><a class="active" href="index.html">Home</a></li> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Love the use of the |
||
<li><a href="portfolio.html">My Portfolio</a></li> | ||
<li><a href="about.html">About Me</a></li> | ||
</ol> | ||
</nav> | ||
<footer> | ||
</footer> | ||
|
||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
/* <style> */ | ||
|
||
body { | ||
background-image: url(https://images.pexels.com/photos/1831234/pexels-photo-1831234.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1); | ||
background-attachment: fixed; | ||
background-position: center; | ||
background-color: rgba(218, 214, 215, 0.671); | ||
background-size: cover; | ||
} | ||
|
||
a { | ||
display: block; | ||
padding: 8px; | ||
text-decoration: none; | ||
text-align: center; | ||
color: rgb(253, 205, 205); | ||
padding: 14px 16px; | ||
font-variant: small-caps; | ||
|
||
color: white; | ||
font-size: 22pt; | ||
font-family: 'Superclarendon', sans-serif; | ||
} | ||
|
||
|
||
li { | ||
list-style-type: none; | ||
display: inline; | ||
float: right; | ||
} | ||
|
||
li a:hover { | ||
text-decoration: underline overline; | ||
color: rgb(253, 205, 205); | ||
} | ||
|
||
.navbar { | ||
grid-column-start: 1; | ||
grid-column-end: 6; | ||
} | ||
|
||
#overlay { | ||
position: fixed; | ||
width: 100%; | ||
height: 11%; | ||
top: 0; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
background-color: rgba(0,0,0,0.5); | ||
z-index: 2; | ||
} | ||
|
||
#hello1 { | ||
color: rgb(84, 134, 135); | ||
float: right; | ||
font-family: 'Superclarendon', sans-serif; | ||
font: bold; | ||
font-size: 75pt; | ||
grid-column-start: 2; | ||
grid-column-end: 5; | ||
grid-row-start: 1; | ||
grid-row-end: 3; | ||
position: relative; | ||
justify-self: center; | ||
top: 12%; | ||
} | ||
|
||
body { | ||
min-height: 100vh; | ||
} | ||
|
||
|
||
ul { | ||
list-style-type: none; | ||
margin: 0; | ||
padding: 0; | ||
position: fixed; | ||
top: 2%; | ||
width: 100%; | ||
right: 50px; | ||
} | ||
|
||
/* grid */ | ||
|
||
.grid-container { | ||
display: grid; | ||
grid-template-columns: 1fr 1fr 1fr 1fr 1fr; | ||
grid-template-rows: 1fr 1fr 1fr 1fr; | ||
} | ||
|
||
.container { | ||
width: 1500px; | ||
grid-column-start: 2; | ||
grid-column-end: 5; | ||
grid-row-start: 2; | ||
grid-row-end: 4; | ||
position: relative; | ||
bottom: 200px; | ||
justify-self: center; | ||
z-index: -1; | ||
} | ||
|
||
/* Resize images */ | ||
|
||
.cursor-container { | ||
width: 50px; | ||
position: fixed; | ||
left: 20px; | ||
} | ||
|
||
.cursor-container img { | ||
width: 100%; | ||
} | ||
|
||
.active { | ||
background-color: rgb(84, 134, 135);; | ||
} | ||
|
||
iframe { | ||
grid-column-start: 2; | ||
grid-column-end: 5; | ||
grid-row-start: 3; | ||
grid-row-end: 4; | ||
width: 840; | ||
height: 630; | ||
margin-top: 158px; | ||
justify-self: center; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to add the
..
to get the correct path. The VSCode extension doesn't catch this issue with the path. It is also true for theimages
directory.