summaryrefslogtreecommitdiff
path: root/sysret.org/themes/tabi-lean/sass/parts/_home-banner.scss
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2025-09-13 15:01:06 -0600
committerAlejandro Soto <alejandro@34project.org>2025-09-13 15:01:06 -0600
commitf4fcda54638685899c730b3fa90a87d80d6dbef5 (patch)
tree0737e627cce304c3a9c4e757bc5f6571a7456091 /sysret.org/themes/tabi-lean/sass/parts/_home-banner.scss
parentd8b9cf1f61cc07d625f1c37ccc28adfd58918416 (diff)
parent2c13119932765c6d788f08fb53abc244407c0d80 (diff)
Merge commit '6a7d3111b31e73fc66af5360149d41f690fbcaa4'
Diffstat (limited to 'sysret.org/themes/tabi-lean/sass/parts/_home-banner.scss')
-rw-r--r--sysret.org/themes/tabi-lean/sass/parts/_home-banner.scss82
1 files changed, 82 insertions, 0 deletions
diff --git a/sysret.org/themes/tabi-lean/sass/parts/_home-banner.scss b/sysret.org/themes/tabi-lean/sass/parts/_home-banner.scss
new file mode 100644
index 0000000..ce6b9c1
--- /dev/null
+++ b/sysret.org/themes/tabi-lean/sass/parts/_home-banner.scss
@@ -0,0 +1,82 @@
+#banner-container-home {
+ display: flex;
+ justify-content: space-between;
+ align-items: flex-start;
+ margin: 0.2rem auto;
+ width: 100%;
+
+ @media only screen and (max-width: 600px) {
+ display: block;
+ margin-block-end: 2rem;
+ }
+
+ #home-banner-text {
+ flex: 1;
+ margin-block-end: 1.5rem;
+ color: var(--primary-color);
+ font-size: 1.875rem;
+ line-height: 3rem;
+
+ li {
+ font-size: 1rem;
+ }
+
+ #home-banner-header {
+ margin: 0;
+ margin-block-end: 1rem;
+ font-weight: 550;
+ font-size: 2.8rem;
+
+ @media only screen and (max-width: 600px) {
+ margin-block-end: 0;
+ font-size: 2.2rem;
+ }
+ }
+
+ #banner-home-subtitle {
+ color: var(--text-color);
+ font-weight: 250;
+ line-height: 1.75rem;
+
+ p {
+ font-size: 1rem;
+ }
+
+ a {
+ font-weight: 400;
+ }
+ }
+
+ @media only screen and (max-width: 600px) {
+ width: 100%;
+ }
+ }
+
+ #image-container-home {
+ position: relative;
+ margin: auto 0;
+ padding-inline-start: 2rem;
+ max-width: 11rem;
+ overflow: hidden;
+ text-align: center;
+
+ #banner-home-img {
+ border: none;
+ aspect-ratio: 1 / 1;
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+
+ @media only screen and (max-width: 600px) {
+ max-width: 12rem;
+ max-height: 12rem;
+ }
+ }
+
+ @media only screen and (max-width: 600px) {
+ padding-inline-start: 0;
+ width: 100%;
+ max-width: none;
+ }
+ }
+}