kern

White space theme for Hugo
Log | Files | Refs | LICENSE

shortcodes.css (955B)


      1 .row figcaption > p { margin-bottom: 0; }
      2 
      3 .row {
      4   display: flex;
      5   flex-wrap: wrap;
      6   gap: 1rem;
      7   padding: 0 1rem;
      8   margin: 1rem 0;
      9 }
     10 
     11 .column {
     12   flex: 1 1 0;
     13   min-width: 0;
     14 }
     15 
     16 .column > *:first-child { margin-top: 0; }
     17 
     18 .column > *:last-child { margin-bottom: 0; }
     19 
     20 .citation { text-align: right; }
     21 
     22 .citation .source {
     23   font-family: 'Linux Biolinum', sans-serif;
     24   font-size: small;
     25 }
     26 
     27 .carousel {
     28   margin: 1rem 0;
     29   padding: 0;
     30   width: 100%;
     31   display: flex;
     32   align-items: center;
     33   overflow-x: scroll;
     34   scroll-snap-type: x mandatory;
     35 }
     36 
     37 .carousel > *:first-child { margin-top: 0; }
     38 
     39 .carousel > *:last-child { margin-bottom: 0; }
     40 
     41 .carousel figure {
     42   margin: 0;
     43   flex: 0 0 100%;
     44   scroll-snap-align: center;
     45 }
     46 
     47 .centered > p { text-align: center; }
     48 
     49 .small-text { font-size: small; }
     50 
     51 .hint {
     52   border: 1px solid var(--ui-element-color);
     53   margin: 1rem;
     54   padding: 1rem;
     55 }
     56 
     57 .hint-title {
     58   text-align: center;
     59   padding-bottom: 0.5rem;
     60 }