Skip to content

Commit

Permalink
edited the scale of all the pages by reduing th paddiing
Browse files Browse the repository at this point in the history
  • Loading branch information
musaddique333 committed Oct 8, 2023
1 parent e27d943 commit e5f4396
Show file tree
Hide file tree
Showing 8 changed files with 63 additions and 50 deletions.
34 changes: 24 additions & 10 deletions CSS/characters.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
body {
display: flex;
flex-direction: column;
justify-content: center;
background-image: url(../images/background/background_characters.jpeg);
background-position: top;
background-size: 400px;
Expand All @@ -23,7 +22,7 @@ body {
justify-content: space-between;
height: max-content;
background-color: rgba(0, 0, 0, 0.503);
padding: 0 5%;
padding: 0 1%;
margin: 0 0 5% 0;
}

Expand Down Expand Up @@ -91,7 +90,7 @@ body {
display: flex;
align-items: center;
justify-content: center;
padding: 0;
padding: 0 1%;
margin: 0;
}

Expand All @@ -103,13 +102,23 @@ body {
transform: scale(1.1);
}

.crew-more{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 0 1%;
}

.crew-name{
align-self: center;
color: rgba(255, 255, 255, 0.8);
text-shadow: 5px 5px rgb(255, 0, 0);
background-color: rgba(0, 0, 0, 0.48);
border-radius: 10px;
padding: 10px;
font-size: 500%;
font-weight: bold;
margin: 0;
}

.know-more {
Expand All @@ -121,6 +130,12 @@ body {
border: 2px solid rgb(255, 255, 255);
border-radius: 5px;
padding: 10px;
max-width: fit-content;

}

.know-more:hover {
transform: scale(1.1);
}

.know-more a{
Expand All @@ -133,8 +148,8 @@ body {
border: 1px solid rgb(0, 0, 0);
border-radius: 15px;
background-color: rgba(0, 0, 0, 0.616);
padding: 0 2%;
margin: 5% 0 5% 0;
padding: 0 1%;
margin: 5% 0 0 0;
max-width: max-content;
align-self: center;
max-height: 1000px;
Expand Down Expand Up @@ -198,7 +213,7 @@ td a:hover:not(.poster a, .voice_actor a){
flex-direction: column;
justify-content: center;
align-items: flex-start;
padding: 0 5%;
padding: 0 1%;
margin: 0 0 5% 0;
background-color: rgba(0, 0, 0, 0.2);
}
Expand Down Expand Up @@ -275,14 +290,13 @@ summary {

/* footer */
.footer {
margin: 5% 0 0 0;
display: flex;
align-items: center;
justify-content: center;
height: 50px;
background-color: rgba(0, 0, 0, 0.616);
padding: 0 5%;
margin: 0;
padding: 0 1%;
margin: 10% 0 0 0;
}

.footer footer {
Expand Down
24 changes: 12 additions & 12 deletions CSS/contact.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ body {
justify-content: space-between;
height: max-content;
background-color: rgba(0, 0, 0, 0.503);
padding: 0 5%;
padding: 0 1%;
margin: 0 0 5% 0;
}

Expand Down Expand Up @@ -93,7 +93,7 @@ body {
display: flex;
align-items: center;
justify-content: center;
padding: 0;
padding: 0 1%;
margin: 0;
}

Expand Down Expand Up @@ -196,16 +196,6 @@ input[type="submit"]:focus {
text-shadow: none;
}

.footer {
display: flex;
align-items: center;
justify-content: center;
height: 50px;
background-color: rgba(0, 0, 0, 0.616);
margin: 10% 0 0 0;
padding: 0 5%;
}

.wipeout{
display: flex;
align-items: center;
Expand All @@ -223,6 +213,16 @@ input[type="submit"]:focus {
transform: scale(1.1);
}

.footer {
display: flex;
align-items: center;
justify-content: center;
height: 50px;
background-color: rgba(0, 0, 0, 0.616);
margin: 10% 0 0 0;
padding: 0 1%;
}

.footer footer {
color: rgba(255, 255, 255, 0.7);
font-size: 120%;
Expand Down
11 changes: 6 additions & 5 deletions CSS/gallery.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ body {
justify-content: space-between;
height: max-content;
background-color: rgba(0, 0, 0, 0.503);
padding: 0 5%;
padding: 0 1%;
margin: 0 0 5% 0;
}

Expand Down Expand Up @@ -92,7 +92,7 @@ body {
display: flex;
align-items: center;
justify-content: center;
padding: 0;
padding: 0 1%;
margin: 0;
}

Expand All @@ -108,14 +108,15 @@ body {
.gallery {
display: flex;
flex-direction: column;
padding: 0 1%;
gap: 10px;
}

.gallery_of_three {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 5%;
padding: 0 1%;
margin: 0;
overflow: auto;
white-space: nowrap;
Expand All @@ -134,7 +135,7 @@ body {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 5%;
padding: 0 1%;
margin: 0;
overflow: auto;
white-space: nowrap;
Expand Down Expand Up @@ -188,7 +189,7 @@ body {
justify-content: center;
height: 50px;
background-color: rgba(0, 0, 0, 0.616);
padding: 0 5%;
padding: 0 1%;
margin: 5% 0 0 0;
}

Expand Down
9 changes: 4 additions & 5 deletions CSS/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
body {
display: flex;
flex-direction: column;
justify-content: center;
background-image: url(../images/background/background_index.jpg);
background-position: center;
background-size: cover;
Expand All @@ -25,7 +24,7 @@ body {
justify-content: space-between;
height: max-content;
background-color: rgba(0, 0, 0, 0.503);
padding: 0 5%;
padding: 0 1%;
margin: 0 0 5% 0;
}

Expand Down Expand Up @@ -93,7 +92,7 @@ body {
display: flex;
align-items: center;
justify-content: center;
padding: 0;
padding: 0 1%;
margin: 0;
}

Expand All @@ -111,7 +110,7 @@ body {
align-items: center;
height: max-content;
gap: 5%;
padding: 0 5%;
padding: 0 1%;
}

.detail {
Expand Down Expand Up @@ -260,7 +259,7 @@ body {
height: 50px;
background-color: rgba(0, 0, 0, 0.616);
margin: 10% 0 0 0;
padding: 0 5%;
padding: 0 1%;
}

.footer footer {
Expand Down
8 changes: 4 additions & 4 deletions CSS/plot.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ body {
justify-content: space-between;
height: max-content;
background-color: rgba(0, 0, 0, 0.503);
padding: 0 5%;
padding: 0 1%;
margin: 0 0 5% 0;
}

Expand Down Expand Up @@ -90,7 +90,7 @@ body {
display: flex;
align-items: center;
justify-content: center;
padding: 0;
padding: 0 1%;
margin: 0;
}

Expand Down Expand Up @@ -201,7 +201,7 @@ body {
justify-content: center;
flex-direction: column;
gap: 10px;
padding: 0 5%;
padding: 0 1%;
margin: 5% 0 0 0;
background-color: rgba(255, 255, 255, 0.5);
border: #181d3b;
Expand Down Expand Up @@ -268,7 +268,7 @@ body {
height: 50px;
background-color: rgba(0, 0, 0, 0.616);
margin: 10% 0 0 0;
padding: 0 5%;
padding: 0 1%;
}

.footer footer {
Expand Down
17 changes: 9 additions & 8 deletions characters.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,15 @@
<div class="logo">
<img src="./images/Icons/One-Piece-Logo.png" alt="">
</div>
<div class="crew-name">
<main>The Straw Hat Crew</main>
</div>
<div class="know-more">
<a href="#desc-head">
<p>Click on the names in the table to know more..</p>
</a>
<div class="crew-more">
<div class="crew-name">
<main>The Straw Hat Crew</main>
</div>
<div class="know-more">
<a href="#desc-head">
<p>Click on the names in the table to know more..</p>
</a>
</div>
</div>
<div id="desc-head" class="wrapper">
<table>
Expand Down Expand Up @@ -330,5 +332,4 @@
<footer class="copy_right">© 2020 Anime, Inc. All Rights Reserved.</footer>
</div>
</body>

</html>
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,13 @@
<img src="./images/Icons/play_icon.png" alt="Default Image">
</div>
</a>
<a href="https://youtu.be/DNC28dpB9_Y?si=YM7y2SNWoTILhJ_C" style="text-decoration: none;" class="watch"><span
class="imageText">Watch Trailer</span></a>
<a href="https://youtu.be/DNC28dpB9_Y?si=YM7y2SNWoTILhJ_C" style="text-decoration: none;"
class="watch"><span class="imageText">Watch Trailer</span></a>
</div>
</div>
<div class="footer">
<footer class="copy_right">© 2020 Anime, Inc. All Rights Reserved.</footer>
</div>
</div>

</html>
5 changes: 1 addition & 4 deletions plot.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<link href="https://fonts.cdnfonts.com/css/quela" rel="stylesheet">
<title>Plot of One Piece</title>
</head>

<body>
<div class="header">
<header class="header_left">
Expand Down Expand Up @@ -449,7 +448,5 @@ <h3 id="egghead-arc">Egghead Arc</h3>
<div class="footer">
<footer class="copy_right">© 2020 Anime, Inc. All Rights Reserved.</footer>
</div>

<body>

<body>
</html>

0 comments on commit e5f4396

Please sign in to comment.