From 6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Mon, 13 Apr 2020 19:13:39 +0800 Subject: Initial commit --- assets/sass/@primer/css/subhead/subhead.scss | 39 ++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 assets/sass/@primer/css/subhead/subhead.scss (limited to 'assets/sass/@primer/css/subhead/subhead.scss') diff --git a/assets/sass/@primer/css/subhead/subhead.scss b/assets/sass/@primer/css/subhead/subhead.scss new file mode 100644 index 0000000..5ab2629 --- /dev/null +++ b/assets/sass/@primer/css/subhead/subhead.scss @@ -0,0 +1,39 @@ +// Subhead styles +.Subhead { + display: flex; + padding-bottom: $spacer-2; + margin-bottom: $spacer-3; + border-bottom: $border; + flex-flow: row wrap; +} + +// Modifier class to give a lot of breathing room between sections of content. +.Subhead--spacious { + margin-top: $spacer-6; +} + +//

sized heading with normal font weight +.Subhead-heading { + font-size: $h2-size; + font-weight: $font-weight-normal; + flex: 1 1 auto; +} + +// Make the text bold and red for dangerous content +.Subhead-heading--danger { + font-weight: $font-weight-bold; + color: $text-red; +} + +// One-liner of supporting text +.Subhead-description { + font-size: $body-font-size; + color: $text-gray; + flex: 1 100%; +} + +// Add 1 or 2 buttons to the right of the heading +.Subhead-actions { + align-self: center; + justify-content: flex-end; +} -- cgit v1.2.3