-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add photo gallery page. * Update hyperlink to add photo. * Merge changes from main branch into album-gallery * Add photo gallery button
- Loading branch information
1 parent
af82818
commit 4337976
Showing
12 changed files
with
123 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2022 KendallDoesCoding Websites | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,29 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Photo Gallery - A Very Mogul Christmas!</title> | ||
<link rel="stylesheet" href="styles.css" /> | ||
</head> | ||
<body> | ||
<h1>A VERY MOGUL CHRISTMAS PHOTO GALLERY</h1> | ||
<h2>PLEASE ADD YOUR PHOTO <a href="https://github.com/KendallDoesCoding/mogul-christmas/tree/main/photo-gallery/images">HERE AND MAKE A PULL REQUEST</a></h2> | ||
<div class="row"> | ||
<div class="column"> | ||
<img src="images/3.png" /> | ||
<img src="images/4.png" /> | ||
</div> | ||
<div class="column"> | ||
<img src="images/1.png" /> | ||
<img src="images/6.jpg" /> | ||
</div> | ||
<div class="column"> | ||
<img src="images/5.jpg" /> | ||
<img src="images/2.jpg" /> | ||
</div> | ||
</div> | ||
</div> | ||
</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,55 @@ | ||
.row { | ||
display: flex; | ||
flex-wrap: wrap; | ||
padding: 0 4px; | ||
} | ||
|
||
/* Create four equal columns that sits next to each other */ | ||
.column { | ||
flex: 25%; | ||
max-width: 25%; | ||
padding: 0 4px; | ||
} | ||
|
||
.column img { | ||
margin-top: 8px; | ||
vertical-align: middle; | ||
max-width: 100%; | ||
} | ||
|
||
/* Responsive layout - makes a two column-layout instead of four columns */ | ||
@media screen and (max-width: 800px) { | ||
.column { | ||
flex: 50%; | ||
max-width: 50%; | ||
} | ||
} | ||
|
||
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */ | ||
@media screen and (max-width: 600px) { | ||
.column { | ||
flex: 100%; | ||
max-width: 100%; | ||
} | ||
} | ||
|
||
h1, | ||
h2 { | ||
text-align: center; | ||
} | ||
|
||
h1 { | ||
color: red; | ||
} | ||
|
||
h2 { | ||
color: lightcoral; | ||
} | ||
|
||
a { | ||
color: lightcoral; | ||
} | ||
|
||
a:hover { | ||
color: orange; | ||
} |
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