Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
e26f326
Setting up GitHub Classroom Feedback
github-classroom[bot] Jul 17, 2023
f3feb4f
Added pictures folder for assignemnt 4
ChadHarper811 Jul 17, 2023
602ea47
Changed picture name of backgroun img, made basic layout of index and…
ChadHarper811 Jul 18, 2023
a4e77c6
Added more & rearranged imgs, started img gallery and added more css
ChadHarper811 Jul 18, 2023
e30e0b5
modified imgs
ChadHarper811 Jul 18, 2023
4a7cbd6
added all imgs to gallery
ChadHarper811 Jul 18, 2023
a724817
added img - hover feature
ChadHarper811 Jul 21, 2023
b613742
removed hover and added click/double click events to images
ChadHarper811 Jul 21, 2023
ed70e55
added finishing css and navbar/footer
ChadHarper811 Jul 21, 2023
ab74360
fixed minor css styling
ChadHarper811 Jul 24, 2023
8bf1c86
added required html and css objectives for assignemnt 4
ChadHarper811 Jul 25, 2023
ea74a51
added blog enrties up to day 10
ChadHarper811 Jul 25, 2023
6b11803
added blog entries day 11 to 34, fixed minor css
ChadHarper811 Jul 26, 2023
2a97507
added img descriptions and alt text
ChadHarper811 Jul 27, 2023
c1c4888
simplified click $ dblclick functions
ChadHarper811 Jul 27, 2023
22b9761
fixed minor footer css
ChadHarper811 Jul 27, 2023
2848285
fixed commented out css
ChadHarper811 Jul 27, 2023
6b5332e
minor formatiing changes to style sheet
ChadHarper811 Mar 24, 2024
dc93ec9
created script file to add more javascript and changed blog post class
ChadHarper811 Apr 6, 2024
96e9b27
undid changes and forked own copy for updating
ChadHarper811 Apr 6, 2024
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
Binary file added assignment-4-pics/7-09-09.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-10-09.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-11-09 1.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-11-09 2.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-11-09 3.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-11-09 4.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-12-09 1.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-12-09 2.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-12-09 3.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-12-09 4.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-13-09.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-14-09 1.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-14-09 2.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-14-09 3.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-15-09 1.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-15-09 2.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-15-09 3.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-16-09.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-17-09 1.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-17-09 2.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-17-09 3.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-17-09 4.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-18-09 1.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-18-09 2.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-19-09.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assignment-4-pics/7-20-09.JPG
Binary file added assignment-4-pics/7-21-09 1.JPG
Binary file added assignment-4-pics/7-21-09 2.JPG
Binary file added assignment-4-pics/7-21-09 3.JPG
Binary file added assignment-4-pics/7-21-09 4.JPG
Binary file added assignment-4-pics/7-22-09.JPG
Binary file added assignment-4-pics/7-23-09.JPG
Binary file added assignment-4-pics/7-24-09 1.JPG
Binary file added assignment-4-pics/7-24-09 2.JPG
Binary file added assignment-4-pics/7-24-09 3.JPG
Binary file added assignment-4-pics/7-25-09 1.JPG
Binary file added assignment-4-pics/7-25-09 2.JPG
Binary file added assignment-4-pics/7-25-09 3.JPG
Binary file added assignment-4-pics/7-26-09 1.JPG
Binary file added assignment-4-pics/7-26-09 2.JPG
Binary file added assignment-4-pics/7-26-09 3.JPG
Binary file added assignment-4-pics/7-27-09 1.JPG
Binary file added assignment-4-pics/7-27-09 2.JPG
Binary file added assignment-4-pics/7-27-09 3.JPG
Binary file added assignment-4-pics/7-28-09.JPG
Binary file added assignment-4-pics/7-29-09 1.JPG
Binary file added assignment-4-pics/7-29-09 2.JPG
Binary file added assignment-4-pics/7-29-09 3.JPG
Binary file added assignment-4-pics/7-29-09 4.JPG
Binary file added assignment-4-pics/7-30-09 1.JPG
Binary file added assignment-4-pics/7-30-09 2.JPG
Binary file added assignment-4-pics/7-30-09 3.JPG
Binary file added assignment-4-pics/7-30-09 4.JPG
Binary file added assignment-4-pics/7-31-09 1.JPG
Binary file added assignment-4-pics/7-31-09 2.JPG
Binary file added assignment-4-pics/7-31-09 3.JPG
Binary file added assignment-4-pics/7-31-09 4.JPG
Binary file added assignment-4-pics/8-01-09 1.JPG
Binary file added assignment-4-pics/8-01-09 2.JPG
Binary file added assignment-4-pics/8-01-09 3.JPG
Binary file added assignment-4-pics/8-01-09 4.JPG
Binary file added assignment-4-pics/8-02-09 1.JPG
Binary file added assignment-4-pics/8-02-09 2.JPG
Binary file added assignment-4-pics/8-02-09 3.JPG
Binary file added assignment-4-pics/8-02-09 4.JPG
Binary file added assignment-4-pics/8-03-09 1.JPG
Binary file added assignment-4-pics/8-03-09 2.JPG
Binary file added assignment-4-pics/8-04-09 1.JPG
Binary file added assignment-4-pics/8-04-09 2.JPG
Binary file added assignment-4-pics/8-04-09 3.JPG
Binary file added assignment-4-pics/8-04-09 4.JPG
Binary file added assignment-4-pics/8-05-09 1.JPG
Binary file added assignment-4-pics/8-05-09 2.JPG
Binary file added assignment-4-pics/8-05-09 3.JPG
Binary file added assignment-4-pics/8-05-09 4.JPG
Binary file added assignment-4-pics/8-06-09.JPG
Binary file added assignment-4-pics/8-07-09.JPG
Binary file added assignment-4-pics/8-08-09 1.JPG
Binary file added assignment-4-pics/8-08-09 2.JPG
Binary file added assignment-4-pics/8-08-09 3.JPG
Binary file added assignment-4-pics/8-08-09 4.JPG
Binary file added assignment-4-pics/8-09-09 1.JPG
Binary file added assignment-4-pics/8-09-09 2.JPG
Binary file added assignment-4-pics/8-10-09 1.JPG
Binary file added assignment-4-pics/8-10-09 2.JPG
Binary file added assignment-4-pics/8-10-09 3.JPG
Binary file added assignment-4-pics/8-10-09 4.JPG
Binary file added assignment-4-pics/8-11-09 1.JPG
Binary file added assignment-4-pics/8-11-09 2.JPG
Binary file added assignment-4-pics/8-11-09 3.JPG
Binary file added assignment-4-pics/8-11-09 4.JPG
Binary file added assignment-4-pics/background.jpg
307 changes: 306 additions & 1 deletion index.html

Large diffs are not rendered by default.

212 changes: 211 additions & 1 deletion styles.css
Original file line number Diff line number Diff line change
@@ -1 +1,211 @@
/* Write your CSS here! */
:root {
--main-white: #f0f0f0;
--main-orange: #994500;
--main-blue: #153d6b;
--main-gray: #38444d;
}

#mainHeading {
color:red;
}

.funParagraph {
color:green;
}

html {
scroll-behavior: smooth;
scroll-padding-top: 92px;
}

body {
font-family: Arial, Helvetica, sans-serif;
background-color: var(--main-white);
align-items: center;
justify-content: center;
text-align: center;
margin: 8px;
display: block;
background-color: rgb(199, 199, 199);
background-image: url("assignment-4-pics/background.jpg");
background-size: contain;
background-blend-mode: darken;
}

header {
position: fixed;
top: 0;
left: 0;
z-index: 1;
width: 100%;
background-color: var(--main-blue);
color: var(--main-white);
}

h1 {
margin: 5px;
}

h2, p {
margin:0;
}

#travel-story , #gallery-info {
margin-top: 120px;
background-color: var(--main-white);
border-radius: 10px;
padding: 10px;
}
.gallery {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 20px;
max-width: 90vw;
margin: 0 auto;
padding: 20px 10px;
}

.gallery-day {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 20px;
max-width: 1500px;
padding: 20px 10px;
}

.img-day {
padding: 8px;
background-color: var(--main-white);
border-radius: 10px;
}

.travel-images {
width: 350px;
height: 300px;
object-fit: cover;
border-radius: 15px;
opacity: .8;
}

.travel-images:hover {
opacity: 1;
}

.day-hash {
font-weight: bold;
font-size: large;
}

#navbar{
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: var(--main-blue);
}

#navbar li {
float: left;
}

li a, .dropbtn {
display: inline-block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn {
background-color: var(--main-gray);
}

li.dropdown {
display: inline-block;
}

.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 104px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}

.dropdown-content a {
color: black;
padding: 1.5px 16px;
text-decoration: none;
display: block;
text-align: center;
}

.dropdown-content a:hover {
background-color: #dbdbdb;
}

.dropdown:hover .dropdown-content {
display: block;
}

#travel-blog h2 {
background-color: var(--main-white);;
border-radius: 10px;
}

#blog-list li {
list-style: none;
background-color: var(--main-white);
border-radius: 10px;
margin-bottom: 20px;
margin-right: 40px;
padding: 5px;
}

footer {
background-color: var(--main-blue);
color: var(--main-white);
position: absolute;
left: 0;
width: 100%;
padding: 30px 0 30px;
margin-top: 100px;
}

footer p {
margin: 10px;
font-size: 20px;
}

#contact-links {
margin:20px;
}

.contact-details {
font-size: 25px;
text-shadow: 3px 3px 1px black;
transition: transform 0.2s ease-out;
margin: 20px 15px;
}

footer a:link {
color: var(--main-white)
}

footer a:visited {
color:var(--main-gray);
}

footer a:hover {
color: var(--main-orange)
}
.contact-details :hover {
transform: translateY(4px);
}