Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 99966e8

Browse files
Feat: Added smaller img on footer, worked on some style
1 parent 5eacd40 commit 99966e8

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed

‎assets/css/style.css‎

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ header h1 {
140140
overflow: hidden;
141141
}
142142

143-
#footerImg {
143+
#footerImg1 {
144144
display: block;
145145
margin-left: auto;
146146
margin-right: auto;
@@ -152,6 +152,19 @@ header h1 {
152152
text-align: left;
153153
}
154154

155+
#footerImg2 {
156+
display: block;
157+
margin-left: auto;
158+
margin-right: auto;
159+
position: fixed;
160+
padding: 20px 35px;
161+
left: 0;
162+
right: 0;
163+
bottom: 0;
164+
text-align: left;
165+
display: none;
166+
}
167+
155168
/* Media Queries */
156169

157170
@media (max-width: 690px) {
@@ -198,13 +211,19 @@ header h1 {
198211

199212
@media (max-width: 350px) {
200213
#password {
201-
padding-bottom: 50%;
214+
padding-bottom: 100%;
202215
}
203216
h2 {
204217
font-size: 110%;
205218
white-space: nowrap;
206219
text-align: center;
207220
}
221+
#footerImg1 {
222+
display: none;
223+
}
224+
#footerImg2 {
225+
display: block;
226+
}
208227
}
209228

210229
@media (max-width: 300px) {

‎assets/img/GitHub64.png‎

2.56 KB
Loading[フレーム]

‎index.html‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ <h2>Generate a Password</h2>
4646
<!-- Footer -->
4747
<footer>
4848
<a>
49-
<img src="./assets/img/GitHub.png" alt="GitHub Logo and Link" id="footerImg">
49+
<img src="./assets/img/GitHub.png" alt="GitHub Logo and Link" id="footerImg1">
50+
</a>
51+
52+
<a>
53+
<img src="./assets/img/GitHub64.png" alt="GitHub Logo and Link" id="footerImg2">
5054
</a>
5155
</footer>
5256
</main>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /