summaryrefslogtreecommitdiff
path: root/design/sassold/_lttr.scss
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf>2021-01-15 14:54:30 -0500
committerluxagraf <sng@luxagraf>2021-01-15 14:54:30 -0500
commit47b79fd9d4329e73cef7929ed8f64d9eeb287ae5 (patch)
tree189381bfe0d81fdc1105679910114deaab3cdb58 /design/sassold/_lttr.scss
parente61f3d2c4537a2670c40b33eb02231a71dfb028a (diff)
Proj: Massive design overhaul to simplify code
Cut out Sass syntax, deleted old CSS rules, changed HTML to use fewer lists and more cascading instead of specific rules. Still requires compiling with sass to strip comments and compress, but would in theory work on its own. Reduced CSS file size by 2/3
Diffstat (limited to 'design/sassold/_lttr.scss')
-rw-r--r--design/sassold/_lttr.scss63
1 files changed, 63 insertions, 0 deletions
diff --git a/design/sassold/_lttr.scss b/design/sassold/_lttr.scss
new file mode 100644
index 0000000..ea59eec
--- /dev/null
+++ b/design/sassold/_lttr.scss
@@ -0,0 +1,63 @@
+.large-top-image {
+ background: #f7f7f7;
+ img {
+ max-width: 100%;
+ margin: 4rem 0;
+ }
+}
+.lttr {
+ @include constrain_narrow;
+ margin-top: 6rem;
+ header {
+ padding-bottom: 3rem;
+ border-bottom: 1px #f0edeb solid
+ }
+}
+.lttr-box {
+ //background: #faf7f5;
+ text-align: center;
+ padding: .5rem;
+ display: inline-block;
+ //border: 1px #e0dedc solid;
+}
+.lttr-cover {
+ margin-right: 1.2rem;
+}
+#recommended-reading {
+ .book-title {
+ @include fontsize(28);
+ font-weight: 400;
+ margin-bottom: 0;
+ }
+ h6 {
+ margin-top: 0;
+ @include fontsize(18);
+ font-weight: 400;
+ }
+}
+
+#page-navigation img {
+ width: 300px;
+ height: 160px;
+ object-fit: cover;
+}
+#page-navigation h4 {
+ text-align: center;
+ @include fontsize(22);
+ @include fancy_sans;
+ color: #333;
+}
+#page-navigation .nav-title {
+ @include fontsize(22);
+ line-height: 1.5;
+}
+#page-navigation .photo-arrow-next {
+ text-align: left;
+}
+.page-nav-photo li {
+ display: inline-block;
+ margin: 0 0 0 3rem !important;
+ &:first-of-type {
+ margin-left: 0 !important;
+ }
+}