Skip to content

Commit 18a123f

Browse files
committed
fixed centering of images for project screenshots
1 parent 8ce98e9 commit 18a123f

File tree

6 files changed

+50
-44
lines changed

6 files changed

+50
-44
lines changed
56.1 KB
Loading

projects.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,13 @@ <h3>EmployRecord</h3>
7878
</div>
7979
</div>
8080

81-
<div class="container">
81+
<div class="container text-center">
8282
<div class="container border border-dark rounded list-box">
8383
<a class="centered nav-link" href="https://github.com/CometS1/DnD_Webpage">
8484
<h3>DnD Webpage</h3>
8585
</a>
86-
<img src="Images/Dnd_Webpage_Screenshot_1.JPG" class="img-fluid list-box border border-dark" alt="DnD screenshot 1">
86+
<img src="Images/Dnd_Webpage_Screenshot_1.JPG" class="img-fluid list-box-picture border border-dark"
87+
alt="DnD screenshot 1">
8788
<p class="lead story">One of my earlier projects, this is a web app I made using HTML and CSS that is meant
8889
to assist players of the roleplaying game D&D. There are a list of spell descriptions on the page, which
8990
are associated with spells in the game. The easy part was making the page, the hard part was inputting
@@ -98,6 +99,8 @@ <h3>DnD Webpage</h3>
9899
<a class="centered nav-link" href="https://github.com/CometS1/Skale-file-storage">
99100
<h3>Blockchain file storage</h3>
100101
</a>
102+
<img src="Images/Blockchain_File_Storage_Screenshot_1.JPG" class="img-fluid list-box-picture border border-dark"
103+
alt="Blockchain File Storage Screenshot 1">
101104
<p class="lead story">This was a project I made for a blockchain hackathon on Gitcoin. It uses Skale File
102105
Storage to store data directly to your blockchain account, which allows for more secure data due to the
103106
nature of blockchain. Due to complications with integrating Skale, this project is a reskin of the
Binary file not shown.

styles/styles.css

+29-41
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

styles/styles.css.map

+7-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

styles/styles.scss

+9
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,15 @@ div {
9292
border-radius: 300px 300px 300px 300px !important;
9393
}
9494

95+
.list-box-picture {
96+
background-color: $secondary-color;
97+
margin-bottom: 2em;
98+
margin-left: 1.5em;
99+
margin-right: 0;
100+
border-width: 0.2em !important;
101+
box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.7);
102+
}
103+
95104
.list-box-thick {
96105
background-color: $secondary-color;
97106
padding: 5em;

0 commit comments

Comments
 (0)