From 23fcd8a8fc51f0323975f12024c1881b6ba96d22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B3=BD=EB=8F=99=EC=A4=80?= <k3357943@ajou.ac.kr> Date: Wed, 22 Mar 2023 20:13:27 +0900 Subject: [PATCH] modified some style --- public/index.html | 12 +++++++----- public/style.css | 18 ++++++------------ 2 files changed, 13 insertions(+), 17 deletions(-) diff --git a/public/index.html b/public/index.html index c5b2fa5..3398f30 100644 --- a/public/index.html +++ b/public/index.html @@ -13,8 +13,8 @@ <a href="https://gitlab.com/pages/">Other Examples</a> </div> - <div style="text-align: center;"> - <img src = "image/thankyou_kong.jpg", alt="GamSaKong", width="360", height="360"> + <div class="centerImage"> + <img src = "image/thankyou_kong.jpg", alt="GamSaKong"> </div> <h1>Kwak Dong Jun</h1> @@ -36,9 +36,11 @@ </ol> <p>here's the my friend's link</p> - <p class="link1"><a href="http://unidev.ajousw.kr/jiheon-choi/">Choi Ji Heon</a></p> - <p class="link2"><a href="http://sunje105.ajousw.kr/sunje_homepage/">Lee Sun Je</a></p> - <p class="link3"><a href="http://minsol_choo.ajousw.kr/practical_coding_1_html/">Choo Min Sol</a></p> + <div class="linkColor"> + <p><a href="http://unidev.ajousw.kr/jiheon-choi/">Choi Ji Heon</a></p> + <p><a href="http://sunje105.ajousw.kr/sunje_homepage/">Lee Sun Je</a></p> + <p><a href="http://minsol_choo.ajousw.kr/practical_coding_1_html/">Choo Min Sol</a></p> + </div> <h6>The End</h6> </body> diff --git a/public/style.css b/public/style.css index 65ddaf9..9ad51f0 100644 --- a/public/style.css +++ b/public/style.css @@ -22,20 +22,14 @@ body { color: #ffffff; } -p.link1{ - font-size: medium; - font-style: italic; - background-color: aqua; -} - -p.link2{ - font-size: medium; - font-style: italic; - background-color: aquamarine; +.centerImage { + text-align: center; + width: 360px; + height: 360px; } -p.link3{ +.linkColor{ font-size: medium; font-style: italic; - background-color: antiquewhite; + background-color: aqua; } \ No newline at end of file -- GitLab