summaryrefslogtreecommitdiffstats
path: root/assets/scss/web
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2023-08-11 15:09:13 +0300
committerAhmed Abdelhalim <[email protected]>2023-08-11 15:09:13 +0300
commitca799cfbb00041dfdc809bc9fdb3f1e07ebe7435 (patch)
tree647fbeb681b0d0523bffc67e0b6c24cc9309d56f /assets/scss/web
parent8fb3e29044a184528b8e5f2e7a0434383547fbea (diff)
Fix margins in the page to use rem for more stability
Diffstat (limited to 'assets/scss/web')
-rw-r--r--assets/scss/web/_base.scss10
1 files changed, 5 insertions, 5 deletions
diff --git a/assets/scss/web/_base.scss b/assets/scss/web/_base.scss
index 1106b6d..b2bbe02 100644
--- a/assets/scss/web/_base.scss
+++ b/assets/scss/web/_base.scss
@@ -21,7 +21,7 @@ body {
line-height: 1.5;
font-size: 16px;
@media screen and (max-width: 780px) {
- font-size: 0.9em;
+ font-size: 0.9rem;
}
}
@@ -40,21 +40,21 @@ a:link, a:visited, a:hover, a:active {
.section-header {
display: flex;
flex-direction: row;
- margin-bottom: -0.3em;
+ margin-bottom: -0.3rem;
&:before {
content: "";
border-bottom: 1px solid;
margin: auto;
- margin-right: 0.5em;
+ margin-right: 0.8rem;
flex: 5 5;
}
&:after {
content: "";
border-bottom: 1px solid;
- margin: auto;;
- margin-left: 0.5em;
+ margin: auto;
+ margin-left: 0.8rem;
flex: 100 0;
}
}