From dca697fa5082aeb4412ef7da2f0a53be06350627 Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Wed, 18 Jun 2025 10:56:20 +0800 Subject: [PATCH] no message --- static/css/base.scss | 61 +++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 53 insertions(+), 8 deletions(-) diff --git a/static/css/base.scss b/static/css/base.scss index b161748..5e64947 100644 --- a/static/css/base.scss +++ b/static/css/base.scss @@ -557,13 +557,9 @@ $max-size: 140; width: 240px !important; } -// 内外边距 $min-mp: 0; -$max-mp: 40; +$max-mp: 27; @for $i from $min-mp through $max-mp { - .g_p_#{$i} { - padding: #{$i}px; - } .g_pt_#{$i} { padding-top: #{$i}px; } @@ -576,9 +572,6 @@ $max-mp: 40; .g_pl_#{$i} { padding-left: #{$i}px; } - .g_m_#{$i} { - margin: #{$i}px; - } .g_mt_#{$i} { margin-top: #{$i}px; } @@ -588,11 +581,63 @@ $max-mp: 40; .g_mb_#{$i} { margin-bottom: #{$i}px; } +} +$min-mp: 0; +$max-mp: 20; +@for $i from $min-mp through $max-mp { .g_ml_#{$i} { margin-left: #{$i}px; } + .g_p_#{$i} { + padding: #{$i}px; + } +} +.g_pt_32 { + padding-top: 32px; +} +.g_pt_40 { + padding-top: 40px; +} +.g_pr_40 { + padding-right: 40px; +} +.g_pr_32 { + padding-right: 32px; +} +.g_pb_40 { + padding-bottom: 40px; +} +.g_pb_32 { + padding-bottom: 32px; +} +.g_pb_42 { + padding-bottom: 42px; +} +.g_pb_48 { + padding-bottom: 48px; +} +.g_pl_32 { + padding-left: 32px; +} +.g_pl_40 { + padding-left: 40px; } +.g_mb_32{ + margin-bottom: 32px; +} +.g_mb_40{ + margin-bottom: 40px; +} +.g_mt_42 { + margin-top: 42px; +} +.g_mt_40 { + margin-top: 40px; +} +.g_m_10 { + margin: 10px; +} // 圆角 $min-radius: 0; $max-radius: 49;