Skip to content

Commit

Permalink
Improve padding and scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
Declan Chidlow committed Oct 16, 2023
1 parent 27f74e3 commit 84e5cba
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 54 deletions.
20 changes: 1 addition & 19 deletions config/global/style/images.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,8 @@ img {
width: 500px;
}

img#left {
float: left;
margin: 10px 10px 10px 0px;
}

img#right {
float: right;
margin: 10px 0px 10px 10px;
}

img.emoji {
display: inline;
height: 1.2rem;
width: auto;
}

@media (max-width: 700px) {
img, img#right, img#left {
img {
width: 100%;
margin: 10px 0px;
float: none;
}
}
2 changes: 1 addition & 1 deletion config/global/style/standard.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ p, h1, h2, h3, h4, h5, h6 {
}

body {
margin: 0 3rem;
margin: 0 4rem;
background-color: var(--background);
min-height: 100%;
}
Expand Down
2 changes: 2 additions & 0 deletions config/global/style/type.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ h1 {

h2 {
font-size: 2rem;
line-height: 3rem;
}

h3 {
Expand All @@ -46,6 +47,7 @@ h6 {

p {
font-size: 1.2rem;
line-height: 2rem;
margin-bottom: 1rem;
}

Expand Down
20 changes: 13 additions & 7 deletions config/pages/index/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,9 @@
line-height: 4rem;
margin-bottom: 1rem;
}

#bubble {
background: var(--orange);
border-radius: 35px;
padding: 20px 65px;
}
h2 {
margin-top: 1rem;
}

#lists {
display: flex;
Expand All @@ -48,8 +45,14 @@
#donts {
list-style-image: url("/assets/red_cross.svg");
}

#bubble {
background: var(--orange);
border-radius: 35px;
padding: 20px 65px;
}

@media (max-width: 900px) {
@media (max-width: 1000px) {
#lists {
flex-direction: column;
}
Expand Down Expand Up @@ -98,6 +101,9 @@ Mutant Remix is licensed under the Creative Commons Attribution-NonCommercial-Sh
<img style="width: 250px; margin-left: auto; margin-right: auto;" src="assets/Copyright.svg"
alt="Emojis bursting from centre point">

## Help us make it better.
Think Mutant Remix is cool? Want to contribute to the project? Mutant Remix is always looking for contributors of all backgrounds. Get involved!

## So, what am I allowed to do with it?
Here are a few ground rules regarding how you can use the emoji pack:

Expand Down
19 changes: 12 additions & 7 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,9 @@
line-height: 4rem;
margin-bottom: 1rem;
}

#bubble {
background: var(--orange);
border-radius: 35px;
padding: 20px 65px;
}
h2 {
margin-top: 1rem;
}

#lists {
display: flex;
Expand All @@ -107,8 +104,14 @@
#donts {
list-style-image: url("/assets/red_cross.svg");
}

#bubble {
background: var(--orange);
border-radius: 35px;
padding: 20px 65px;
}

@media (max-width: 900px) {
@media (max-width: 1000px) {
#lists {
flex-direction: column;
}
Expand Down Expand Up @@ -150,6 +153,8 @@ <h2>Want it? Use it!</h2>
<p>Mutant Remix is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Feel free to go crazy with it - as long as you respect the license.</p>
<p><img style="width: 250px; margin-left: auto; margin-right: auto;" src="assets/Copyright.svg"
alt="Emojis bursting from centre point"></p>
<h2>Help us make it better.</h2>
<p>Think Mutant Remix is cool? Want to contribute to the project? Mutant Remix is always looking for contributors of all backgrounds. Get involved!</p>
<h2>So, what am I allowed to do with it?</h2>
<p>Here are a few ground rules regarding how you can use the emoji pack:</p>
<div id="lists">
Expand Down
20 changes: 1 addition & 19 deletions docs/style/images.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,8 @@ img {
width: 500px;
}

img#left {
float: left;
margin: 10px 10px 10px 0px;
}

img#right {
float: right;
margin: 10px 0px 10px 10px;
}

img.emoji {
display: inline;
height: 1.2rem;
width: auto;
}

@media (max-width: 700px) {
img, img#right, img#left {
img {
width: 100%;
margin: 10px 0px;
float: none;
}
}
2 changes: 1 addition & 1 deletion docs/style/standard.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ p, h1, h2, h3, h4, h5, h6 {
}

body {
margin: 0 3rem;
margin: 0 4rem;
background-color: var(--background);
min-height: 100%;
}
Expand Down
2 changes: 2 additions & 0 deletions docs/style/type.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ h1 {

h2 {
font-size: 2rem;
line-height: 3rem;
}

h3 {
Expand All @@ -46,6 +47,7 @@ h6 {

p {
font-size: 1.2rem;
line-height: 2rem;
margin-bottom: 1rem;
}

Expand Down

0 comments on commit 84e5cba

Please sign in to comment.