More css changes to get display right

More css changes to get display right

@import "variables";

.card-wrapper {
  margin: 0px 4px 0px 0px;
  vertical-align: middle;
}

.card-frame {
  position: relative;
}

.card {
  position: relative;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.1);
  overflow: hidden;
  z-index: @layer-cards;

  &.vertical {
    height: @card-height;
    width: @card-width;

    &.honor {
      height: @card-height-honor;

      &.attachment {
        height: @card-height;
        width: @card-width;
      }
    }
  }

  &.horizontal {
    height: @card-width;
    width: @card-height;

    &.honor {
      width: @card-height-honor;
    }

  }

  &.selectable {
    box-shadow: 0 0 10px 1px fadeout(lighten(@brand-primary, 60%), 10%);
  }

  &.unselectable {
    filter: grayscale(100%) brightness(60%);
  }

  &.in-danger {
    box-shadow: 0 0 1px 2px red;
  }

  &.saved {
    box-shadow: 0 0 1px 2px green;
  }

  &.selected {
    box-shadow: 0 0 1px 4px @brand-primary;
  }

  &.new {
    box-shadow: 0 0 1px 2px @brand-info;
  }

  &.controlled {
    box-shadow: 0 0 1px 2px @brand-warning;
  }

  &.challenge {
    box-shadow: 0 0 1px 2px @brand-danger;
  }

  &.stealth {
    box-shadow: 0 0 1px 2px #c14e15;
  }
}

.card-image {
  left: 0;
  position: absolute;
  top: 0;

  &.vertical {
    height: @card-height;
    width: @card-width;
  }

  &.horizontal {
    height: @card-width;
    width: @card-height;
  }

  &.bowed {
    left: 9px;
    top: -10px;
    transform: rotate(90deg);

    &.honor {
      left: 53px;
    }
  }
}

.honored {
  position: absolute;
  width: @card-width;
  top: @card-height;
  left: 0px;

  &.bowed {
    left: -10px;
    top: 11px;
    transform: rotate(90deg);
  }
}

.dishonored {
  position: absolute;
  width: @card-width;
  top: @card-height;
  left: 0px;

  &.bowed {
    left: @card-height-honor;
    top: -10px;
    transform: rotate(90deg);
  }
}

.card-order {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.9);
  border-radius: 4px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  height: 26px;
  left: 50%;
  line-height: 24px;
  margin: 0 0 0 -12px;
  position: absolute;
  text-align: center;
  top: -28px;
  width: 24px;
  z-index: @layer-card-menu;
}

.card-name {
  font-size: 10px;
  line-height: 14px;
}

.card-large {
  width: 220px;
  height: 307px;
  position: absolute;
  top: 0;
  right: 0;
  margin-right: 5px;
  margin-top: 5px;
}

.card-large-horizontal {
  width: 307px;
  height: 220px;
  position: relative;
  margin-right: 5px;
  margin-top: 5px;
}

.card-zoomed {
  width: 100%;
  height: 100%;
}

.card-zoomed > img {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  border-radius: 12px;
}

.attachment {
  margin-top: -(@card-height);

  &.honor {
    margin-top: -(@card-height-honor);
  }

}

.generate-attachments(@n, @i: 1) when (@i =< @n) {
  .attachment-@{i} {
    margin-left: -(@attachment-offset)*@i;
    z-index: @layer-cards - @i;
  }
  .attachment-@{i}.horizontal {
    margin-left: -(@attachment-offset)*@i;
    margin-top: -(@card-height)-(@attachment-offset);
    z-index: @layer-cards - @i;
  }
  .generate-attachments(@n, (@i + 1));
}

.generate-attachments(5, 1);

.card-dupe {
  margin-bottom: @attachment-offset;
  margin-top: -(@attachment-offset + @card-height);
}

.generate-card-dupes(@n, @i: 1) when (@i =< @n) {
  .card-dupe-@{i} {
    z-index: @layer-cards - @i;
  }
  .generate-card-dupes(@n, (@i + 1));
}
.generate-card-dupes(5, 1);

.card-type-faction.horizontal {
    margin: 10px 0 0 -10px;
}

.counters {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  justify-content: center;
  display: flex;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  z-index: @layer-cards + 1;
}

.card.vertical .counters {
  flex-direction: column;

  &.many-counters {
    flex-direction: row;
  }
}

.card.horizontal .counters {
  flex-direction: row;

  &.many-counters {
    flex-direction: column;
  }
}

.counter {
  padding: 0;
  font-size: 12px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  margin: 2px;
  text-shadow: 1px 1px 2px #000;
  border-radius: 4px;
  color: white;

  &.intrigue {
    span {
      display: none;
    }

    font-family: 'thronesdb';

    &:before {
      content: "\e602";
      color: @intrigue-icon-color;
    }

    background-color: rgba(0, 0, 0, 0.85);
  }

  &.military {
    span {
      display: none;
    }

    font-family: 'thronesdb';

    &:before {
      content: "\e605";
      color: @military-icon-color;
    }

    background-color: rgba(0, 0, 0, 0.85);
  }

  &.power {
    span {
      display: none;
    }

    font-family: 'thronesdb';

    &:before {
      content: "\e607";
      color: @power-icon-color;
    }

    background-color: rgba(0, 0, 0, 0.85);
  }

  &.fade-out {
    opacity: 0.4;
  }

  &.cancel {
    position: relative;

    &:after {
      border-bottom: 0.17em solid @brand-danger;
      content: "";
      left: 0;
      margin-top: calc(0.17em / 2 * -1);
      position: absolute;
      right: 0;
      top: 50%;
    }
  }
}

.dupe {
  background-color: @dupe-color;
}

.attachment-dupe {
  background-color: fade(@dupe-color, 50%);
}

.card-power {
  background-color: @power-color;
}

.attachment-power {
  background-color: fade(@power-color, 50%);
}

.strength {
  background-color: @strength-color;
}

.stand {
  background-color: rgba(128,128,128,0.85);
}

.poison {
  background-color: rgba(43,43, 0, 0.85);
}

.gold {
    background-color: rgba(255, 215, 0, 0.85);
}

.valarmorghulis {
  background-color: rgba(192, 192, 192, 0.85);
}

.betrayal {
  background-color: rgba(153, 77, 0, 0.85);
}

.vengeance {
  background-color: rgba(87, 17, 124, 0.85);
}

.ear {
  background-color: rgba(162, 255, 81, 0.85);
}

.venom {
  background-color: @venom-color;
}

.attachment-venom {
  background-color: fade(@venom-color, 50%);
}

.plot-selected {
  box-shadow: 0 0 1px 2px @brand-danger;
}

.province-attachment {
  margin-top: @attachment-offset - @card-height;
}

.generate-province-attachment(@n, @i: 1) when (@i =< @n) {
  .province-attachment-@{i} {
    z-index: @layer-cards - @i;
  }
  .generate-province-attachment(@n, (@i + 1));
}

.generate-province-attachment(5, 1);

@import "variables";

.card-wrapper {
  margin: 0px 4px 0px 0px;
  vertical-align: middle;
}

.card-frame {
  position: relative;
}

.card {
  position: relative;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.1);
  overflow: hidden;
  z-index: @layer-cards;

  &.vertical {
    height: @card-height;
    width: @card-width;

    &.honor {
      height: @card-height-honor;
    }
  }

  &.horizontal {
    height: @card-width;
    width: @card-height;

    &.honor {
      width: @card-height-honor;
    }

  }

  &.selectable {
    box-shadow: 0 0 10px 1px fadeout(lighten(@brand-primary, 60%), 10%);
  }

  &.unselectable {
    filter: grayscale(100%) brightness(60%);
  }

  &.in-danger {
    box-shadow: 0 0 1px 2px red;
  }

  &.saved {
    box-shadow: 0 0 1px 2px green;
  }

  &.selected {
    box-shadow: 0 0 1px 4px @brand-primary;
  }

  &.new {
    box-shadow: 0 0 1px 2px @brand-info;
  }

  &.controlled {
    box-shadow: 0 0 1px 2px @brand-warning;
  }

  &.challenge {
    box-shadow: 0 0 1px 2px @brand-danger;
  }

  &.stealth {
    box-shadow: 0 0 1px 2px #c14e15;
  }
}

.card-image {
  left: 0;
  position: absolute;
  top: 0;

  &.vertical {
    height: @card-height;
    width: @card-width;
  }

  &.horizontal {
    height: @card-width;
    width: @card-height;
  }

  &.bowed {
    left: 9px;
    top: -10px;
    transform: rotate(90deg);

    &.honor {
      left: 53px;
    }
  }
}

.honored {
  position: absolute;
  width: @card-width;
  top: @card-height;
  left: 0px;

  &.bowed {
    left: -10px;
    top: 11px;
    transform: rotate(90deg);
  }
}

.dishonored {
  position: absolute;
  width: @card-width;
  top: @card-height;
  left: 0px;

  &.bowed {
    left: @card-height-honor;
    top: -10px;
    transform: rotate(90deg);
  }
}

.card-order {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.9);
  border-radius: 4px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  height: 26px;
  left: 50%;
  line-height: 24px;
  margin: 0 0 0 -12px;
  position: absolute;
  text-align: center;
  top: -28px;
  width: 24px;
  z-index: @layer-card-menu;
}

.card-name {
  font-size: 10px;
  line-height: 14px;
}

.card-large {
  width: 220px;
  height: 307px;
  position: absolute;
  top: 0;
  right: 0;
  margin-right: 5px;
  margin-top: 5px;
}

.card-large-horizontal {
  width: 307px;
  height: 220px;
  position: relative;
  margin-right: 5px;
  margin-top: 5px;
}

.card-zoomed {
  width: 100%;
  height: 100%;
}

.card-zoomed > img {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  border-radius: 12px;
}

.attachment {
  margin-top: -(@card-height);

  &.honor {
    margin-top: -(@card-height-honor);
    height: @card-height;
    width: @card-width;
  }

}

.generate-attachments(@n, @i: 1) when (@i =< @n) {
  .attachment-@{i} {
    margin-left: -(@attachment-offset)*@i;
    z-index: @layer-cards - @i;
  }
  .attachment-@{i}.horizontal {
    margin-left: -(@attachment-offset)*@i;
    margin-top: -(@card-height-honor)-(@attachment-offset);
    z-index: @layer-cards - @i;
  }
  .generate-attachments(@n, (@i + 1));
}

.generate-attachments(5, 1);

.card-dupe {
  margin-bottom: @attachment-offset;
  margin-top: -(@attachment-offset + @card-height);
}

.generate-card-dupes(@n, @i: 1) when (@i =< @n) {
  .card-dupe-@{i} {
    z-index: @layer-cards - @i;
  }
  .generate-card-dupes(@n, (@i + 1));
}
.generate-card-dupes(5, 1);

.card-type-faction.horizontal {
    margin: 10px 0 0 -10px;
}

.counters {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  justify-content: center;
  display: flex;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  z-index: @layer-cards + 1;
}

.card.vertical .counters {
  flex-direction: column;

  &.many-counters {
    flex-direction: row;
  }
}

.card.horizontal .counters {
  flex-direction: row;

  &.many-counters {
    flex-direction: column;
  }
}

.counter {
  padding: 0;
  font-size: 12px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  margin: 2px;
  text-shadow: 1px 1px 2px #000;
  border-radius: 4px;
  color: white;

  &.intrigue {
    span {
      display: none;
    }

    font-family: 'thronesdb';

    &:before {
      content: "\e602";
      color: @intrigue-icon-color;
    }

    background-color: rgba(0, 0, 0, 0.85);
  }

  &.military {
    span {
      display: none;
    }

    font-family: 'thronesdb';

    &:before {
      content: "\e605";
      color: @military-icon-color;
    }

    background-color: rgba(0, 0, 0, 0.85);
  }

  &.power {
    span {
      display: none;
    }

    font-family: 'thronesdb';

    &:before {
      content: "\e607";
      color: @power-icon-color;
    }

    background-color: rgba(0, 0, 0, 0.85);
  }

  &.fade-out {
    opacity: 0.4;
  }

  &.cancel {
    position: relative;

    &:after {
      border-bottom: 0.17em solid @brand-danger;
      content: "";
      left: 0;
      margin-top: calc(0.17em / 2 * -1);
      position: absolute;
      right: 0;
      top: 50%;
    }
  }
}

.dupe {
  background-color: @dupe-color;
}

.attachment-dupe {
  background-color: fade(@dupe-color, 50%);
}

.card-power {
  background-color: @power-color;
}

.attachment-power {
  background-color: fade(@power-color, 50%);
}

.strength {
  background-color: @strength-color;
}

.stand {
  background-color: rgba(128,128,128,0.85);
}

.poison {
  background-color: rgba(43,43, 0, 0.85);
}

.gold {
    background-color: rgba(255, 215, 0, 0.85);
}

.valarmorghulis {
  background-color: rgba(192, 192, 192, 0.85);
}

.betrayal {
  background-color: rgba(153, 77, 0, 0.85);
}

.vengeance {
  background-color: rgba(87, 17, 124, 0.85);
}

.ear {
  background-color: rgba(162, 255, 81, 0.85);
}

.venom {
  background-color: @venom-color;
}

.attachment-venom {
  background-color: fade(@venom-color, 50%);
}

.plot-selected {
  box-shadow: 0 0 1px 2px @brand-danger;
}

.province-attachment {
  margin-top: @attachment-offset - @card-height;
}

.generate-province-attachment(@n, @i: 1) when (@i =< @n) {
  .province-attachment-@{i} {
    z-index: @layer-cards - @i;
  }
  .generate-province-attachment(@n, (@i + 1));
}

.generate-province-attachment(5, 1);


Use a token for honor/dishonor

Use a token for honor/dishonor

.card-wrapper {
  margin: 0px 0px 0px 0px;
  vertical-align: middle;
  display: inline-block;

  &.imperial-favor {
    margin: 0px 5px;
  }
}

.generate-wrappers(@n, @i: 1) when (@i =< @n) {
  .wrapper-@{i} {
    margin-left: @attachment-offset*@i;
  }
  .generate-wrappers(@n, (@i + 1));
}

.generate-wrappers(10, 1);

.card-frame {
  position: relative;
}

.card {
  position: relative;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.1);
  overflow: hidden;
  z-index: @layer-cards;

  &.small {
    &.vertical {
      height: @card-sm-height;
      width: @card-sm-width;

    }

    &.horizontal {
      height: @card-sm-width;
      width: @card-sm-height;

    }
  }

  &.large {
    &.vertical {
      height: @card-lg-height;
      width: @card-lg-width;

    }

    &.horizontal {
      height: @card-lg-width;
      width: @card-lg-height;

    }
  }

  &.x-large {
    &.vertical {
      height: @card-xl-height;
      width: @card-xl-width;

    }

    &.horizontal {
      height: @card-xl-width;
      width: @card-xl-height;

    }
  }

  &.vertical {
    height: @card-height;
    width: @card-width;

  }

  &.horizontal {
    height: @card-width;
    width: @card-height;

  }

  &.selectable {
    box-shadow: 0 0 10px 1px fadeout(lighten(@brand-primary, 60%), 10%);
  }

  &.unselectable {
    filter: grayscale(100%) brightness(60%);
  }

  &.in-danger {
    box-shadow: 0 0 1px 2px red;
  }

  &.selected {
    box-shadow: 0 0 1px 4px @brand-tertiary;
  }

  &.new {
    box-shadow: 0 0 1px 2px @brand-info;
  }

  &.controlled {
    box-shadow: 0 0 1px 2px @brand-warning;
  }

  &.conflict {
    box-shadow: 0 0 1px 2px @brand-danger;
  }

  &.covert {
    box-shadow: 0 0 1px 2px #c14e15;
  }
}

.card-image {
  left: 0;
  position: absolute;
  top: 0;

  &.small {
    &.vertical {
      height: @card-sm-height;
      width: @card-sm-width;
    }

    &.horizontal {
      height: @card-sm-width;
      width: @card-sm-height;
    }
  }

  &.vertical {
    height: @card-height;
    width: @card-width;
  }

  &.horizontal {
    height: @card-width;
    width: @card-height;
  }

  &.large {
    &.vertical {
      height: @card-lg-height;
      width: @card-lg-width;
    }

    &.horizontal {
      height: @card-lg-width;
      width: @card-lg-height;
    }

    &.bowed {
      left: 19px;
      top: -20px;
    }
  }

  &.x-large {
    &.vertical {
      height: @card-xl-height;
      width: @card-xl-width;
    }

    &.horizontal {
      height: @card-xl-width;
      width: @card-xl-height;
    }

    &.bowed {
      left: 24px;
      top: -26px;
    }
  }

  &.bowed {
    left: 9px;
    top: -10px;
    transform: rotate(90deg);

  }

  &.broken {
      transform: rotate(180deg);
  }
}

.card-order {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.9);
  border-radius: 4px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  height: 26px;
  left: 50%;
  line-height: 24px;
  margin: 0 0 0 -12px;
  position: absolute;
  text-align: center;
  top: -28px;
  width: 24px;
  z-index: @layer-card-menu;
}

.card-name {
  font-size: 10px;
  line-height: 14px;
}

.custom-card:hover .card-name {
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
  z-index: @layer-card-menu;
}

.card-large {
  width: 220px;
  height: 307px;
  position: absolute;
  top: 0;
  right: 0;
  margin-right: 5px;
  margin-top: 5px;
}

.card-large-horizontal {
  width: 307px;
  height: 220px;
  position: relative;
  margin-right: 5px;
  margin-top: 5px;
}

.card-zoomed {
  width: 100%;
  height: 100%;
}

.card-zoomed > img {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  border-radius: 12px;
}

.attachment {
  margin-top: -(@card-height);

  &.small {
    margin-top: @attachment-offset - @card-sm-height;

  }

  &.large {
    margin-top: @attachment-offset - @card-lg-height;

  }

  &.x-large {
    margin-top: @attachment-offset - @card-xl-height;

  }

}

.generate-attachments(@n, @i: 1) when (@i =< @n) {
  .attachment-@{i} {
    margin-left: -(@attachment-offset)*@i;
    z-index: @layer-cards - @i;
  }
  .attachment-@{i}.horizontal {
    margin-left: -(@attachment-offset)*@i;
    margin-top: -(@card-height)-(@attachment-offset);
    z-index: @layer-cards - @i;

  }
  .generate-attachments(@n, (@i + 1));
}

.generate-attachments(10, 1);

.card-type-faction.horizontal {
    margin: 10px 0 0 -10px;
}

.counters {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  justify-content: center;
  display: flex;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  z-index: @layer-cards + 1;
}

.card.vertical .counters {
  flex-direction: column;

  &.many-counters {
    flex-direction: row;
  }
}

.card.horizontal .counters {
  flex-direction: row;

  &.many-counters {
    flex-direction: column;
  }
}

.fatecountertext {
  position: relative;
  left: 0px;
  top: -95%;
  text-align: center;
  font-size: 14px;
  color: white;
  text-shadow: 1px 1px 2px #000;
}

.fatecounter {
  box-sizing: border-box;
  width: 25px;
  height: 25px;
}

.honorcounter {
  box-sizing: border-box;
  width: 25px;
  height: 25px;
}

/* Don't think we actually need this
.counter {
  padding: 0;
  font-size: 12px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  margin: 2px;
  text-shadow: 1px 1px 2px #000;
  border-radius: 4px;
  color: white;

  &.political {
    span {
      display: none;
    }

    font-family: 'fiveringsdb';

    &:before {
      content: "\e901";
      color: @political-icon-color;
    }

    background-color: rgba(0, 0, 0, 0.85);
  }

  &.military {
    span {
      display: none;
    }

    font-family: 'fiveringsdb';

    &:before {
      content: "\e900";
      color: @military-icon-color;
    }

    background-color: rgba(0, 0, 0, 0.85);
  }

  &.fade-out {
    opacity: 0.4;
  }

  &.cancel {
    position: relative;

    &:after {
      border-bottom: 0.17em solid @brand-danger;
      content: "";
      left: 0;
      margin-top: calc(0.17em / 2 * -1);
      position: absolute;
      right: 0;
      top: 50%;
    }
  }
}

*/

.strength {
  background-color: @strength-color;
}

.stand {
  background-color: rgba(128,128,128,0.85);
}

.province-attachment {
  margin-top: @attachment-offset - @card-height;
}

.generate-province-attachment(@n, @i: 1) when (@i =< @n) {
  .province-attachment-@{i} {
    z-index: @layer-cards - @i;
  }
  .generate-province-attachment(@n, (@i + 1));
}

.generate-province-attachment(5, 1);

.card-wrapper {
  margin: 0px 0px 0px 0px;
  vertical-align: middle;
  display: inline-block;

  &.imperial-favor {
    margin: 0px 5px;
  }
}

.generate-wrappers(@n, @i: 1) when (@i =< @n) {
  .wrapper-@{i} {
    margin-left: @attachment-offset*@i;
  }
  .generate-wrappers(@n, (@i + 1));
}

.generate-wrappers(10, 1);

.card-frame {
  position: relative;
}

.card {
  position: relative;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.1);
  overflow: hidden;
  z-index: @layer-cards;

  &.small {
    &.vertical {
      height: @card-sm-height;
      width: @card-sm-width;

    }

    &.horizontal {
      height: @card-sm-width;
      width: @card-sm-height;

    }
  }

  &.large {
    &.vertical {
      height: @card-lg-height;
      width: @card-lg-width;

    }

    &.horizontal {
      height: @card-lg-width;
      width: @card-lg-height;

    }
  }

  &.x-large {
    &.vertical {
      height: @card-xl-height;
      width: @card-xl-width;

    }

    &.horizontal {
      height: @card-xl-width;
      width: @card-xl-height;

    }
  }

  &.vertical {
    height: @card-height;
    width: @card-width;

  }

  &.horizontal {
    height: @card-width;
    width: @card-height;

  }

  &.selectable {
    box-shadow: 0 0 10px 1px fadeout(lighten(@brand-primary, 60%), 10%);
  }

  &.unselectable {
    filter: grayscale(100%) brightness(60%);
  }

  &.in-danger {
    box-shadow: 0 0 1px 2px red;
  }

  &.selected {
    box-shadow: 0 0 1px 4px @brand-tertiary;
  }

  &.new {
    box-shadow: 0 0 1px 2px @brand-info;
  }

  &.controlled {
    box-shadow: 0 0 1px 2px @brand-warning;
  }

  &.conflict {
    box-shadow: 0 0 1px 2px @brand-danger;
  }

  &.covert {
    box-shadow: 0 0 1px 2px #c14e15;
  }
}

.card-image {
  left: 0;
  position: absolute;
  top: 0;

  &.small {
    &.vertical {
      height: @card-sm-height;
      width: @card-sm-width;
    }

    &.horizontal {
      height: @card-sm-width;
      width: @card-sm-height;
    }
  }

  &.vertical {
    height: @card-height;
    width: @card-width;
  }

  &.horizontal {
    height: @card-width;
    width: @card-height;
  }

  &.large {
    &.vertical {
      height: @card-lg-height;
      width: @card-lg-width;
    }

    &.horizontal {
      height: @card-lg-width;
      width: @card-lg-height;
    }

    &.bowed {
      left: 19px;
      top: -20px;
    }
  }

  &.x-large {
    &.vertical {
      height: @card-xl-height;
      width: @card-xl-width;
    }

    &.horizontal {
      height: @card-xl-width;
      width: @card-xl-height;
    }

    &.bowed {
      left: 24px;
      top: -26px;
    }
  }

  &.bowed {
    left: 9px;
    top: -10px;
    transform: rotate(90deg);

  }

  &.broken {
      transform: rotate(180deg);
  }
}

  &.large {
    &.vertical {
    }

    &.bowed {
      width: @card-lg-height;
    }
  }

  &.x-large {
    &.vertical {
    }

    &.bowed {
      width: @card-xl-height;
    }
  }
}

.dishonored {
  position: absolute;
  width: @card-width;
  top: @card-height;
  left: 0px;

  &.bowed {
    left: @card-height-honor;
    top: -10px;
    transform: rotate(90deg);
  }
}

.card-order {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.9);
  border-radius: 4px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  height: 26px;
  left: 50%;
  line-height: 24px;
  margin: 0 0 0 -12px;
  position: absolute;
  text-align: center;
  top: -28px;
  width: 24px;
  z-index: @layer-card-menu;
}

.card-name {
  font-size: 10px;
  line-height: 14px;
}

.custom-card:hover .card-name {
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
  z-index: @layer-card-menu;
}

.card-large {
  width: 220px;
  height: 307px;
  position: absolute;
  top: 0;
  right: 0;
  margin-right: 5px;
  margin-top: 5px;
}

.card-large-horizontal {
  width: 307px;
  height: 220px;
  position: relative;
  margin-right: 5px;
  margin-top: 5px;
}

.card-zoomed {
  width: 100%;
  height: 100%;
}

.card-zoomed > img {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  border-radius: 12px;
}

.attachment {
  margin-top: -(@card-height);

  &.small {
    margin-top: @attachment-offset - @card-sm-height;

  }

  &.large {
    margin-top: @attachment-offset - @card-lg-height;

  }

  &.x-large {
    margin-top: @attachment-offset - @card-xl-height;

  }

}

.generate-attachments(@n, @i: 1) when (@i =< @n) {
  .attachment-@{i} {
    margin-left: -(@attachment-offset)*@i;
    z-index: @layer-cards - @i;
  }
  .attachment-@{i}.horizontal {
    margin-left: -(@attachment-offset)*@i;
    margin-top: -(@card-height)-(@attachment-offset);
    z-index: @layer-cards - @i;

  }
  .generate-attachments(@n, (@i + 1));
}

.generate-attachments(10, 1);

.card-type-faction.horizontal {
    margin: 10px 0 0 -10px;
}

.counters {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  justify-content: center;
  display: flex;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  z-index: @layer-cards + 1;
}

.card.vertical .counters {
  flex-direction: column;

  &.many-counters {
    flex-direction: row;
  }
}

.card.horizontal .counters {
  flex-direction: row;

  &.many-counters {
    flex-direction: column;
  }
}
.fatecountertext {
  position: relative;
  left: 0px;
  top: -95%;
  text-align: center;
  font-size: 14px;
  color: white;
  text-shadow: 1px 1px 2px #000;
}

.fatecounter {
  box-sizing: border-box;
  width: 25px;
  height: 25px;
}

/* Don't think we actually need this
.counter {
  padding: 0;
  font-size: 12px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  margin: 2px;
  text-shadow: 1px 1px 2px #000;
  border-radius: 4px;
  color: white;

  &.political {
    span {
      display: none;
    }

    font-family: 'fiveringsdb';

    &:before {
      content: "\e901";
      color: @political-icon-color;
    }

    background-color: rgba(0, 0, 0, 0.85);
  }

  &.military {
    span {
      display: none;
    }

    font-family: 'fiveringsdb';

    &:before {
      content: "\e900";
      color: @military-icon-color;
    }

    background-color: rgba(0, 0, 0, 0.85);
  }

  &.fade-out {
    opacity: 0.4;
  }

  &.cancel {
    position: relative;

    &:after {
      border-bottom: 0.17em solid @brand-danger;
      content: "";
      left: 0;
      margin-top: calc(0.17em / 2 * -1);
      position: absolute;
      right: 0;
      top: 50%;
    }
  }
}

*/

.strength {
  background-color: @strength-color;
}

.stand {
  background-color: rgba(128,128,128,0.85);
}

.province-attachment {
  margin-top: @attachment-offset - @card-height;
}

.generate-province-attachment(@n, @i: 1) when (@i =< @n) {
  .province-attachment-@{i} {
    z-index: @layer-cards - @i;
  }
  .generate-province-attachment(@n, (@i + 1));
}

.generate-province-attachment(5, 1);


prevent long items in details view from wrapping lines

fatal: unable to access 'https://github.com/bmcorum/data-atom.git/': The requested URL returned error: 403


Removed deleted code.

Removed deleted code.

fatal: unable to access 'https://github.com/quillcontent/qboot.git/': The requested URL returned error: 403


Fix message header distance

Fix message header distance

/*
 * # Semantic - Message
 * http://github.com/semantic-org/semantic-ui/
 *
 *
 * Copyright 2014 Contributor
 * Released under the MIT license
 * http://opensource.org/licenses/MIT
 *
 */
/*******************************
            Theme
*******************************/

@type    : 'collection';
@element : 'message';

@import '../../theme.config';

/*******************************
            Message
*******************************/

.ui.message {
  position: relative;
  min-height: 1em;
  margin: @verticalMargin 0em;
  background: @background;
  padding: @verticalPadding @horizontalPadding;
  line-height: @lineHeight;
  color: @textColor;
  transition: @transition;
  border-radius: @borderRadius;
  box-shadow: @boxShadow;
}

.ui.message:first-child {
  margin-top: 0em;
}
.ui.message:last-child {
  margin-bottom: 0em;
}

/*--------------
     Content
---------------*/

/* Header */
.ui.message .header {
  display: @headerDisplay;
  font-family: @headerFont;
  font-weight: @headerFontWeight;
  margin: 0em 0em @headerDistance 0em;
}

/* Default font size */
.ui.message .header:not(.ui) {
  font-size: @headerFontSize;
}

/* Paragraph */
.ui.message p {
  opacity: @messageTextOpacity;
  margin: @messageParagraphMargin 0em;
}
.ui.message p:first-child {
  margin-top: 0em;
}
.ui.message p:last-child {
  margin-bottom: 0em;
}
.ui.message .header + p {
  margin-top: @headerParagraphDistance;
}

/* List */
.ui.message ul.list {
  opacity: @listOpacity;
  list-style-position: @listStylePosition;
  margin: @listMargin 0em 0em;
  padding: 0em;
}
.ui.message ul.list:first-child {
  margin-top: 0em;
}
.ui.message ul.list:last-child {
  margin-bottom: 0em;
}
.ui.message ul.list li {
  position: relative;
  list-style-type: none;
  margin: 0em 0em @listItemMargin @listItemIndent;
  padding: 0em;
}
.ui.message ul.list li:before {
  position: absolute;
  content: '•';
  left: -1em;
  height: 100%;
  vertical-align: baseline;
}
.ui.message ul.list li:last-child {
  margin-bottom: 0em;
}

/* Icon */
.ui.message > .icon {
  margin-right: @iconDistance;
}

/* Close Icon */
.ui.message > .close.icon {
  cursor: pointer;
  position: absolute;
  margin: 0em;
  top: @closeTopDistance;
  right: @closeRightDistance;
  opacity: @closeOpacity;
  transition:
    opacity 0.1s linear
  ;
}
.ui.message > .close.icon:hover {
  opacity: 1;
}

/* First / Last Element */
.ui.message > :first-child {
  margin-top: 0em;
}
.ui.message > :last-child {
  margin-bottom: 0em;
}

/*******************************
            States
*******************************/

.ui.message.visible,
.ui.header.visible {
  display: block !important;
}
.ui.message.hidden,
.ui.header.hidden {
  display: none;
}

/*******************************
            Variations
*******************************/

/*--------------
    Compact
---------------*/

.ui.compact.message {
  display: inline-block;
}

/*--------------
    Attached
---------------*/

.ui.attached.message {
  margin-bottom: @attachedYOffset;
  border-radius: @borderRadius @borderRadius 0em 0em;
  box-shadow: @attachedBoxShadow;
  margin-left: @attachedXOffset;
  margin-right: @attachedXOffset;
}
.ui.attached + .ui.attached.message:not(.top):not(.bottom) {
  margin-top: @attachedYOffset;
  border-radius: 0em;
}
.ui.bottom.attached.message {
  margin-top: @attachedYOffset;
  border-radius: 0em 0em @borderRadius @borderRadius;
  box-shadow: @attachedBottomBoxShadow;
}
.ui.bottom.attached.message:not(:last-child) {
  margin-bottom: @verticalMargin;
}
.ui.attached.icon.message {
  display: block;
  width: auto;
}

/*--------------
      Icon
---------------*/

.ui.icon.message {
  display: table;
  width: 100%;
}
.ui.icon.message > .icon:not(.close) {
  display: table-cell;
  width: auto;
  vertical-align: @iconVerticalAlign;
  font-size: @iconSize;
  opacity: @iconOpacity;
}
.ui.icon.message > .content {
  display: table-cell;
  width: 100%;
  vertical-align: @iconVerticalAlign;
}

.ui.icon.message .icon:not(.close) + .content {
  padding-left: @iconContentDistance;
}
.ui.icon.message .circular.icon {
  width: 1em;
}
.ui.icon.message .circular.icon + .content {
  width: auto;
  padding-left: @circularIconContentDistance;
}

/*--------------
    Floating
---------------*/

.ui.floating.message {
  box-shadow: @floatingBoxShadow;
}

/*--------------
     Colors
---------------*/

.ui.black.message {
  background-color: @black;
  color: @invertedTextColor;
}

/*--------------
     Types
---------------*/

/* Positive */
.ui.positive.message {
  background-color: @positiveBackgroundColor;
  color: @positiveTextColor;
}
.ui.positive.message,
.ui.attached.positive.message {
  box-shadow:
    0px 0px 0px 1px @positiveBorderColor inset,
    @subtleShadow
  ;
}
.ui.positive.message .header {
  color: @positiveHeaderColor;
}

/* Negative */
.ui.negative.message {
  background-color: @negativeBackgroundColor;
  color: @negativeTextColor;
}
.ui.negative.message,
.ui.attached.negative.message {
  box-shadow:
    0px 0px 0px 1px @negativeBorderColor inset,
    @subtleShadow
  ;
}
.ui.negative.message .header {
  color: @negativeHeaderColor;
}

/* Info */
.ui.info.message {
  background-color: @infoBackgroundColor;
  color: @infoTextColor;
}
.ui.info.message,
.ui.attached.info.message {
  box-shadow:
    0px 0px 0px 1px @infoBorderColor inset,
    @subtleShadow
  ;
}
.ui.info.message .header {
  color: @infoHeaderColor;
}

/* Warning */
.ui.warning.message {
  background-color: @warningBackgroundColor;
  color: @warningTextColor;
}
.ui.warning.message,
.ui.attached.warning.message {
  box-shadow:
    0px 0px 0px 1px @warningBorderColor inset,
    @subtleShadow
  ;
}
.ui.warning.message .header {
  color: @warningHeaderColor;
}

/* Error */
.ui.error.message {
  background-color: @errorBackgroundColor;
  color: @errorTextColor;
}
.ui.error.message,
.ui.attached.error.message {
  box-shadow:
    0px 0px 0px 1px @errorBorderColor inset,
    @subtleShadow
  ;
}
.ui.error.message .header {
  color: @errorHeaderColor;
}

/* Success */
.ui.success.message {
  background-color: @successBackgroundColor;
  color: @successTextColor;
}
.ui.success.message,
.ui.attached.success.message {
  box-shadow:
    0px 0px 0px 1px @successBorderColor inset,
    @subtleShadow
  ;
}
.ui.success.message .header {
  color: @successHeaderColor;
}

/* Colors */
.ui.inverted.message,
.ui.black.message {
  background-color: @black;
  color: @invertedTextColor;
}

.ui.blue.message {
  background-color: @blueBackground;
  color: @blueTextColor;
}
.ui.blue.message .header {
  color: @blueHeaderColor;
}
.ui.green.message {
  background-color: @greenBackground;
  color: @greenTextColor;
}
.ui.green.message .header {
  color: @greenHeaderColor;
}
.ui.orange.message {
  background-color: @orangeBackground;
  color: @orangeTextColor;
}
.ui.orange.message .header {
  color: @orangeHeaderColor;
}
.ui.pink.message {
  background-color: @pinkBackground;
  color: @pinkTextColor;
}
.ui.pink.message .header {
  color: @pinkHeaderColor;
}
.ui.purple.message {
  background-color: @purpleBackground;
  color: @purpleTextColor;
}
.ui.purple.message .header {
  color: @purpleHeaderColor;
}
.ui.red.message {
  background-color: @redBackground;
  color: @redTextColor;
}
.ui.red.message .header {
  color: @redHeaderColor;
}
.ui.teal.message {
  background-color: @tealBackground;
  color: @tealTextColor;
}
.ui.teal.message .header {
  color: @tealHeaderColor;
}
.ui.yellow.message {
  background-color: @yellowBackground;
  color: @yellowTextColor;
}
.ui.yellow.message .header {
  color: @yellowHeaderColor;
}

/*--------------
     Sizes
---------------*/

.ui.small.message {
  font-size: @small;
}
.ui.message {
  font-size: @medium;
}
.ui.large.message {
  font-size: @large;
}
.ui.huge.message {
  font-size: @huge;
}
.ui.massive.message {
  font-size: @massive;
}

.loadUIOverrides();

/*
 * # Semantic - Message
 * http://github.com/semantic-org/semantic-ui/
 *
 *
 * Copyright 2014 Contributor
 * Released under the MIT license
 * http://opensource.org/licenses/MIT
 *
 */
/*******************************
            Theme
*******************************/

@type    : 'collection';
@element : 'message';

@import '../../theme.config';

/*******************************
            Message
*******************************/

.ui.message {
  position: relative;
  min-height: 1em;
  margin: @verticalMargin 0em;
  background: @background;
  padding: @verticalPadding @horizontalPadding;
  line-height: @lineHeight;
  color: @textColor;
  transition: @transition;
  border-radius: @borderRadius;
  box-shadow: @boxShadow;
}

.ui.message:first-child {
  margin-top: 0em;
}
.ui.message:last-child {
  margin-bottom: 0em;
}

/*--------------
     Content
---------------*/

/* Header */
.ui.message .header {
  display: @headerDisplay;
  font-family: @headerFont;
  font-weight: @headerFontWeight;
  margin: 0em 0em 0em @headerDistance;
}

/* Default font size */
.ui.message .header:not(.ui) {
  font-size: @headerFontSize;
}

/* Paragraph */
.ui.message p {
  opacity: @messageTextOpacity;
  margin: @messageParagraphMargin 0em;
}
.ui.message p:first-child {
  margin-top: 0em;
}
.ui.message p:last-child {
  margin-bottom: 0em;
}
.ui.message .header + p {
  margin-top: @headerParagraphDistance;
}

/* List */
.ui.message ul.list {
  opacity: @listOpacity;
  list-style-position: @listStylePosition;
  margin: @listMargin 0em 0em;
  padding: 0em;
}
.ui.message ul.list:first-child {
  margin-top: 0em;
}
.ui.message ul.list:last-child {
  margin-bottom: 0em;
}
.ui.message ul.list li {
  position: relative;
  list-style-type: none;
  margin: 0em 0em @listItemMargin @listItemIndent;
  padding: 0em;
}
.ui.message ul.list li:before {
  position: absolute;
  content: '•';
  left: -1em;
  height: 100%;
  vertical-align: baseline;
}
.ui.message ul.list li:last-child {
  margin-bottom: 0em;
}

/* Icon */
.ui.message > .icon {
  margin-right: @iconDistance;
}

/* Close Icon */
.ui.message > .close.icon {
  cursor: pointer;
  position: absolute;
  margin: 0em;
  top: @closeTopDistance;
  right: @closeRightDistance;
  opacity: @closeOpacity;
  transition:
    opacity 0.1s linear
  ;
}
.ui.message > .close.icon:hover {
  opacity: 1;
}

/* First / Last Element */
.ui.message > :first-child {
  margin-top: 0em;
}
.ui.message > :last-child {
  margin-bottom: 0em;
}

/*******************************
            States
*******************************/

.ui.message.visible,
.ui.header.visible {
  display: block !important;
}
.ui.message.hidden,
.ui.header.hidden {
  display: none;
}

/*******************************
            Variations
*******************************/

/*--------------
    Compact
---------------*/

.ui.compact.message {
  display: inline-block;
}

/*--------------
    Attached
---------------*/

.ui.attached.message {
  margin-bottom: @attachedYOffset;
  border-radius: @borderRadius @borderRadius 0em 0em;
  box-shadow: @attachedBoxShadow;
  margin-left: @attachedXOffset;
  margin-right: @attachedXOffset;
}
.ui.attached + .ui.attached.message:not(.top):not(.bottom) {
  margin-top: @attachedYOffset;
  border-radius: 0em;
}
.ui.bottom.attached.message {
  margin-top: @attachedYOffset;
  border-radius: 0em 0em @borderRadius @borderRadius;
  box-shadow: @attachedBottomBoxShadow;
}
.ui.bottom.attached.message:not(:last-child) {
  margin-bottom: @verticalMargin;
}
.ui.attached.icon.message {
  display: block;
  width: auto;
}

/*--------------
      Icon
---------------*/

.ui.icon.message {
  display: table;
  width: 100%;
}
.ui.icon.message > .icon:not(.close) {
  display: table-cell;
  width: auto;
  vertical-align: @iconVerticalAlign;
  font-size: @iconSize;
  opacity: @iconOpacity;
}
.ui.icon.message > .content {
  display: table-cell;
  width: 100%;
  vertical-align: @iconVerticalAlign;
}

.ui.icon.message .icon:not(.close) + .content {
  padding-left: @iconContentDistance;
}
.ui.icon.message .circular.icon {
  width: 1em;
}
.ui.icon.message .circular.icon + .content {
  width: auto;
  padding-left: @circularIconContentDistance;
}

/*--------------
    Floating
---------------*/

.ui.floating.message {
  box-shadow: @floatingBoxShadow;
}

/*--------------
     Colors
---------------*/

.ui.black.message {
  background-color: @black;
  color: @invertedTextColor;
}

/*--------------
     Types
---------------*/

/* Positive */
.ui.positive.message {
  background-color: @positiveBackgroundColor;
  color: @positiveTextColor;
}
.ui.positive.message,
.ui.attached.positive.message {
  box-shadow:
    0px 0px 0px 1px @positiveBorderColor inset,
    @subtleShadow
  ;
}
.ui.positive.message .header {
  color: @positiveHeaderColor;
}

/* Negative */
.ui.negative.message {
  background-color: @negativeBackgroundColor;
  color: @negativeTextColor;
}
.ui.negative.message,
.ui.attached.negative.message {
  box-shadow:
    0px 0px 0px 1px @negativeBorderColor inset,
    @subtleShadow
  ;
}
.ui.negative.message .header {
  color: @negativeHeaderColor;
}

/* Info */
.ui.info.message {
  background-color: @infoBackgroundColor;
  color: @infoTextColor;
}
.ui.info.message,
.ui.attached.info.message {
  box-shadow:
    0px 0px 0px 1px @infoBorderColor inset,
    @subtleShadow
  ;
}
.ui.info.message .header {
  color: @infoHeaderColor;
}

/* Warning */
.ui.warning.message {
  background-color: @warningBackgroundColor;
  color: @warningTextColor;
}
.ui.warning.message,
.ui.attached.warning.message {
  box-shadow:
    0px 0px 0px 1px @warningBorderColor inset,
    @subtleShadow
  ;
}
.ui.warning.message .header {
  color: @warningHeaderColor;
}

/* Error */
.ui.error.message {
  background-color: @errorBackgroundColor;
  color: @errorTextColor;
}
.ui.error.message,
.ui.attached.error.message {
  box-shadow:
    0px 0px 0px 1px @errorBorderColor inset,
    @subtleShadow
  ;
}
.ui.error.message .header {
  color: @errorHeaderColor;
}

/* Success */
.ui.success.message {
  background-color: @successBackgroundColor;
  color: @successTextColor;
}
.ui.success.message,
.ui.attached.success.message {
  box-shadow:
    0px 0px 0px 1px @successBorderColor inset,
    @subtleShadow
  ;
}
.ui.success.message .header {
  color: @successHeaderColor;
}

/* Colors */
.ui.inverted.message,
.ui.black.message {
  background-color: @black;
  color: @invertedTextColor;
}

.ui.blue.message {
  background-color: @blueBackground;
  color: @blueTextColor;
}
.ui.blue.message .header {
  color: @blueHeaderColor;
}
.ui.green.message {
  background-color: @greenBackground;
  color: @greenTextColor;
}
.ui.green.message .header {
  color: @greenHeaderColor;
}
.ui.orange.message {
  background-color: @orangeBackground;
  color: @orangeTextColor;
}
.ui.orange.message .header {
  color: @orangeHeaderColor;
}
.ui.pink.message {
  background-color: @pinkBackground;
  color: @pinkTextColor;
}
.ui.pink.message .header {
  color: @pinkHeaderColor;
}
.ui.purple.message {
  background-color: @purpleBackground;
  color: @purpleTextColor;
}
.ui.purple.message .header {
  color: @purpleHeaderColor;
}
.ui.red.message {
  background-color: @redBackground;
  color: @redTextColor;
}
.ui.red.message .header {
  color: @redHeaderColor;
}
.ui.teal.message {
  background-color: @tealBackground;
  color: @tealTextColor;
}
.ui.teal.message .header {
  color: @tealHeaderColor;
}
.ui.yellow.message {
  background-color: @yellowBackground;
  color: @yellowTextColor;
}
.ui.yellow.message .header {
  color: @yellowHeaderColor;
}

/*--------------
     Sizes
---------------*/

.ui.small.message {
  font-size: @small;
}
.ui.message {
  font-size: @medium;
}
.ui.large.message {
  font-size: @large;
}
.ui.huge.message {
  font-size: @huge;
}
.ui.massive.message {
  font-size: @massive;
}

.loadUIOverrides();


animation fix

animation fix

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/5angel/kozpost.git/'


fixed flipped width

fixed flipped width

@import "../../defaults/common.less";

.blog-entry-title {
  font-size: 2em;
  font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, Helvetica, sans-serif;
  font-weight: bold;
  margin-bottom: 35px;
}

.blog-entry-title h1 {
  display: block;
}

.blog-entry-title a:hover {
  text-decoration: none;
}

.blog-entry-date {
  float: right;
  font-size: 10px;
  color: @red_shadow;
}

.blog-entry-brief {
  margin-bottom: 45px;
}

.blog-entry-brief h1,
.blog-entry-text h1,
.blog-entry h2,
.blog-entry h3,
.blog-entry h4 {
  display: inline-block;
  margin-bottom: 10px;
  margin-top: 25px;
  font-weight: bold;
  color: @strong;
}

.blog-entry pre {
  padding: 12px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.blog-entry pre code {
  display: block;
}

.blog-entry p {
  line-height: 1.3em;
  margin-bottom: 15px;
}

.blog-entry ul {
  margin: 20px 0;
}

.blog-entry ul li {
  line-height: 1.6em;
  list-style-position:inside;
  list-style-type: disc;
  list-style-type: hiragana-iroha;
}

.blog-entry ul li:before {
  content: '';
  padding-right: 3px;
}

.blog-entry blockquote {
  .box-radius(8px);

  padding: 12px;
  margin: 25px 0 15px 0;
  background-color: @light;

  border: 1px solid @grayish;
  border-top: 2px solid @light;
  border-left: 2px solid @light;

  min-height: 24px;
}

.blog-entry blockquote:before {
  content: '{ }';
  color: @strong + #777;
  text-shadow: 0 1px @strong;
  font-size: 30px;
  font-weight: bold;

  float: left;

  position: relative;
  top: -8px;
  left: 0;
  margin-bottom: 12px;
  margin-right: 12px;
}

.blog-entry section a, #latest-posts a {
  color: @pink;
  font-weight: bold;
}

/* reset default #content styles to change how entries are visually separated */
#content.blog-entries-wrapper {
  padding: 0;
  background: inherit;
  border: none;
}

.blog-entries {
  max-width: 870px;
}

.blog-entries, .blog-sidebar {
  display: inline-block;
  vertical-align: top;
}

.blog-entries .blog-entry {
  margin-top: 45px;
  padding: 25px;
  background-color: @moderate;
  border: 1px solid @grayish;
  .box-radius(4px);
}

.blog-entries .blog-entry:first-child {
  padding: 25px;
  margin-top: 0;
}

.blog-sidebar {
  margin-left: 30px;
  width: 250px;
  height: 280px;
}

.blog-sidebar h5 {
  margin-right: 50px;
}

.blog-sidebar .flipped {
  padding-right: 30px;
}

.blog-sidebar .face {
  padding: 15px;
  background-color: @moderate;
  border: 1px solid @grayish;
}

.blog-sidebar .sidebar-flipper {
  float: right;
}

#latest-posts nav {
  font-size: 0.9em;
}

#latest-posts nav a {
  display: block;
}

.author-description {
  font-size: 0.9em;
  line-height: 1.1em;
}

#about-author .social-links {
  margin-top: 25px;
}

#about-author .social-links a {
  margin-right: 6px;
}

@import "../../defaults/common.less";

.blog-entry-title {
  font-size: 2em;
  font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, Helvetica, sans-serif;
  font-weight: bold;
  margin-bottom: 35px;
}

.blog-entry-title h1 {
  display: block;
}

.blog-entry-title a:hover {
  text-decoration: none;
}

.blog-entry-date {
  float: right;
  font-size: 10px;
  color: @red_shadow;
}

.blog-entry-brief {
  margin-bottom: 45px;
}

.blog-entry-brief h1,
.blog-entry-text h1,
.blog-entry h2,
.blog-entry h3,
.blog-entry h4 {
  display: inline-block;
  margin-bottom: 10px;
  margin-top: 25px;
  font-weight: bold;
  color: @strong;
}

.blog-entry pre {
  padding: 12px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.blog-entry pre code {
  display: block;
}

.blog-entry p {
  line-height: 1.3em;
  margin-bottom: 15px;
}

.blog-entry ul {
  margin: 20px 0;
}

.blog-entry ul li {
  line-height: 1.6em;
  list-style-position:inside;
  list-style-type: disc;
  list-style-type: hiragana-iroha;
}

.blog-entry ul li:before {
  content: '';
  padding-right: 3px;
}

.blog-entry blockquote {
  .box-radius(8px);

  padding: 12px;
  margin: 25px 0 15px 0;
  background-color: @light;

  border: 1px solid @grayish;
  border-top: 2px solid @light;
  border-left: 2px solid @light;

  min-height: 24px;
}

.blog-entry blockquote:before {
  content: '{ }';
  color: @strong + #777;
  text-shadow: 0 1px @strong;
  font-size: 30px;
  font-weight: bold;

  float: left;

  position: relative;
  top: -8px;
  left: 0;
  margin-bottom: 12px;
  margin-right: 12px;
}

.blog-entry section a, #latest-posts a {
  color: @pink;
  font-weight: bold;
}

/* reset default #content styles to change how entries are visually separated */
#content.blog-entries-wrapper {
  padding: 0;
  background: inherit;
  border: none;
}

.blog-entries {
  max-width: 870px;
}

.blog-entries, .blog-sidebar {
  display: inline-block;
  vertical-align: top;
}

.blog-entries .blog-entry {
  margin-top: 45px;
  padding: 25px;
  background-color: @moderate;
  border: 1px solid @grayish;
  .box-radius(4px);
}

.blog-entries .blog-entry:first-child {
  padding: 25px;
  margin-top: 0;
}

.blog-sidebar {
  margin-left: 30px;
  width: 250px;
  height: 280px;
}

.blog-sidebar h5 {
  margin-right: 50px;
}

.blog-sidebar .face {
  padding: 15px;
  background-color: @moderate;
  border: 1px solid @grayish;
}

.blog-sidebar .sidebar-flipper {
  float: right;
}

#latest-posts nav {
  font-size: 0.9em;
}

#latest-posts nav a {
  display: block;
}

.author-description {
  font-size: 0.9em;
  line-height: 1.1em;
}

#about-author .social-links {
  margin-top: 25px;
}

#about-author .social-links a {
  margin-right: 6px;
}


Commit on Error

Commit on Error

Commit on Error

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/vimalmenon/code-easy.net.git/'


ccn-49 updating sidebar on styelsheet

ccn-49 updating sidebar on styelsheet

.c-sidebar {
    display: none;
    @media (min-width: @screen-sm-min) {
        display: block;
        overflow-y: auto;
        height: calc(~"(100vh - @{body-padding-top})");
    }
    // overwrite bootstrap specificity
    &.nav {
        > li {
            a {
                padding-top: (@grid-gutter-width / 4);
                padding-bottom: (@grid-gutter-width / 4);
                &:hover,
                &:focus {
                    text-decoration: underline;
                    background-color: transparent;
                }
            }
        }
    }
}

.c-section {
    padding-top: @body-padding-top;
    &__header {
        margin-top: 0;
        &:extend(.page-header);
    }
    &__body {}
}

.c-sidebar {
    overflow-y: auto;
    height: calc(~"(100vh - @{body-padding-top})");
}


登录再改版

登录再改版

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/psychokiller666/heishi.git/'


removed merging

removed merging

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/Digipalvelutehdas/APIKA.git/'


Use height:auto only for inline editors to fix rendering time for large files in full editors

// Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
// and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.

/* Brackets / CodeMirror Code Formatting */

/*
 * TODO This can be removed next time we update CodeMirror2.
 * Marijn made this change to codemirror.css, but I need it now
 * in order to make font resizing work.
 */
.CodeMirror pre {
    line-height: inherit;
    padding: 0 @code-padding;
}

.CodeMirror-scroll {
    background-color: @background-color-3;
}

.platform-mac .CodeMirror {
    .code-font-mac();
}

.platform-win .CodeMirror {
    .code-font-win();
}

@code-padding: 1.2em;

.cm-s-default {
    .CodeMirror-cursor {
        .code-cursor();
    }

    span.cm-keyword {color: @accent-keyword;}
    span.cm-atom {color: @accent-atom;}
    span.cm-number {color: @accent-number;}
    span.cm-def {color: @accent-def;}
    span.cm-variable {color: @accent-variable;}
    span.cm-variable-2 {color: @accent-variable-2;}
    span.cm-variable-3 {color: @accent-variable-3;}
    span.cm-property {color: @accent-property;}
    span.cm-operator {color: @accent-operator;}
    span.cm-comment {color: @accent-comment;}
    span.cm-string {color: @accent-string;}
    span.cm-string-2 {color: @accent-string-2;}
    span.cm-meta {color: @accent-meta;}
    span.cm-error {color: @accent-error;}
    span.cm-qualifier {color: @accent-qualifier;}
    span.cm-builtin {color: @accent-builtin;}
    span.cm-bracket {color: @accent-bracket;}
    span.cm-tag {color: @accent-tag;}
    span.cm-attribute {color: @accent-attribute;}
    span.cm-header {color: @accent-header;}
    span.cm-quote {color: @accent-quote;}
    span.cm-hr {color: @accent-hr;}
    span.cm-link {color: @accent-link;}
    span.cm-rangeinfo {color: @accent-rangeinfo;}
    span.cm-minus {color: @accent-minus;}
    span.cm-plus {color: @accent-plus;}

    span.CodeMirror-matchingbracket {color: @accent-bracket !important; background-color: @background-color-2;}
    span.CodeMirror-nonmatchingbracket {color: @accent-bracket !important;}

    .CodeMirror-lines {
        padding: @code-padding 0;
    }
    .CodeMirror-gutters {
        background-color: @background-color-3;
        border-right: none;
        padding-top: @code-padding;
        padding-bottom: @code-padding;
        min-width: 2.5em;
    }
    .CodeMirror-linenumber {
        color: @accent-comment;
        min-width: 2.5em;
        /*font-size: 0.9em;*/  /* restore after SourceCodePro font fix? */
        padding-top: 0px;
        padding-bottom: 0px;
    }
}

/*
    CodeMirror's use of descendant selectors for certain styling causes problems when editors are
    nested because, for items in the inner editor, the left-hand clause in the selector will now
    match either the actual containing CodeMirror instance *OR* the outer "host" CodeMirror instance.

    TODO (issue #324): We'll still have problems if editors can be nested more than one level deep,
    or if any other descendant-selector-driven CM styles can differ between inner & outer editors
    (potential problem areas include line wrap and coloring theme: basically, anything in codemirror.css
    that uses a descandant selector where the CSS class name to the left of the space is something
    other than a vanilla .CodeMirror)
 */
.CodeMirror {
    .CodeMirror {
        /* remove CodeMirror default height: 300px */
        height: auto;
    }

    .CodeMirror pre.CodeMirror-cursor {
        visibility: hidden;
    }
    .CodeMirror .CodeMirror-focused pre.CodeMirror-cursor {
        visibility: visible;
    }

    .CodeMirror div.CodeMirror-selected {
        background: #d9d9d9;
    }
    .CodeMirror .CodeMirror-focused div.CodeMirror-selected {
        background: #d2dcf8;
    }
    .CodeMirror .CodeMirror-gutters {
        background: transparent;
        border-right: none;
    }

    .CodeMirror-scroll {
        outline: none;
    }
}

/*
 * Temporarily override bold and italic syntax highlighting until
 * SourceCodePro supports them in a fixed pitch
 */
span.cm-em {
    font-style: normal;
}
span.cm-header, span.cm-strong {
    font-weight: normal;
}
span.cm-emstrong {
    font-style: normal;
    font-weight: normal;
}

// Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
// and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.

/* Brackets / CodeMirror Code Formatting */

.CodeMirror {
    /* remove CodeMirror default height: 300px */
    height: auto;
}

/*
 * TODO This can be removed next time we update CodeMirror2.
 * Marijn made this change to codemirror.css, but I need it now
 * in order to make font resizing work.
 */
.CodeMirror pre {
    line-height: inherit;
    padding: 0 @code-padding;
}

.CodeMirror-scroll {
    background-color: @background-color-3;
}

.platform-mac .CodeMirror {
    .code-font-mac();
}

.platform-win .CodeMirror {
    .code-font-win();
}

@code-padding: 1.2em;

.cm-s-default {
    .CodeMirror-cursor {
        .code-cursor();
    }

    span.cm-keyword {color: @accent-keyword;}
    span.cm-atom {color: @accent-atom;}
    span.cm-number {color: @accent-number;}
    span.cm-def {color: @accent-def;}
    span.cm-variable {color: @accent-variable;}
    span.cm-variable-2 {color: @accent-variable-2;}
    span.cm-variable-3 {color: @accent-variable-3;}
    span.cm-property {color: @accent-property;}
    span.cm-operator {color: @accent-operator;}
    span.cm-comment {color: @accent-comment;}
    span.cm-string {color: @accent-string;}
    span.cm-string-2 {color: @accent-string-2;}
    span.cm-meta {color: @accent-meta;}
    span.cm-error {color: @accent-error;}
    span.cm-qualifier {color: @accent-qualifier;}
    span.cm-builtin {color: @accent-builtin;}
    span.cm-bracket {color: @accent-bracket;}
    span.cm-tag {color: @accent-tag;}
    span.cm-attribute {color: @accent-attribute;}
    span.cm-header {color: @accent-header;}
    span.cm-quote {color: @accent-quote;}
    span.cm-hr {color: @accent-hr;}
    span.cm-link {color: @accent-link;}
    span.cm-rangeinfo {color: @accent-rangeinfo;}
    span.cm-minus {color: @accent-minus;}
    span.cm-plus {color: @accent-plus;}

    span.CodeMirror-matchingbracket {color: @accent-bracket !important; background-color: @background-color-2;}
    span.CodeMirror-nonmatchingbracket {color: @accent-bracket !important;}

    .CodeMirror-lines {
        padding: @code-padding 0;
    }
    .CodeMirror-gutters {
        background-color: @background-color-3;
        border-right: none;
        padding-top: @code-padding;
        padding-bottom: @code-padding;
        min-width: 2.5em;
    }
    .CodeMirror-linenumber {
        color: @accent-comment;
        min-width: 2.5em;
        /*font-size: 0.9em;*/  /* restore after SourceCodePro font fix? */
        padding-top: 0px;
        padding-bottom: 0px;
    }
}

/*
    CodeMirror's use of descendant selectors for certain styling causes problems when editors are
    nested because, for items in the inner editor, the left-hand clause in the selector will now
    match either the actual containing CodeMirror instance *OR* the outer "host" CodeMirror instance.

    TODO (issue #324): We'll still have problems if editors can be nested more than one level deep,
    or if any other descendant-selector-driven CM styles can differ between inner & outer editors
    (potential problem areas include line wrap and coloring theme: basically, anything in codemirror.css
    that uses a descandant selector where the CSS class name to the left of the space is something
    other than a vanilla .CodeMirror)
 */
.CodeMirror {
    .CodeMirror pre.CodeMirror-cursor {
        visibility: hidden;
    }
    .CodeMirror .CodeMirror-focused pre.CodeMirror-cursor {
        visibility: visible;
    }

    .CodeMirror div.CodeMirror-selected {
        background: #d9d9d9;
    }
    .CodeMirror .CodeMirror-focused div.CodeMirror-selected {
        background: #d2dcf8;
    }
    .CodeMirror .CodeMirror-gutters {
        background: transparent;
        border-right: none;
    }

    .CodeMirror-scroll {
        outline: none;
    }
}

/*
 * Temporarily override bold and italic syntax highlighting until
 * SourceCodePro supports them in a fixed pitch
 */
span.cm-em {
    font-style: normal;
}
span.cm-header, span.cm-strong {
    font-weight: normal;
}
span.cm-emstrong {
    font-style: normal;
    font-weight: normal;
}


pxs to ems

pxs to ems


Fixing less variables

Fixing less variables

Fixing less variables by declaring in less files directly

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/Livefyre/livefyre-bootstrap.git/'


MR - hide copy button when using an old version of IE that is incompatible with the js copy library

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/yupiq/test-percent-credit-theme.git/'


add login.less file

add login.less file

error: pathspec 'assets/less/login.less' did not match any file(s) known to git


added li.top and li.bottom subclasses

added li.top and li.bottom subclasses

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/dedalozzo/pit-bootstrap.git/'


fix(process): styles for 1-4 and 3-4 columns

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/Scotchester/owning-a-home.git/'


Added style support for Flatland Dark UI Theme

fatal: unable to access 'https://github.com/cakecatz/toolbar.git/': The requested URL returned error: 403


Fix markdown description style

Fix markdown description style

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/Atvaark/insomnia.git/'


Increase map width on bigger sizes

Increase map width on bigger sizes

@import './variables.less';

.sparkassen-map {
  height: 100%;
  padding: @base-padding;
  position: relative;
  display: block;
  font-family: @body-font;
  color: @black;
  overflow: hidden;

  *, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  p {
    font-size: @font-size-base;
  }

  &__legend {
    position: absolute;
    top: (@base-padding + 50px);
    right: @base-padding;
    background-color: @white;
    color: black;

    ul {
      list-style: none;
      margin: 0;
      padding: 0;

      li {
        display: inline;
        padding: 3px;
        font-feature-settings: 'tnum';
        font-family: sans-serif;
        font-size: 10px;
      }
    }
  }

  .svgcontainer {
    margin: 40px 0;
    margin-top: 50px;
    display: block;
    width: 100%;
    overflow: hidden;

    @media (min-width: 768px) {
      width: 55%;
      float: right;
    }

    @media (min-width: 992px) {
      width: 60%;
      float: right;
    }
  }

  &__svg {
    display: block;

    @media (min-width: 768px) {
      float: right;
      width: 90%;
      height: 90%;
    }

    path {
      fill: @beige-lighter;
      stroke: @black;
      stroke-width: .5;

      &.-hilighted {
        stroke-width: 2;
        stroke: @white;
      }
    }
  }

  &__infobox {
    display: block;
    position: relative;
    border: 1px solid @gray-light;
    background: @white;
    padding: @base-padding;
    margin: 0;
    margin-top: 50px;

    @media (min-width: 768px) {
      width: 45%;
      float: left;
    }

    @media (min-width: 992px) {
      width: 40%;
      float: left;
    }
  }

  &__layerinfo {

    small {
      color: @gray-dark;
      font-size: @font-size-small;
      font-style: italic;
    }
  }

  &__path-selector {

    select {
      width: 100%;
      background: @white;
      font-size: @font-size-large;

      option {
        padding-left: 0;
        margin-left: 0;
      }
    }
  }

  &__path-searchbox {

    input {
      width: 200px;
    }

    p.-help {
      font-size: @font-size-small;
      font-style: italic;
    }
  }

  &__result-list {
    width: 100%;
    margin: @base-padding/2 0;
    padding: 0;
    border: 1px solid @gray-light;

    li {
      list-style: none;
      padding: @base-padding/2 @base-padding;

      &:hover {
        background-color: @gray-lighter;
        cursor: pointer;
      }
    }
  }

  &__data {
    margin-bottom: @base-padding;
  }

  &__data-listing {
    margin: 10px;
    padding: 0;
    display: block;
    overflow: hidden;
    width: 100%;

    &.-hidden {
      display: none;
    }

    dt {
      display: inline-block;
      width: 25%;
      padding: 3px;
      margin: 0;
      text-align: right;
    }

    dd {
      display: inline-block;
      width: 70%;
      padding: 3px;
      margin: 0;
    }

    strong {
      color: @red;
    }
  }

  &__layer-switcher {
    position: absolute;
    top: 0;
    right: 0;
    height: 50px;
    margin-bottom: 50px;
    width: 100%;
    background-color: @beige;

    button {
      padding: 10px;
      height: 50px;
      background-color: @beige-lighter;
      border: 0;
      font-weight: bold;
      color: @white;

      &.active, &.active:hover {
        background-color: @purple;
      }

      &:hover {
        background-color: @beige-light;
      }
    }
  }

}

@import './variables.less';

.sparkassen-map {
  height: 100%;
  padding: @base-padding;
  position: relative;
  display: block;
  font-family: @body-font;
  color: @black;
  overflow: hidden;

  *, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  p {
    font-size: @font-size-base;
  }

  &__legend {
    position: absolute;
    top: (@base-padding + 50px);
    right: @base-padding;
    background-color: @white;
    color: black;

    ul {
      list-style: none;
      margin: 0;
      padding: 0;

      li {
        display: inline;
        padding: 3px;
        font-feature-settings: 'tnum';
        font-family: sans-serif;
        font-size: 10px;
      }
    }
  }

  .svgcontainer {
    margin: 40px 0;
    margin-top: 50px;
    display: block;
    width: 100%;
    overflow: hidden;

    @media (min-width: 768px) {
      width: 40%;
      float: right;
    }

    @media (min-width: 992px) {
      width: 50%;
      float: right;
    }
  }

  &__svg {
    display: block;

    @media (min-width: 768px) {
      float: right;
      width: 90%;
      height: 90%;
    }

    path {
      fill: @beige-lighter;
      stroke: @black;
      stroke-width: .5;

      &.-hilighted {
        stroke-width: 2;
        stroke: @white;
      }
    }
  }

  &__infobox {
    display: block;
    position: relative;
    border: 1px solid @gray-light;
    background: @white;
    padding: @base-padding;
    margin: 0;
    margin-top: 50px;

    @media (min-width: 768px) {
      width: 60%;
      float: left;
    }

    @media (min-width: 992px) {
      width: 50%;
      float: left;
    }
  }

  &__layerinfo {

    small {
      color: @gray-dark;
      font-size: @font-size-small;
      font-style: italic;
    }
  }

  &__path-selector {

    select {
      width: 100%;
      background: @white;
      font-size: @font-size-large;

      option {
        padding-left: 0;
        margin-left: 0;
      }
    }
  }

  &__path-searchbox {

    input {
      width: 200px;
    }

    p.-help {
      font-size: @font-size-small;
      font-style: italic;
    }
  }

  &__result-list {
    width: 100%;
    margin: @base-padding/2 0;
    padding: 0;
    border: 1px solid @gray-light;

    li {
      list-style: none;
      padding: @base-padding/2 @base-padding;

      &:hover {
        background-color: @gray-lighter;
        cursor: pointer;
      }
    }
  }

  &__data {
    margin-bottom: @base-padding;
  }

  &__data-listing {
    margin: 10px;
    padding: 0;
    display: block;
    overflow: hidden;
    width: 100%;

    &.-hidden {
      display: none;
    }

    dt {
      display: inline-block;
      width: 25%;
      padding: 3px;
      margin: 0;
      text-align: right;
    }

    dd {
      display: inline-block;
      width: 70%;
      padding: 3px;
      margin: 0;
    }

    strong {
      color: @red;
    }
  }

  &__layer-switcher {
    position: absolute;
    top: 0;
    right: 0;
    height: 50px;
    margin-bottom: 50px;
    width: 100%;
    background-color: @beige;

    button {
      padding: 10px;
      height: 50px;
      background-color: @beige-lighter;
      border: 0;
      font-weight: bold;
      color: @white;

      &.active, &.active:hover {
        background-color: @purple;
      }

      &:hover {
        background-color: @beige-light;
      }
    }
  }

}


Create rtl.less

Create rtl.less

error: pathspec 'assets/styles/rtl.less' did not match any file(s) known to git


Add Bootstrap @import to main.less

Add Bootstrap @import to main.less

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/greenie2600/angular-spa-scaffold.git/'


Fix overflowing of the tabs II

Fix overflowing of the tabs II

fatal: unable to access 'https://github.com/t9md/atom.git/': The requested URL returned error: 403


Remove scroll-view offset

Remove scroll-view offset

It is overridden by something in js

fatal: unable to access 'https://github.com/dsandstrom/atom.git/': The requested URL returned error: 403


Atom stylesheet update for 1.0

Atom stylesheet update for 1.0

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/sduddikunta/dotfiles.git/'


Checklist last-child margin bottom

Checklist last-child margin bottom

fatal: unable to access 'https://github.com/putterschool/styleguide.git/': The requested URL returned error: 403


Moved header background image position

Moved header background image position

fatal: unable to access 'https://github.com/jacobwgillespie/jk-messages.git/': The requested URL returned error: 403


Added the common style sheet for the admin

/*------------------------------------------------------------------------------
    File: src/less/admin/common.less
 Project: MUN Computer Science Society Website
 Version: 0.1.0
      By: Tim Oram
 Website: http://society.cs.mun.ca
   Email: muncssociety@gmail.com
------------------------------------------------------------------------------*/

/* Notimoo */
.notimoo {

    /* Don't touch here */
    position: absolute;
    z-index: 999; /* There are some cases where you'll need to change this if you're currently using a greater one in your project*/
    cursor: pointer;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;

    /* Change this to fit your needs*/
    padding:3px;
    border: 2px;
    border-style: solid;
    border-color: #929292;
    background: #000;
    color: #FFFFFF;

	.title {
		display:block;
	    font-weight: bold;
	    border-bottom: 1px solid;
	}

	.message {
		margin: 5px 0;
	}

	a {
		color: #FFFFFF;
	}
}

.notimoo_error {
    border-color: #920000;
    background: #000;
    color: #FFFFFF;

    .title {
	    border-bottom: 0px solid;
	}
	.message {
		text-align:center;
	}
}

.notimoo_success {
    border-color: #009200;
    background: #000;
    color: #FFFFFF;

    .title {
	    border-bottom: 0px solid;
	}
	.message {
		text-align:center;
	}
}

.notimoo_message {
    .title {
	    border-bottom: 0px solid;
	}
	.message {
		text-align:center;
	}
}

/* Form Check */
.fc-tbx{
	.tl{
		background: url('../../images/mootools/formcheck/tl.png') no-repeat;
	}
	.t{
	background: url('../../images/mootools/formcheck/t.png') repeat-x;
	height: 16px;
	}
	.tr{
		background: url('../../images/mootools/formcheck/tr.png') no-repeat;
	}
	.l{
		background: url('../../images/mootools/formcheck/l.png') repeat-y;
		width : 16px;
	}
	.r{
		background: url('../../images/mootools/formcheck/r.png') repeat-y;
		width: 16px;
	}
	.bl{
		background: url('../../images/mootools/formcheck/bl.png') no-repeat;
	}
	.b{
		background: url('../../images/mootools/formcheck/b.png') no-repeat;
		height: 25px;
	}
	.br{
		background: url('../../images/mootools/formcheck/br.png') no-repeat;
	}
	.c{
		background: url('../../images/mootools/formcheck/c.png') repeat;
	}
	a.close {
		float: right;
		background: url('../../images/mootools/formcheck/close.png') no-repeat;
		position: relative;
		margin-left: 5px;
		display: block;
		width: 10px;
		height: 10px;
		cursor: pointer;
	}
	.err {
		float: left;
	}
	p {
		width : auto;
		display: block;
		font-size: 10px;
		font-family: tahoma, verdana, "sans-serif";
		margin : 0;
		padding : 0;
		border : 0;
		color : #FFF;
	}

	.ajax_loader {
		background : url('../../images/mootools/formcheck/ajax-loader.gif') no-repeat center;
		width : 200px;
		height : 150px;
	}
}

/* FormCheck validation div */

.fc-error {
	border : 1px solid #888;
	margin-top : 5px;
	background-color : #EAEAEA;

	p {
		margin : 5px;
		color : #A00;
	}
}

error: pathspec 'src/less/admin/common.less' did not match any file(s) known to git


Removed top border from #footer

Removed top border from #footer

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/billpull/DoLoCo.git/'


feat(style): dynamic text color for `code` and `pre`

// Global variables
@base-font-size: 2vw;
@base-line-height: (20 / 14); // ~ 1.428571429
@link-color: #a212d1;
@background-color: #fff;
@text-color: #000;
@code-color: spin(@link-color, 180);
@sans-serif: "Helvetica Neue", Arial, "Hiragino Sans GB", sans-serif;
@serif: Georgia, "Hiragino Mincho ProN", serif;
@monospace: Menlo, monospace;

// Invert color switcher for images and videos
// :root { filter: invert(100%); }

// http://nicolasgallagher.com/micro-clearfix-hack/
.cf {

  &:before, &:after {
    display: table;
    content: "";
  }

  &:after {
    clear: both;
  }
}

// Basic reset
*,
*:before,
*:after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  padding: 0 16%;
  margin: 0 auto 0;
  font-family: @sans-serif;
  font-size: @base-font-size;
  line-height: @base-line-height;
  color: @text-color;
  text-rendering: optimizelegibility;
  background: @background-color;
  image-rendering: optimizequality;

  // A semitranslucent bar at the top of the page
  &:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -9999;
    width: 100%;
    height: 1vmax;
    pointer-events: none;
    background: @link-color;
    content: "";
    opacity: .2;
  }
}

// Essential mixins
.heading {
  font-family: @sans-serif;
  font-size: 330%;
  -webkit-font-smoothing: antialiased;
  font-weight: bold;
  letter-spacing: -.06em;
}

.sub-heading {
  font-family: @sans-serif;
  font-size: 72%;
  font-weight: normal;
  letter-spacing: .08em;
  opacity: .5;
}

// Reset fonts for relevant elements
input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

// Reset unusual Firefox-on-Android default style.
// See https://github.com/necolas/normalize.css/issues/214
button,
input,
select[multiple],
textarea {
  background-image: none;
}

// Reset common elements
a, button {
  color: @text-color;
  text-decoration: none;
  transition: color .5s ease, border-color .5s ease, background .5s ease, opacity 1.5s ease;

  &:hover,
  &:focus {
    border-bottom: .1em solid;
    transition: color .1s ease, border-color .1s ease, background .1s ease, opacity .1s ease;
  }
}

img, hr {
  border: 0;
}

del {
  text-decoration: line-through;
}

::selection {
  color: @link-color;
  background: fade(@text-color, 2%);
}

// Site logo
.logo {
  display: block;
  width: 100%;
  height: 1vmax;
  margin: 0 0 1.4vmax;
  background: @link-color;
  opacity: 0;

  &:hover,
  &:focus {
    border-bottom: none !important;
    background: @text-color;
  }

  h1 {
    height: 0;
    text-indent: -99999em;
  }
}

body:hover .logo {
  opacity: 1 !important;
}

// Main navigation
.navigation {
  margin: 0 0 16vmin;
  margin-right: -1.1em;
  margin-left: -1.1em;
  font-size: 50%;
  font-weight: bold;
  letter-spacing: .45em;
  text-transform: uppercase;

  li {
    display: inline-block;
    line-height: 2;
    list-style: none;

    a {
      padding: .5em 1.2em;

      &:hover,
      &:focus {
        color: @link-color;
        border: none;
      }
    }
  }
}

// Currently activated page or category class
.current {

  a {
    color: @link-color;
  }
}

// Latest work link
body:hover .latest {
  color: @link-color !important;
}

// Pserson status
.content .status {
  margin: 1vmin 0 0;
  font-size: 75%;
  font-weight: bold;

  &:before {
    @size: .8em;
    display: inline-block;
    width: @size;
    height: @size;
    margin-right: .8vw;
    background: fade(@text-color, 20%);
    border-radius: 50%;
    content: "";
  }

  &.available {

    &:before {
      background: #0cf;
    }

    a {
      color: #0cf;
    }
  }

  &.unavailable {

    &:before {
      background: #f30;
    }

    a {
      color: #f30;
    }
  }
}

// Main content
.content {
  margin-bottom: 16vmin;
  hyphens: auto;
  // For some specified posts in work category
  .cf;

  // Remove extra space for the last paragraph in the container
  article {

    // article > p
    > *:last-child {
      margin-bottom: 0 !important;

      // article > ul > li, article > .footnotes > ol
      > *:last-child {
        margin-bottom: 0 !important;

        // article > ul > li > p, article > .footnotes > ol > li
        > *:last-child {
          margin-bottom: 0 !important;

          // article > .footnotes > ol > li > p
          > *:last-child {
            margin-bottom: 0 !important;
          }
        }
      }
    }
  }

  a {
    font-weight: bold;
  }

  p {
    margin: 0 0 1.1em;
    line-height: (@base-line-height * 1.2);
  }

  header {
    padding-bottom: 16vmin;

    h2 {
      margin: 0 0 .1em;
      .heading;
      hyphens: none;
      line-height: 1.1;

      svg {
        display: block;
        max-width: 100%;
      }

      // Override margin from article img
      svg,
      img {
        margin-bottom: .3em;
      }
    }

    .latest-post {
      margin-top: 16vmin;
      font-size: 80%;
      font-weight: normal;
      line-height: 1.2;

      a {
        font-weight: bold;
      }
    }

    small {
      display: block;
      margin: 2vmin 0 0;
      letter-spacing: .1em;
    }

    // Used on work page
    & + * {
      margin-top: 0 !important;
    }
  }

  h3, h4, h5, h6 {
    margin: 10vmin 0 1rem;
    .sub-heading;
  }

  ul, ol {
    margin: 0 0 1em 1.5em;

    li {
      line-height: (@base-line-height * 1.2);

      > ul {
        margin-bottom: 0;
      }
    }
  }

  ol {
    margin-left: 1.75em;
  }

  img, video, iframe {
    display: block;
    max-width: 100%;
    margin: 0 0 4vmin;
  }

  blockquote {
    position: relative;
    margin-bottom: 2em;

    > p {
      padding-left: .8em;
      border-left: 2px solid;
    }

    footer {
      .cf;
    }

    cite {
      float: right;
      font-size: 90%;
      font-style: normal;

      &:before {
        // http://www.fileformat.info/info/unicode/char/2500/index.htm
        content: "\2500\2500\00a0"
      }
    }
  }

  sup {
    font-size: 75%;
  }

  abbr:after {
    content: " (" attr(title) ")";
  }

  code, pre {
    font-family: @monospace;
    color: @code-color;
  }

  pre {
    padding: 1em;
    margin: 0 0 1em;
    overflow-x: scroll;
    font-size: 90%;
    line-height: (@base-line-height * 1.2);
    background: fade(#08f, 4%);
  }

  // Newsletter subscription form in page "store"
  form {

    input {
      display: block;
      width: 100%;
      padding: 1vmin 0;
      margin: 0 0 1vmin;
      border: none;
      border-bottom: 1px solid fade(@text-color, 20%);
      // Remove border-radius for iOS devices
      border-radius: 0;
      outline: none;
      transition: padding .2s ease;
      // Remove iOS pre-defined style
      -webkit-appearance: none;

      &:focus {
        padding: 1vmin;
        background: fade(@text-color, 2%);
        border-color: @text-color;
      }
    }
  }

  // Rest form validation styles, borrowed from Bootstrap
  input, textarea, select {

    &:focus:required:invalid {

      &:focus {
        background: fade(@link-color, 5%);
        border-color: @link-color;
        // Override Firefox default styles
        box-shadow: none;
      }
    }
  }

  table {
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 90%;
    width: 100%;

    th,
    td {
      padding: .6em;
    }

    th {
      border-bottom: 2px solid fade(@text-color, 6%);
      text-align: left;
    }

    td {
      border-top: 1px solid fade(@text-color, 4%);
    }
  }
}

// Posts with Asian characters
[lang=zh],
[lang=ja] {
  text-align: justify;
}

// Fix empty space when a paragraph starts with some asian punctuation marks
.margin-fix:first-letter {
  margin-left: -.6em;
}

// Tweet button margin fix
.tweet {
  margin-top: 10vmin;
}

// Largetype styles (replaces button styles)
.largetype {
  .heading;
  font-size: 200%;
}

// Broser frame for images in category "work"
.browser {
  position: relative;
  padding-top: 24px;
  margin: 0 0 4vmin !important;
  background: rgba(255, 255, 255, .1);
  border-radius: 5px 5px 0 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05);

  &:before {
    position: absolute;
    top: 8px;
    left: 10px;
    display: block;
    width: 8px;
    height: 8px;
    background: lighten(#f24e59, 30%);
    border-radius: 50%;
    content: "";
    box-shadow:
        16px 0 0 0   fade(lighten(#fac536, 30%), 96%)
      , 32px 0 0 0   fade(lighten(#26e93d, 30%), 96%)
      ,  0px 0 0 1px fade(darken(#f24e59, 30%), 30%)
      , 16px 0 0 1px fade(darken(#fac536, 30%), 30%)
      , 32px 0 0 1px fade(darken(#26e93d, 30%), 30%)
    ;
  }

  img {
    margin: 0;
    box-shadow: 0 -1px 0 0 rgba(0, 0, 0, .05);
  }
}

// Special paragraph with border line
.note,
.store,
.download {
  padding-left: .8em;
  border-left: 2px solid @link-color;
}

// Reference notes and links in post
.footnotes {
  font-size: 90%;
  font-style: italic;
}

:target {

  [rev=footnote],
  [rel=footnote] {
    color: @link-color;
  }
}

// Post list in "work" and "note"
article .list {
  list-style: none;
  margin: 0;

  > li {
    margin: 0 0 1.4vmin;

    h2 {
      .heading;
      font-size: 200%;
      line-height: 1.2;
    }
  }

  .external {

    &:hover,
    &:focus {
      border: none;
    }
  }
}

.external {
  line-height: 1;

  span {
    display: inline-block;
    width: .2em;
    height: .2em;
    margin: 0 .1em;
    vertical-align: middle;
    background: @text-color;
    border-radius: 50%;
    transition: transform .4s ease;
  }

  &:hover,
  &:focus {

    span {
      transform: scale(1.4);
    }
  }
}

.footer {
  padding: 0 0 16vmin;
  font-size: 72%;
  text-transform: lowercase;

  ul {

    li {
      display: inline;

      &:after {
        padding: 0 .6vw;
        content: " / ";
        opacity: .3;
      }

      &:last-child {

        &:after {
          content: none;
        }
      }
    }
  }
}

// Plugn-Ins
.loaded {

  .intense-wrap {

    article p > img:not(.nointense) {
      cursor: zoom-in;
    }
  }

  &.intense-open {
    cursor: zoom-out;
  }
}

// GitHub Gist reset
.gist {

  code, pre {
    padding: 0;
    color: inherit;
    background-color: transparent;
  }

  .gist-file {
    font-family: @monospace !important;
    font-size: 80% !important;
  }

  .markdown-body {
    padding: 1em;
  }
}

// Media query stack
@media (max-width: 1000px) {

  body {
    padding-left: 8%;
    padding-right: 8%;
    font-size: (@base-font-size * 1.4);
  }
}

@media (max-width: 640px) {

  body {
    padding-left: 4%;
    padding-right: 4%;
    font-size: (@base-font-size * 2);
  }

  // Override viewport units defined in post.html
  article h2 svg,
  article h2 img {
    width: 100% !important;
    height: 100% !important;
  }

  // Hide external link for post list
  .list li h2 .external {
    display: none;
  }
}

@media (max-width: 400px) {

  body {
    font-size: (@base-font-size * 2.8);
  }
}

// All iOS devices, the easiest way
@media (max-device-width: 480px), (max-device-width: 1024px) {

  // Avoid font-size smart alec
  body {
    -webkit-text-size-adjust: none;
  }
}

// Import custom styles
@import "syntax";
@import "custom";

// Global variables
@base-font-size: 2vw;
@base-line-height: (20 / 14); // ~ 1.428571429
@link-color: #a212d1;
@background-color: #fff;
@text-color: #000;
@sans-serif: "Helvetica Neue", Arial, "Hiragino Sans GB", sans-serif;
@serif: Georgia, "Hiragino Mincho ProN", serif;
@monospace: Menlo, monospace;

// Invert color switcher for images and videos
// :root { filter: invert(100%); }

// http://nicolasgallagher.com/micro-clearfix-hack/
.cf {

  &:before, &:after {
    display: table;
    content: "";
  }

  &:after {
    clear: both;
  }
}

// Basic reset
*,
*:before,
*:after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  padding: 0 16%;
  margin: 0 auto 0;
  font-family: @sans-serif;
  font-size: @base-font-size;
  line-height: @base-line-height;
  color: @text-color;
  text-rendering: optimizelegibility;
  background: @background-color;
  image-rendering: optimizequality;

  // A semitranslucent bar at the top of the page
  &:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -9999;
    width: 100%;
    height: 1vmax;
    pointer-events: none;
    background: @link-color;
    content: "";
    opacity: .2;
  }
}

// Essential mixins
.heading {
  font-family: @sans-serif;
  font-size: 330%;
  -webkit-font-smoothing: antialiased;
  font-weight: bold;
  letter-spacing: -.06em;
}

.sub-heading {
  font-family: @sans-serif;
  font-size: 72%;
  font-weight: normal;
  letter-spacing: .08em;
  opacity: .5;
}

// Reset fonts for relevant elements
input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

// Reset unusual Firefox-on-Android default style.
// See https://github.com/necolas/normalize.css/issues/214
button,
input,
select[multiple],
textarea {
  background-image: none;
}

// Reset common elements
a, button {
  color: @text-color;
  text-decoration: none;
  transition: color .5s ease, border-color .5s ease, background .5s ease, opacity 1.5s ease;

  &:hover,
  &:focus {
    border-bottom: .1em solid;
    transition: color .1s ease, border-color .1s ease, background .1s ease, opacity .1s ease;
  }
}

img, hr {
  border: 0;
}

del {
  text-decoration: line-through;
}

::selection {
  color: @link-color;
  background: fade(@text-color, 2%);
}

// Site logo
.logo {
  display: block;
  width: 100%;
  height: 1vmax;
  margin: 0 0 1.4vmax;
  background: @link-color;
  opacity: 0;

  &:hover,
  &:focus {
    border-bottom: none !important;
    background: @text-color;
  }

  h1 {
    height: 0;
    text-indent: -99999em;
  }
}

body:hover .logo {
  opacity: 1 !important;
}

// Main navigation
.navigation {
  margin: 0 0 16vmin;
  margin-right: -1.1em;
  margin-left: -1.1em;
  font-size: 50%;
  font-weight: bold;
  letter-spacing: .45em;
  text-transform: uppercase;

  li {
    display: inline-block;
    line-height: 2;
    list-style: none;

    a {
      padding: .5em 1.2em;

      &:hover,
      &:focus {
        color: @link-color;
        border: none;
      }
    }
  }
}

// Currently activated page or category class
.current {

  a {
    color: @link-color;
  }
}

// Latest work link
body:hover .latest {
  color: @link-color !important;
}

// Pserson status
.content .status {
  margin: 1vmin 0 0;
  font-size: 75%;
  font-weight: bold;

  &:before {
    @size: .8em;
    display: inline-block;
    width: @size;
    height: @size;
    margin-right: .8vw;
    background: fade(@text-color, 20%);
    border-radius: 50%;
    content: "";
  }

  &.available {

    &:before {
      background: #0cf;
    }

    a {
      color: #0cf;
    }
  }

  &.unavailable {

    &:before {
      background: #f30;
    }

    a {
      color: #f30;
    }
  }
}

// Main content
.content {
  margin-bottom: 16vmin;
  hyphens: auto;
  // For some specified posts in work category
  .cf;

  // Remove extra space for the last paragraph in the container
  article {

    // article > p
    > *:last-child {
      margin-bottom: 0 !important;

      // article > ul > li, article > .footnotes > ol
      > *:last-child {
        margin-bottom: 0 !important;

        // article > ul > li > p, article > .footnotes > ol > li
        > *:last-child {
          margin-bottom: 0 !important;

          // article > .footnotes > ol > li > p
          > *:last-child {
            margin-bottom: 0 !important;
          }
        }
      }
    }
  }

  a {
    font-weight: bold;
  }

  p {
    margin: 0 0 1.1em;
    line-height: (@base-line-height * 1.2);
  }

  header {
    padding-bottom: 16vmin;

    h2 {
      margin: 0 0 .1em;
      .heading;
      hyphens: none;
      line-height: 1.1;

      svg {
        display: block;
        max-width: 100%;
      }

      // Override margin from article img
      svg,
      img {
        margin-bottom: .3em;
      }
    }

    .latest-post {
      margin-top: 16vmin;
      font-size: 80%;
      font-weight: normal;
      line-height: 1.2;

      a {
        font-weight: bold;
      }
    }

    small {
      display: block;
      margin: 2vmin 0 0;
      letter-spacing: .1em;
    }

    // Used on work page
    & + * {
      margin-top: 0 !important;
    }
  }

  h3, h4, h5, h6 {
    margin: 10vmin 0 1rem;
    .sub-heading;
  }

  ul, ol {
    margin: 0 0 1em 1.5em;

    li {
      line-height: (@base-line-height * 1.2);

      > ul {
        margin-bottom: 0;
      }
    }
  }

  ol {
    margin-left: 1.75em;
  }

  img, video, iframe {
    display: block;
    max-width: 100%;
    margin: 0 0 4vmin;
  }

  blockquote {
    position: relative;
    margin-bottom: 2em;

    > p {
      padding-left: .8em;
      border-left: 2px solid;
    }

    footer {
      .cf;
    }

    cite {
      float: right;
      font-size: 90%;
      font-style: normal;

      &:before {
        // http://www.fileformat.info/info/unicode/char/2500/index.htm
        content: "\2500\2500\00a0"
      }
    }
  }

  sup {
    font-size: 75%;
  }

  abbr:after {
    content: " (" attr(title) ")";
  }

  code, pre {
    font-family: @monospace;
    color: #68a;
  }

  pre {
    padding: 1em;
    margin: 0 0 1em;
    overflow-x: scroll;
    font-size: 90%;
    line-height: (@base-line-height * 1.2);
    background: fade(#08f, 4%);
  }

  // Newsletter subscription form in page "store"
  form {

    input {
      display: block;
      width: 100%;
      padding: 1vmin 0;
      margin: 0 0 1vmin;
      border: none;
      border-bottom: 1px solid fade(@text-color, 20%);
      // Remove border-radius for iOS devices
      border-radius: 0;
      outline: none;
      transition: padding .2s ease;
      // Remove iOS pre-defined style
      -webkit-appearance: none;

      &:focus {
        padding: 1vmin;
        background: fade(@text-color, 2%);
        border-color: @text-color;
      }
    }
  }

  // Rest form validation styles, borrowed from Bootstrap
  input, textarea, select {

    &:focus:required:invalid {

      &:focus {
        background: fade(@link-color, 5%);
        border-color: @link-color;
        // Override Firefox default styles
        box-shadow: none;
      }
    }
  }

  table {
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 90%;
    width: 100%;

    th,
    td {
      padding: .6em;
    }

    th {
      border-bottom: 2px solid fade(@text-color, 6%);
      text-align: left;
    }

    td {
      border-top: 1px solid fade(@text-color, 4%);
    }
  }
}

// Posts with Asian characters
[lang=zh],
[lang=ja] {
  text-align: justify;
}

// Fix empty space when a paragraph starts with some asian punctuation marks
.margin-fix:first-letter {
  margin-left: -.6em;
}

// Tweet button margin fix
.tweet {
  margin-top: 10vmin;
}

// Largetype styles (replaces button styles)
.largetype {
  .heading;
  font-size: 200%;
}

// Broser frame for images in category "work"
.browser {
  position: relative;
  padding-top: 24px;
  margin: 0 0 4vmin !important;
  background: rgba(255, 255, 255, .1);
  border-radius: 5px 5px 0 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05);

  &:before {
    position: absolute;
    top: 8px;
    left: 10px;
    display: block;
    width: 8px;
    height: 8px;
    background: lighten(#f24e59, 30%);
    border-radius: 50%;
    content: "";
    box-shadow:
        16px 0 0 0   fade(lighten(#fac536, 30%), 96%)
      , 32px 0 0 0   fade(lighten(#26e93d, 30%), 96%)
      ,  0px 0 0 1px fade(darken(#f24e59, 30%), 30%)
      , 16px 0 0 1px fade(darken(#fac536, 30%), 30%)
      , 32px 0 0 1px fade(darken(#26e93d, 30%), 30%)
    ;
  }

  img {
    margin: 0;
    box-shadow: 0 -1px 0 0 rgba(0, 0, 0, .05);
  }
}

// Special paragraph with border line
.note,
.store,
.download {
  padding-left: .8em;
  border-left: 2px solid @link-color;
}

// Reference notes and links in post
.footnotes {
  font-size: 90%;
  font-style: italic;
}

:target {

  [rev=footnote],
  [rel=footnote] {
    color: @link-color;
  }
}

// Post list in "work" and "note"
article .list {
  list-style: none;
  margin: 0;

  > li {
    margin: 0 0 1.4vmin;

    h2 {
      .heading;
      font-size: 200%;
      line-height: 1.2;
    }
  }

  .external {

    &:hover,
    &:focus {
      border: none;
    }
  }
}

.external {
  line-height: 1;

  span {
    display: inline-block;
    width: .2em;
    height: .2em;
    margin: 0 .1em;
    vertical-align: middle;
    background: @text-color;
    border-radius: 50%;
    transition: transform .4s ease;
  }

  &:hover,
  &:focus {

    span {
      transform: scale(1.4);
    }
  }
}

.footer {
  padding: 0 0 16vmin;
  font-size: 72%;
  text-transform: lowercase;

  ul {

    li {
      display: inline;

      &:after {
        padding: 0 .6vw;
        content: " / ";
        opacity: .3;
      }

      &:last-child {

        &:after {
          content: none;
        }
      }
    }
  }
}

// Plugn-Ins
.loaded {

  .intense-wrap {

    article p > img:not(.nointense) {
      cursor: zoom-in;
    }
  }

  &.intense-open {
    cursor: zoom-out;
  }
}

// GitHub Gist reset
.gist {

  code, pre {
    padding: 0;
    color: inherit;
    background-color: transparent;
  }

  .gist-file {
    font-family: @monospace !important;
    font-size: 80% !important;
  }

  .markdown-body {
    padding: 1em;
  }
}

// Media query stack
@media (max-width: 1000px) {

  body {
    padding-left: 8%;
    padding-right: 8%;
    font-size: (@base-font-size * 1.4);
  }
}

@media (max-width: 640px) {

  body {
    padding-left: 4%;
    padding-right: 4%;
    font-size: (@base-font-size * 2);
  }

  // Override viewport units defined in post.html
  article h2 svg,
  article h2 img {
    width: 100% !important;
    height: 100% !important;
  }

  // Hide external link for post list
  .list li h2 .external {
    display: none;
  }
}

@media (max-width: 400px) {

  body {
    font-size: (@base-font-size * 2.8);
  }
}

// All iOS devices, the easiest way
@media (max-device-width: 480px), (max-device-width: 1024px) {

  // Avoid font-size smart alec
  body {
    -webkit-text-size-adjust: none;
  }
}

// Import custom styles
@import "syntax";
@import "custom";