css variables refactoring
This commit is contained in:
1 parent
19f2535a24
commit
a4999dad9e
7 files changed
+21
-30
No files matched your search
@@ -8,12 +8,12 @@ export const Contacts: React.FC = props => {
|
||||
<>
|
||||
<style jsx>{`
|
||||
h4 {
|
||||
margin-bottom: var(--half-margin);
|
||||
margin-bottom: var(--size-s);
|
||||
}
|
||||
|
||||
p {
|
||||
margin-left: var(--single-margin);
|
||||
margin-bottom: var(--half-margin);
|
||||
margin-left: var(--size-m);
|
||||
margin-bottom: var(--size-s);
|
||||
}
|
||||
`}</style>
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ export const HudozkaTitle: React.FC<HudozkaTitleProps> = memo(props => (
|
||||
|
||||
@media (max-width: 31.25em) {
|
||||
div {
|
||||
--padding: 0 0 var(--double-margin);
|
||||
--padding: 0 0 2em;
|
||||
}
|
||||
}
|
||||
`}</style>
|
||||
|
||||
Reference in new issue
Block a user