summaryrefslogtreecommitdiff
path: root/design/sass/_details.scss
diff options
context:
space:
mode:
Diffstat (limited to 'design/sass/_details.scss')
-rw-r--r--design/sass/_details.scss934
1 files changed, 427 insertions, 507 deletions
diff --git a/design/sass/_details.scss b/design/sass/_details.scss
index 53e819f..74965fd 100644
--- a/design/sass/_details.scss
+++ b/design/sass/_details.scss
@@ -1,601 +1,521 @@
-.detail {
- #article {
- padding-bottom: 2rem;
- border-bottom: 3px double #efefef;
- }
- article {
- font-family: $fancy_serif;
- @include constrain_narrow;
- margin-top: 4rem;
- h1 {
- font-family: $fancy_serif;
- line-height: 1em;
- letter-spacing: -1px;
- @include fontsize(48);
- font-weight: normal;
- margin-bottom: .25rem
- }
- ul {
- text-align: left;
- @include fontsize(18);
- }
- }
- .post-subtitle {
- font-style: italic;
- font-size: 1.4rem;
- line-height: 1.25;
- margin-top: 0;
- margin-bottom: 0;
- }
- .post-subtitle-segundo {
- @include fancy_sans;
- @include smcaps;
- @include fontsize(13);
- font-weight: bold;
- color: #999;
-
- }
- .post-linewrapper {
- margin-top: 1rem;
- padding-top: 1rem;
- display: inline-block;
- border-top: 1px solid #efefef;
- }
- .post-location {
- color: #b6b6b6;
- text-align: center;
- a {
- color: #b6b6b6;
- text-decoration: underline;
- text-decoration-color: $orange;
- }
- @include breakpoint(gamma) {
- text-align: left;
- }
- }
- .post-date {
- text-align: center;
- @include breakpoint(alpha) {
- text-align: left;
- }
- }
- .map {
- width: 100vw;
- position: relative;
- left: 50%;
- right: 50%;
- margin-left: -50vw;
- margin-right: -50vw;
- }
- .post-header {
- @include fancy_sans;
- @include fontsize(18);
- color: lighten($body_font_color, 20);
- padding-bottom: 2.6rem;
- border-bottom: 1px solid #efefef;
- @include breakpoint(alpha) {
- text-align: left;
- }
- time {
- }
- }
- p:first-of-type {
- margin-top: 2.6rem;
- }
- h4, h5 {
- @include fancy_sans;
- margin: 3rem 0 0 0;
- }
- h4 + p, .afterward h4 + p {
- margin-top: .125rem;
+.content {
+ margin-top: 3rem;
+}
+//************** archive grids **********************************{{{
+.archive-grid {
+ margin-top: 2rem;
+ list-style-type: none;
+ padding: 0;
+ @include constrain_wide;
+ @include breakpoint(alpha) {
+ display: grid;
+ grid-template-columns: 1fr 1fr 1fr;
+ grid-gap: 20px;
+ row-gap: 1rem;
}
- h5 {
- margin: 0
+}
+.archive-grid-quad {
+ //used for books and related posts in detail pages
+ list-style-type: none;
+ padding: 0;
+ @include breakpoint(alpha) {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ grid-gap: 15px;
}
- .afterward {
- p {font-style: italic;}
- h4 {
- margin-bottom: 0;
- }
+ @include breakpoint(beta) {
+ grid-template-columns: 1fr 1fr 1fr;
}
- p.small {
- @include fontsize(18);
+ @include breakpoint(epsilon) {
+ grid-template-columns: 1fr 1fr 1fr 1fr;
}
- .sci {
- text-align: center;
- @include fontsize(24);
- font-weight: 400;
- margin: 0;
-
+}
+.related .archive-grid-quad {
+ //there's only 4 related items so override the
+ //3-grid at breakpoint beta
+ @include breakpoint(beta) {
+ grid-template-columns: 1fr 1fr;
}
- .sci:nth-child(3) {
- @include fontsize(18);
- margin-bottom: 2rem;
+}
+.archive-grid-double {
+ // homepage recent
+ @include breakpoint(alpha) {
+ grid-template-columns: 1fr 1fr;
+ row-gap: 1rem;
+ grid-gap: 16px;
}
- ul {
- list-style: circle;
- margin-left: 2.5em;
- list-style-position: outside;
- margin-bottom: 2.4em;
+}
+.archive-grid-single {
+ // homepage popular
+ @include breakpoint(alpha) {
+ grid-template-columns: 1fr;
+ row-gap: 1rem;
+ grid-gap: 16px;
}
- // Ack, id selector, so wrong, but easy handles the slightly different footer
- // in the dialogue section that lists all the sightings
- #endnode {
- h5 {
- @include fontsize(14);
- @include smcaps;
- @include fancy_sans;
- margin-bottom: 1rem;
- margin-top: 2rem;
- }
- ul {
- margin-bottom: 2em;
- list-style-type: none;
- padding: 0;
- li {
- color: lighten($body_font_color, 30);
- margin-bottom: 0;
- margin-top: 0;
- &:before {
- content: "\2022";
- color: lighten($body_font_color, 30);
- margin-right: .35rem;
- }
- }
+}
+.recent-popular {
+ // get popular and recent lined up
+ // side by side on the hompage
+ @include constrain_wide;
+ @include breakpoint(alpha) {
+ display: flex;
+ flex-direction: row;
+ width: calc(100% + 30px);
+ .popular {
+ margin-left: 30px;
}
}
- #detail-map-canvas {
- height: 400px;
- width: 98vw;
- position: relative;
- left: 49%;
- right: 49%;
- margin-left: -48vw;
- margin-right: -49vw;
+}
+.archive-grid-card {
+ //container object for cards (usually an article tag)
+ a {
+ text-decoration: none;
}
}
-.post-dateline {
- display: inline-block;
- margin-top: 0em;
- padding-top: 1rem;
- padding-bottom: 2.6rem;
- border-top: 1px solid #efefef;
+.archive-grid-card-simple {
+ //container object for cards with no dek
+ line-height: 1;
+ margin-bottom: 1.4rem;
}
-header.tight {
- margin-bottom: 3rem;
- * {
- margin: 0;
- text-align: center;
- }
- h1 {
- margin-bottom: 1rem;
+.related {
+ //special rules for related post grid
+ //on detail pages in jrnl and src
+ ul {
+ list-style-type: none;
+ padding: 0;
}
- h2 {
- display: inline-block;
- border-top: 1px solid darken(#efefef, 10);
- padding-top: 1rem;
+ .card-hed {
+ text-align: center;
+ @include fancy_sans;
+ @include fontsize(20);
+ margin: 1rem auto .25rem;
}
- h3 {
- margin-top: .35rem;
+ .card-smcap {
+ text-align: center;
}
}
-h4.post-source {
- @include fontsize(14);
+//}}}
+//************** archive cards **********************************{{{
+.card-smcaps, .post-smcaps {
+ // formats date and location lines as small caps
@include smcaps;
- padding-bottom: 0em;
- margin-bottom: 0;
- margin-top: 0;
+ @include fontsize(13);
font-weight: bold;
- color: #b6b6b6;
- a {
- color: #b6b6b6;
- &:hover {
- color: $link_color;
- }
- }
+ margin: 0;
+ color: $body_font_light;
+}
+.card-hed {
+ // main headline of the card
+ @include fontsize(32);
+ color: darken($body_font_light,15);
+ margin: 0;
+ line-height: 1;
}
-.post-location {
- h3 {
- display: inline;
- @include fontsize(14);
+.card-hed-it {
+ // italic variant of card hed
+ // used on jrnl archives
+ @include fontsize(26);
+ line-height: 1.3;
+ font-style: italic;
+ margin: .25rem 0 .5rem;
+
+}
+.card-hed-smit {
+ // smaller italic variant of card hed
+ // used on homepage
+ @include fontsize(22);
+ line-height: 1.3;
+ font-style: italic;
+ margin: .25rem 0 .5rem;
+
+}
+.card-hed-btm {
+ // hed with a little bottom margin
+ // used in book list
+ margin-bottom: .5rem;
+}
+.card-image-sm {
+ // smaller card image
+ // used on homepage
+ max-height: 180px;
+ overflow: hidden;
+ margin-bottom: .5rem;
+ img {
+ margin-top: -20%;
}
- a {
- color: $secondary_link_color;
- text-decoration: none;
+}
+.card-image-tiny {
+ // even smaller card image used for
+ // related posts on detail pages
+ max-height: 120px;
+ overflow: hidden;
+ margin-bottom: .5rem;
+ img {
+ width: 100%;
+ margin-top: -20%;
}
}
-.post-essay ~ p:first-child:first-letter {
- @include fancy_sans;
- font-size: 75px;
- line-height: 60px;
- padding-top: 4px;
- padding-right: 8px;
- padding-left: 3px;
+.card-lede {
+ // subtitle or lede
+ @include fontsize(20);
+ color: darken($body_font_light,5);
+ font-style: italic;
+ line-height: 1.6;
+ margin: 0;
}
-//### GUIDE STUFF ###
-.product-card {
- margin: 5rem 0;
+.card-dek {
+ // used for p test on jrnl page and elsewhere
+ @include fontsize(16);
+ line-height: 1.6;
+ margin: 0 0 .5rem;
}
-.detail .product-link {
- a {
- display: block;
- padding: 1rem;
- background: #249bd6;
- color: white;
- text-transform: uppercase;
- font-size: 16px;
- text-decoration: none;
- }
+.card-stars {
+ // ratings on books
+ @include fontsize(16);
+ display: block;
}
-.buy-btn {
- @include fancy_sans;
+.read-in {
+ // makes read in date in books look good
display: block;
- padding: .5rem 1rem;
- background: #249bd6;
- color: white;
- text-transform: uppercase;
- @include fontsize(16);
- text-decoration: none;
- margin-right: 1rem;
}
-.buy-btn-wrapper {
- display: flex;
- justify-content: start;
- align-items: center;
- align-content: space-between;
- h4 {
- margin: 0 1.5rem 0 0;
- line-height: normal;
- &:after {
- content: ":";
- }
+.circle-img-wrapper {
+ // small images next to archive lists
+ border-radius: 50%;
+ width: 106px;
+ height: 106px;
+ overflow: hidden;
+ float: left;
+ border: 3px solid #666;
+ img {
+ width: 160px;
+ max-width: 160px;
}
- h5 {
- margin-right: 1rem;
+ @include breakpoint(beta) {
+ margin-left: -128px;
+ margin-top: -2px;
}
}
-.post-guide .buy-btn-wrapper {
- margin-top: 4rem;
- justify-content: center;
-}
-.detail .post-guide {
- h3 {
- @include fontsize(27);
- margin: 4rem 0 .5rem 0;
- & + p {
- margin-top: 0;
- }
+//}}}
+//************** header, dateline and expanding map **************{{{
+.post-header {
+ @include constrain_narrow;
+ color: #555;
+ padding-bottom: 2.6rem;
+ margin-bottom: 2.6rem;
+ border-bottom: 1px solid #efefef;
+ text-align: center;
+ @include breakpoint(beta) {
+ text-align: left;
}
}
-//### PAGE NAVIGATION ###
-.nav-wrapper {
- @include constrain_narrow();
- border-bottom: 3px double #efefef;
+.post-linewrapper {
+ border-top: 1px solid #efefef;
}
-#page-navigation {
- margin: 2em auto;
+.post-linewrapper, .post-linewrapper h3 {
+ color: lighten($secondary-link-color, 15);
+ margin-top: 1rem;
+ padding-top: 1rem;
+ display: inline-block;
+ @include smcaps;
+ @include fancy_sans;
+ @include fontsize(14);
+ font-weight: 600;
text-align: center;
- display: table;
- ul {
- list-style-type: none;
- margin: 0 auto;
- width: 100%;
- text-align: center;
- padding: 0;
+ a {
+ color: lighten($secondary-link-color, 15);
}
- li {
- margin: 6px auto;
- clear: both;
- line-height: 24px;
- text-align: center;
+ time {
+ color: $secondary-link-color
}
- span {
- @include fancy_sans;
- @include fontsize(14);
- min-width: 70px;
- display: block;
- text-align: right;
- margin-right: 10px;
- float: left;
+ @include breakpoint(beta) {
+ text-align: left;
}
- a {
- display: block;
- float: left;
- font-family: $fancy_serif;
+}
+.post-linewrapper h3 {
+ display: inline;
+}
+.post-source {
+ @include smcaps;
+ @include fancy_sans;
+ @include fontsize(14);
+ font-weight: 600;
+ margin: 0;
+}
+.map {
+ width: 100vw;
+ position: relative;
+ left: 50%;
+ right: 50%;
+ margin-left: -50vw;
+ margin-right: -50vw;
+}
+#detail-map-canvas {
+ height: 400px;
+ width: 98vw;
+ position: relative;
+ left: 49%;
+ right: 49%;
+ margin-left: -48vw;
+ margin-right: -49vw;
+}
+.lttr .post-header, .lttr .post-linewrapper, .lttr .post-linewrapper h3 {
+ text-align: center;
+}
+.post-title {
+ letter-spacing: -1px;
+ margin-bottom: .25rem;
+}
+.post-subtitle {
+ @include fontsize(22);
+ font-style: italic;
+ line-height: 1.25;
+ margin-top: 0;
+ margin-bottom: 0;
+ text-align: center;
+ @include breakpoint(beta) {
text-align: left;
- font-style: italic;
- color: $brown;
- text-decoration: none;
}
}
-
-.article-afterward {
- @extend %clearfix;
+//}}}
+//************** post detail *************************************{{{
+.post-body > *:not(.picwide):not(.cluster), .post-article > *:not(.picwide):not(.cluster):not(.highlight) {
@include constrain_narrow;
- padding-bottom: 2rem;
- .article-card-mini {
- margin-bottom: 0
- }
- .hedtinycaps {
- display: inline-block;
- margin-bottom: 2.5rem;
- border-bottom: 2px solid #efefef;
+}
+.post-body .picwide, .post-body .cluster {
+ @include constrain_wide;
+}
+.post-article {
+ h3 {
+ @include fancy_sans;
+ @include fontsize(26);
+ font-weight: bold;
}
- @include breakpoint(gamma) {
- @include constrain(960px);
- }
-}
-.related-bottom {
- @extend %clearfix;
- &:after {
- display: block;
- content: '';
- @include constrain_narrow;
- height: 30px;
- border-bottom: 3px double #efefef;
- }
-}
-.article-card-list {
- padding: 0 !important;
- margin: 0 !important;
- list-style-type: none !important;
- margin: 0 auto !important;
-}
-.article-card-mini, .detail .article-card-mini {
- margin-left: 0;
- margin-right: 0;
- margin-bottom: 2rem;
- max-width: 100%;
- a { text-decoration: none;}
- .post-title {
- @include fontsize(20);
- text-align: center;
- line-height: 1.2;
- margin: 0;
+ h4, h3 {
+ margin: 3rem 0 0 0;
+ line-height: 1.4;
}
- .post-subtitle {
- @include fontsize(18);
- text-align: center;
- font-family: $fancy_serif;
- font-style: italic;
- font-weight: normal;
- margin: .25rem auto 0;
+ h4+p, h3+p {
+ margin-top: .125rem;
}
- .post-summary, .post-date{
- text-align: center;
- display: inline-block;
- line-height: 0.6 !important;
- color: #b6b6b6;
+ h5 {
+ @include fancy_sans;
+ @include fontsize(20);
}
- @include breakpoint(omega) {
- margin: 0 auto;
- max-width: 70%;
- margin-bottom: 0;
+ ul {
+ @include fontsize(22);
+ list-style: circle;
+ margin-left: 2.5em;
+ list-style-position: outside;
+ margin-bottom: 2.4em;
}
+}
+.picwide {
@include breakpoint(alpha) {
- max-width: 50%;
}
- @include breakpoint(beta) {
- max-width: 47%;
- float: left;
- margin-right: 1rem;
- margin-bottom: 1.5rem;
- }
- @include breakpoint(gamma) {
- max-width: 230px;
- float: left;
- margin-right: .5rem;
+}
+.picwide img {
+ max-width: 98%;
+ @include breakpoint(alpha) {
+ max-width: 100%;
}
}
-.post-mini-image {
- max-height: 220px;
- overflow: hidden;
- @include breakpoint(beta) {
- margin-bottom: 1rem;
+p + .picwide {
+ margin-top: 1.75rem;
+ @include breakpoint(alpha) {
+ margin-top: 2.6rem;
}
- img {
- margin-top: -20%;
+}
+.row-2 {
+ display: flex;
+ flex-direction: row;
+ gap: .5rem;
+ * > {
+ margin-left: 5px;
}
}
-
-
+//}}}
+//************** post footer *************************************{{{
.entry-footer {
- @extend %clearfix;
@include constrain_narrow;
+ border-top: 3px double #efefef;
border-bottom: 3px double #efefef;
- margin-top: 2em;
- text-align: left;
+ margin-top: 3rem;
+ padding: 2rem;
h3 {
+ font-weight: 600;
@include smcaps;
@include fontsize(16);
}
- h3 + ul {
+ ul {
padding: 0;
- }
- li {
- margin: .25em 0;
+ font-size: 96%;
list-style-type: none;
+ ul {
+ list-style-type: disc;
+ padding-left: 2rem;
+ li {
+ color: $secondary-link-color;
+ }
+ }
}
- li ul {
- columns: 2 auto;
- list-style-type: none;
- margin-left: .5rem;
- padding: 0;
- }
- li ul li:before {
- content: "\2022";
- margin-right: .45rem;
- color: lighten($body_font_color, 40);
- }
- .grouper {
- margin-top: 1em;
+ @include breakpoint(gamma) {
+ display: flex;
+ flex-direction: row;
+ ul {
+ display: flex;
+ flex-direction: column;
+ font-size: 92%;
+ }
}
- a {
- text-decoration: none;
- color: lighten($body_font_color, 20);
+}
+//}}}
+//************** next/previous / you might also / footnotes ******{{{
+//}}}
+//************** homepage banner and other special elements*******{{{
+.homepage-section-header {
+ @include fontsize(28);
+ @include fancy_sans;
+}
+.banner {
+ .post-image {
+ position: relative;
+ max-height: 900px;
+ overflow: hidden;
}
- #wildlife li ul li {
- color: lighten($body_font_color, 40);
- a {
- color: lighten($body_font_color, 10);
+
+ @include breakpoint(beta) {
+ figcaption {
+ position: absolute;
+ margin: 0;
+ bottom: 0;
+ width: 100%;
+ z-index: 100;
+ background: rgba(0,0,0,0.6);
}
}
- @include breakpoint(beta) {
- padding-bottom: 2rem;
- #wildlife {
- max-width: 55%;
- float: left;
- margin-right: 1.2rem;
+ .large-top-image {
+ position: relative;
+ max-height: 900px;
+ overflow: hidden;
+ max-width: 100%;
+ img {
+ margin: 0;
}
- #recommended-reading{
- ul {
- list-style-type: none;
- }
+ @include breakpoint(beta) {
img {
- max-width: 180px;
+ margin-top: -120px;
}
}
}
- aside {
- @extend %clearfix;
- }
}
-#field_notes {
+.hero-text-wrapper {
+ text-align: center;
+ margin-bottom: 1rem;
+ .post-title {
+ @include fontsize(36);
+ }
@include breakpoint(beta) {
- max-width: 33%;
- float: left;
- margin-top: .15em;
- margin-left: 7em;
+ color: white;
+ .post-title {
+ @include fontsize(42);
+ margin-bottom: .5rem;
+ }
+ .post-subtitle, .post-date, .post-location {
+ text-align: center;
+ a {
+ text-decoration: none;
+ @include fontsize(14);
+ padding: 0;
+ border: none;
+ }
+ }
}
- li:before {
- content: "\2022";
- margin-right: .35rem;
- color: $body_font_light;
+ .post-date {
+ display: none;
}
-}
-.rr-clear {
- clear: left;
-}
-
-//### FOOTNOTES ###
-.footnote {
- margin: 1em auto 0 auto;
- padding: 0;
- list-style-type: none;
- p {
- font-size: 1rem;
- line-height: 1.4;
- margin-top: 0 !important;
+ .post-linewrapper {
+ border-color: #6a6a6a;
+ text-align: center;
+ margin-top: .25rem;
+ padding-top: .25rem;
}
- hr {display: none;}
- ol {
- padding-left: 1em;
- @include breakpoint(alpha) {
- margin-left: 1em;
- }
+ .btn {
+ color: white;
+ text-align: center;
+ margin: .5rem auto;
}
}
-sup {
- line-height: 1;
- .footnote-ref {
- padding: 4px 3px;
-
+.homepage-bio {
+ margin: 3rem auto;
+ @include constrain_wide;
+ @include breakpoint(alpha) {
+ margin: 6rem auto;
}
}
-
-//### Figments ###
-.downloads {
- list-style-type: none;
-}
-
-// ### Books ###
-.book {
- &:after {
- display: block;
- content: '';
- height: 30px;
- border-bottom: 3px solid #efefef;
- width: 200px;
- margin: 0 auto 3rem auto;
- padding-left: 30px;
- }
-}
-.book-metadata {
- text-align: left;
- @include fancy_sans;
- dd {
- display: inline;
- margin: 0;
- }
- dd:after{
- display: block;
- content: '';
- }
- dt{
- display: inline-block;
- }
- dt:after {
- content: ":";
+.homepage-map-img {
+ @include breakpoint(alpha) {
+ float: left;
+ width: 350px;
+ margin-right: 2rem;
}
}
-.thoughts, .highlights, .meta-cover, .dis {
- @include constrain_narrow;
- font-family: $fancy_serif;
- text-align: left;
- p {
- max-width: 100%;
+.homepage-next {
+ margin-top: 3rem;
+ @include constrain_wide;
+ h5 {
+ text-align: center;
+ }
+ a {
+ @include fontsize(14);
+ @include fancy_sans;
+ @include smcaps;
+ font-weight: 500;
+ text-decoration: none;
+ padding: 12px 10px 12px;
+ border: $link_color 1px solid;
+ &:after {
+ content: "\21E2";
+ margin-left: 4px;
+ }
+ &:hover {
+ background: $link_color;
+ color: white;
+ }
}
}
-.book-cover-wrapper {
- @include constrain_wide;
- img {
+// About page
+#about-luxagraf .circle-pic {
+ margin: 0 auto;
+ display: block;
+ @include breakpoint(gamma) {
float: left;
- max-width: 20rem;
+ margin-left: -250px;
}
}
-.thoughts {
- margin-top: 4rem;
- p:first-of-type {
- margin-top: 0;
- }
+.circle-pic {
+ border-radius: 50%;
+ border: 3px solid #000;
}
-.thoughts h5, .highlights h4 {
- font-weight: 500;
- letter-spacing: 1px;
- margin: 3em 0 .5em 0;
- @include fancy_sans;
- @include smcaps;
- @include fontsize(14);
+//}}}
+//A few Mailing list specific styles
+.large-top-image{
+ background: #f7f7f7;
+ img {
+ max-width: 100%;
+ margin: 4rem 0;
+ }
}
-.highlights div:first-of-type p:first-of-type {
- margin-top: 0;
+.list-hed{
+ @include fontsize(32);
}
-.book-highlight p:last-of-type {
+.list-subhed {
+ @include fontsize(26);
+ font-style: italic;
margin-bottom: 0;
+
}
-.book p:last-of-type, .highlights div:first-of-type p:last-of-type{
- margin-top: 8px;
-}
-.highlink {
- @include fontsize(20);
- margin-right: .5rem;
- float: left;
- line-height: 1.6;
- text-decoration: none;
- color: lighten($body_font_color, 60);
- @include breakpoint(alpha) {
- margin-top: 1px;
- }
- &:visited {
- color: lighten($body_font_color, 60);
- }
-}
-.foot {
- margin-top: 16px;
- @include fancy_sans;
- @include fontsize(16);
-}
-.dis {
- @include fontsize(16);
- text-align: center;
+//
+.section {
+ margin-top: 6rem;
}
+