aboutsummaryrefslogtreecommitdiff
path: root/scss/main.scss
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-10-28 15:59:47 +0100
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-10-28 15:59:47 +0100
commit2e4b2fb52a539188b27212005d626f0849e78196 (patch)
treed6a01eaf9b0a3a1d21a942e24046e53122c83eaa /scss/main.scss
parent2eea4b27109e6f958a31890844e2bb69fbc21a48 (diff)
downloadcerrado-2e4b2fb52a539188b27212005d626f0849e78196.tar.gz
cerrado-2e4b2fb52a539188b27212005d626f0849e78196.tar.bz2
cerrado-2e4b2fb52a539188b27212005d626f0849e78196.zip
ref: Organize those block a bit better
Those are some weird configuration to fix some edge cases.
Diffstat (limited to 'scss/main.scss')
-rw-r--r--scss/main.scss17
1 files changed, 9 insertions, 8 deletions
diff --git a/scss/main.scss b/scss/main.scss
index 21701f5..b25af7b 100644
--- a/scss/main.scss
+++ b/scss/main.scss
@@ -90,14 +90,22 @@ $utilities: (
@import "bootstrap/scss/utilities/_api.scss";
+// prevents wierd font resizing on overflow
body {
- // prevents wierd font resizing on overflow
-webkit-text-size-adjust: 100%;
font-family: $font-family-monospace;
font-size: $base-font-size;
margin: 0;
}
+// prevert wierd input overflowing 100%
+input {
+ width: 100%;
+ box-sizing: border-box;
+ -webkit-box-sizing:border-box;
+ -moz-box-sizing: border-box;
+}
+
.navbar-nav {
margin-top: 0px
}
@@ -167,10 +175,3 @@ pre {
max-width: calc(100% - calc(2 * #{$spacer}));
}
}
-
-input {
- width: 100%;
- box-sizing: border-box;
- -webkit-box-sizing:border-box;
- -moz-box-sizing: border-box;
-}