diff options
Diffstat (limited to 'assets/css')
-rw-r--r-- | assets/css/_base.scss | 4 | ||||
-rw-r--r-- | assets/css/layouts/_card-list.scss | 4 | ||||
-rw-r--r-- | assets/css/layouts/_container.scss | 11 | ||||
-rw-r--r-- | assets/css/style.scss | 1 |
4 files changed, 3 insertions, 17 deletions
diff --git a/assets/css/_base.scss b/assets/css/_base.scss index ac6b989..e6f7736 100644 --- a/assets/css/_base.scss +++ b/assets/css/_base.scss | |||
@@ -14,9 +14,7 @@ body { | |||
14 | } | 14 | } |
15 | 15 | ||
16 | main { | 16 | main { |
17 | @include iro.responsive-env((600px, 900px)) { | 17 | font-size: fn.dim(--font-size --150); |
18 | font-size: iro.responsive-set((1rem, iro.fn-px-to-rem(18px))); | ||
19 | } | ||
20 | } | 18 | } |
21 | 19 | ||
22 | img { | 20 | img { |
diff --git a/assets/css/layouts/_card-list.scss b/assets/css/layouts/_card-list.scss index b8d343b..b4cf7ee 100644 --- a/assets/css/layouts/_card-list.scss +++ b/assets/css/layouts/_card-list.scss | |||
@@ -13,7 +13,7 @@ | |||
13 | ), | 13 | ), |
14 | --grid-3: ( | 14 | --grid-3: ( |
15 | --gap: fn.global-dim(--size --75), | 15 | --gap: fn.global-dim(--size --75), |
16 | --col-width: fn.global-dim(--size --2800), | 16 | --col-width: fn.global-dim(--size --2400), |
17 | ), | 17 | ), |
18 | --gallery-2: ( | 18 | --gallery-2: ( |
19 | --gap: fn.global-dim(--size --250), | 19 | --gap: fn.global-dim(--size --250), |
@@ -21,7 +21,7 @@ | |||
21 | ), | 21 | ), |
22 | --gallery-3: ( | 22 | --gallery-3: ( |
23 | --gap: fn.global-dim(--size --250), | 23 | --gap: fn.global-dim(--size --250), |
24 | --col-width: fn.global-dim(--size --2800), | 24 | --col-width: fn.global-dim(--size --2400), |
25 | ), | 25 | ), |
26 | ) | 26 | ) |
27 | ), 'dims'); | 27 | ), 'dims'); |
diff --git a/assets/css/layouts/_container.scss b/assets/css/layouts/_container.scss deleted file mode 100644 index 10d6832..0000000 --- a/assets/css/layouts/_container.scss +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | @use 'iro-sass/src/index' as iro; | ||
2 | @use 'iro-design/src/functions' as fn; | ||
3 | |||
4 | @include iro.props-namespace('container') { | ||
5 | @include iro.props-store(( | ||
6 | --dims: ( | ||
7 | --width: iro.fn-px-to-rem(730px), | ||
8 | --width-50: iro.fn-px-to-rem(380px), | ||
9 | ) | ||
10 | ), 'dims'); | ||
11 | } | ||
diff --git a/assets/css/style.scss b/assets/css/style.scss index 0c561de..b525e7b 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss | |||
@@ -8,7 +8,6 @@ | |||
8 | 8 | ||
9 | @use 'iro-design/src/layouts/container' as iro-container; | 9 | @use 'iro-design/src/layouts/container' as iro-container; |
10 | @use 'iro-design/src/layouts/media' as iro-media; | 10 | @use 'iro-design/src/layouts/media' as iro-media; |
11 | @use 'layouts/container'; | ||
12 | @use 'layouts/media'; | 11 | @use 'layouts/media'; |
13 | @use 'layouts/card-list'; | 12 | @use 'layouts/card-list'; |
14 | 13 | ||