From 30772e0dd8436062e325eda0f54e90f7e8696705 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Wed, 6 May 2020 22:58:45 +0800 Subject: Sass structure full rebuild --- assets/sass/modules/_header.scss | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 assets/sass/modules/_header.scss (limited to 'assets/sass/modules/_header.scss') diff --git a/assets/sass/modules/_header.scss b/assets/sass/modules/_header.scss new file mode 100644 index 0000000..b204921 --- /dev/null +++ b/assets/sass/modules/_header.scss @@ -0,0 +1,18 @@ +header { + &>div { + padding: 2rem 1rem; + + // different padding when screen size below width-md(768px) + @media screen and (max-width: $width-md) { + padding: 2rem 1.5rem; + } + } + + .sub-title { + font-size: $font-size-l3; + display: block; + color: $color-mute; + } + + border-bottom: $spliter; +} \ No newline at end of file -- cgit v1.2.3