polishing .css files and reducing the code size as much as possible. Adding some new colors to the Theme
This commit is contained in:
1 parent
a1bef124c6
commit
c2f3d670c3
24 files changed
+483
-402
No files matched your search
@@ -1,29 +1,12 @@
|
||||
:root {
|
||||
--dimension-width-1: 100vw;
|
||||
--dimension-width-2: 360px;
|
||||
|
||||
--dimension-height-1: 100vh;
|
||||
|
||||
--spacing-small: 12px;
|
||||
--spacing-medium: 24px;
|
||||
--spacing-large: 40px;
|
||||
|
||||
--font-size-small: 13px;
|
||||
--font-size-medium: 16px;
|
||||
|
||||
--register-form-heading-color-1: #101828;
|
||||
--register-form-subheading-color-1: #475467;
|
||||
}
|
||||
|
||||
.register-page {
|
||||
width: var(--dimension-width-1);
|
||||
width: var(--env-var-width-1);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
min-height: var(--dimension-height-1);
|
||||
min-height: var(--env-var-height-1);
|
||||
}
|
||||
|
||||
.register-form {
|
||||
width: var(--dimension-width-2);
|
||||
width: var(--env-var-width-2);
|
||||
margin: 140px auto;
|
||||
}
|
||||
|
||||
@@ -37,27 +20,23 @@
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.register-form-v-spacing-24px {
|
||||
height: var(--spacing-medium);
|
||||
.register-form-v-spacing-large {
|
||||
height: var(--env-var-spacing-3);
|
||||
}
|
||||
|
||||
.register-form-v-spacing-12px {
|
||||
height: var(--spacing-small);
|
||||
}
|
||||
|
||||
.register-form-v-spacing-40px {
|
||||
height: var(--spacing-large);
|
||||
.register-form-v-spacing-small {
|
||||
height: var(--env-var-spacing-1);
|
||||
}
|
||||
|
||||
.register-form-heading {
|
||||
font-size: var(--spacing-medium);
|
||||
font-size: var(--env-var-font-size-large);
|
||||
font-weight: 700;
|
||||
color: var(--register-form-heading-color-1);
|
||||
color: var(--env-var-color-1);
|
||||
}
|
||||
|
||||
.register-form-subheading {
|
||||
font-size: var(--spacing-small);
|
||||
color: var(--register-form-subheading-color-1);
|
||||
font-size: var(--env-var-font-size-medium);
|
||||
color: var(--env-var-color-2);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@@ -65,7 +44,7 @@
|
||||
#register-lastname-input,
|
||||
#register-email-input,
|
||||
#register-password-input {
|
||||
font-size: var(--spacing-small);
|
||||
font-size: var(--env-var-font-size-medium);
|
||||
width: 294px;
|
||||
height: 11px;
|
||||
padding: 12px 14px;
|
||||
|
||||
Reference in new issue
Block a user