Skip to content

Commit

Permalink
Add better mobibe padding
Browse files Browse the repository at this point in the history
  • Loading branch information
lumi200 committed Dec 21, 2023
1 parent 331c43a commit 64d56d2
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,16 @@ section {
margin-left: 20%;
margin-right: 20%;
margin-bottom: 2%;
padding: 5px;
padding: 5em;
}

@media screen and (max-width:740px) {
section {
margin-left: 5px;
margin-right: 5px;
margin-left: 0px;
margin-right: 0px;
border-radius: 0px;
padding: 1em;

}
}

Expand Down Expand Up @@ -234,7 +237,7 @@ footer p {
@font-face {
font-family: 'wkwkregular';
src: url('res/wkwk-webfont.woff2') format('woff2'),
url('res/wkwk-webfont.woff2') format('woff');
url('res/wkwk-webfont.woff2') format('woff');
font-weight: normal;
font-style: normal;

Expand All @@ -243,7 +246,7 @@ footer p {
@font-face {
font-family: 'library_3_amregular';
src: url('res/library3am-5v3z-webfont.woff2') format('woff2'),
url('res/library3am-5v3z-webfont.woff') format('woff');
url('res/library3am-5v3z-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
Expand Down Expand Up @@ -295,7 +298,8 @@ footer p {

.img-comp-container {
position: relative;
height: 200px; /* should be the same height as the images */
height: 200px;
/* should be the same height as the images */
}

.img-comp-img {
Expand Down Expand Up @@ -324,8 +328,10 @@ footer p {
.flexbox {
display: flex;
flex-direction: column;
align-items: center; /* Center items horizontally */
justify-content: center; /* Center items vertically */
align-items: center;
/* Center items horizontally */
justify-content: center;
/* Center items vertically */
}

.flexbox img {
Expand All @@ -340,4 +346,4 @@ footer p {
box-decoration-break: clone;
padding: .1rem .3rem .2rem;
border-radius: .2rem;
}
}

0 comments on commit 64d56d2

Please sign in to comment.