From adb2e1f9da04fbf7740f85b57ce4a9e53e77b8e0 Mon Sep 17 00:00:00 2001 From: ouidade Date: Tue, 14 Nov 2023 10:54:20 +0100 Subject: [PATCH] css titles --- .../custom/rorschach/css-compiled/styles.css | 104 +++++++++--------- .../rorschach/scss/components/_titles.scss | 9 ++ web/themes/custom/rorschach/scss/styles.scss | 11 +- 3 files changed, 70 insertions(+), 54 deletions(-) create mode 100644 web/themes/custom/rorschach/scss/components/_titles.scss diff --git a/web/themes/custom/rorschach/css-compiled/styles.css b/web/themes/custom/rorschach/css-compiled/styles.css index abfaa77..2d450b0 100644 --- a/web/themes/custom/rorschach/css-compiled/styles.css +++ b/web/themes/custom/rorschach/css-compiled/styles.css @@ -1,53 +1,4 @@ /*rorschach*/ -/*components*/ -.quote { - font-weight: 700; - width: 50%; - margin: auto; - background-color: hotpink; } - -table { - border-collapse: collapse; } - table thead th { - border: 1px solid #333; - text-align: center; - font-weight: bold; - padding: 1rem; - background-color: grey; } - table tbody td { - border: 1px solid #333; - text-align: center; - padding: 1rem; - background-color: white; } - -.display-none { - display: none; } - -#paragraph-id--226 tbody td { - text-align: start; - padding: 0rem; - padding-left: 1rem; - padding-right: 1rem; } - -#paragraph-id--226 tbody tr { - border: red; } - -#paragraph-id--227 td { - text-align: start; } - -.note { - display: block; - border: 1px solid #333; - text-align: center; - font-weight: bold; - padding: 1rem; - background-color: #d6d5d5; } - -.note-title { - background-color: white; - display: block; - padding: 1rem; } - /*global*/ @font-face { font-family: 'Font Awesome'; @@ -1069,3 +1020,58 @@ article.node-type-book { #block-rorschach-primary-local-tasks { display: flex; flex-direction: row; } + +/*components*/ +.quote { + font-weight: 700; + width: 50%; + margin: auto; + background-color: hotpink; } + +table { + border-collapse: collapse; } + table thead th { + border: 1px solid #333; + text-align: center; + font-weight: bold; + padding: 1rem; + background-color: grey; } + table tbody td { + border: 1px solid #333; + text-align: center; + padding: 1rem; + background-color: white; } + +.display-none { + display: none; } + +#paragraph-id--226 tbody td { + text-align: start; + padding: 0rem; + padding-left: 1rem; + padding-right: 1rem; } + +#paragraph-id--226 tbody tr { + border: red; } + +#paragraph-id--227 td { + text-align: start; } + +.note { + display: block; + border: 1px solid #333; + text-align: center; + font-weight: bold; + padding: 1rem; + background-color: #d6d5d5; } + +.note-title { + background-color: white; + display: block; + padding: 1rem; } + +.book-depth-2 { + border-top: 5px solid black; + background-color: yellowgreen; } + .book-depth-2 h1 { + text-transform: uppercase; } diff --git a/web/themes/custom/rorschach/scss/components/_titles.scss b/web/themes/custom/rorschach/scss/components/_titles.scss new file mode 100644 index 0000000..81ddc1e --- /dev/null +++ b/web/themes/custom/rorschach/scss/components/_titles.scss @@ -0,0 +1,9 @@ +.book-depth-2{ + border-top: 3px solid black; + border-bottom: 3px solid black; + // background-color: yellowgreen; + h1{ + text-transform: uppercase; + } +} + diff --git a/web/themes/custom/rorschach/scss/styles.scss b/web/themes/custom/rorschach/scss/styles.scss index d4309c9..74dcec9 100644 --- a/web/themes/custom/rorschach/scss/styles.scss +++ b/web/themes/custom/rorschach/scss/styles.scss @@ -1,9 +1,6 @@ /*rorschach*/ -/*components*/ -@import "components/_quotes"; -@import "components/_tablefields"; -@import "components/_notes"; + /*global*/ @@ -38,6 +35,10 @@ - +/*components*/ +@import "components/_quotes"; +@import "components/_tablefields"; +@import "components/_notes"; +@import "components/_titles";