Fix editor

This commit is contained in:
Bartłomiej Pluta (PGS Software)
2018-05-17 11:01:51 +02:00
parent c18b26e613
commit 0bb3fb7d8e
4 changed files with 35 additions and 1 deletions

2
src/scss/_about.scss Normal file → Executable file
View File

@@ -1,5 +1,7 @@
.about { .about {
background-color: $background-light; background-color: $background-light;
width: 100%;
overflow-x: hidden;
@media all and (max-width: $desktop-xl) { @media all and (max-width: $desktop-xl) {
.about { .about {

View File

@@ -1,6 +1,7 @@
.download { .download {
text-align: center; text-align: center;
width: 100%; width: 100%;
min-width: 320px;
} }
.download__rounded-button--translated { .download__rounded-button--translated {

32
src/scss/_editor.scss Normal file → Executable file
View File

@@ -1,16 +1,34 @@
.editor {
min-width: 320px;
}
.editor__description { .editor__description {
text-align: center; text-align: center;
} }
.editor__title { .editor__title {
padding: 0 10px;
margin-top: 60px; margin-top: 60px;
font-family: Montserrat, sans-serif; font-family: Montserrat, sans-serif;
font-size: 54px; font-size: 54px;
font-weight: bold; font-weight: bold;
text-transform: uppercase; text-transform: uppercase;
color: $primary-dark; color: $primary-dark;
@media all and (max-width: $desktop) {
font-size: 45px;
}
@media all and (max-width: $tablet) {
font-size: 40px;
}
@media all and (max-width: $phone) { @media all and (max-width: $phone) {
font-size: 48px; font-size: 33px;
}
@media all and (max-width: $small-phone) {
font-size: 30px;
} }
} }
@@ -20,6 +38,18 @@
font-size: 21px; font-size: 21px;
font-weight: 400; font-weight: 400;
color: $dark-text; color: $dark-text;
@media all and (max-width: $desktop) {
font-size: 20px;
}
@media all and (max-width: $tablet) {
font-size: 18px;
}
@media all and (max-width: $phone) {
font-size: 16px;
}
} }
.editor__github { .editor__github {

1
src/scss/_global.scss Normal file → Executable file
View File

@@ -1,3 +1,4 @@
body { body {
overflow-x: hidden; overflow-x: hidden;
max-width: 100%;
} }