Increase number of column (associated list) and font-size reduction (#1365)

* up to 6 col in associated doc

* font size reduction of card (homogeneous with search)

* fix font-size to have same in search

* fix font size and remove important

* typo

.list {
  width:100%;
  padding: 1% 2% 50px 2%;
  .flex();
  justify-content: space-around;
  flex-flow: wrap row;

  .list-item {
    min-height: initial;
  }

  & + .no-results {
    display: none;
  }
}

.list-item {
  position: relative;
  cursor: pointer;
  background-color: white;
  margin-top: 10px;
  outline: none;
  border-radius: 7px;
  min-height: 80px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  transition: .2s ease-in-out;
  border: 2px solid rgba(88, 150, 165, 0.2);

  &:active {
    -webkit-box-shadow: inset 1px 1px 8px -3px rgba(0,0,0,.75);
    -moz-box-shadow: inset 1px 1px 8px -3px rgba(0,0,0,.75);
    box-shadow: inset 1px 1px 8px -3px rgba(0,0,0,.75);
    -webkit-transition: .2s ease-in-out;
    transition: 0.2s ease-in-out;
    outline: none;
  }
  &:hover, &.highlight {
    background-color: #EFEFEF;
    transition: 0.1s ease-in-out;
    cursor: pointer;
  }

  @media @tablet {
    border-width: 1px;
  }
  @media @phone {
    border-width: 1px;
  }

  a {
    display: block;
    transition: 0.2s;
    font-weight: normal;
    height: 100%;
    word-wrap: break-word;
    color: #767676;
    padding: 10px;

    @media @phone {
      font-size: 1.1em;
      padding: 7px;
    }

    &:hover .list-item-title {
      color: teal;
      transition: 0.1s ease-in-out;
    }

    &:focus, &:hover {
      text-decoration: none;
      outline: none;
    }
  } /*list-item a*/

  .list-item-lang {
    opacity: 0.9;
    color: graytext;
    white-space: nowrap;
    font-weight: normal;
  }
  .activities {
    margin-top: 5px;
  }
  .list-item-title {
    font-weight: bold;
    color: graytext;
    margin-right: 5px;
    p {
      line-height: normal;
      display: block;
      margin: 0;
    }
  }

  .location {
    line-height: normal;
    margin-right: 5px;
  }

  .list-item-title-lang {
    .flex();
    align-items: center;
    margin-bottom: 5px;
  }
  .elevation, .waypoint-elevation .glyphicon {
    margin-top: -1px;
  }
  .list-item-info {
    margin: auto;
    height: 100%;
    width: 100%;
    font-size: 0.9em;
    text-decoration: none;
    color: #919191;
    font-weight: normal;
    .flex();
    flex-direction: column;
    -webkit-flex-direction: column;
    justify-content: space-between;

    .quality, .orientations, .date,  .height-diff, .height-diff-difficulties, .elevation, .waypoint-elevation {
      white-space: nowrap;
      .glyphicon {
        margin-right: 3px;
      }
    }
    .elevation, .height-diff, .height-diff-difficulties, .orientations, .icon-rating, .rating {
      margin-right: 5px;
    }
    .icon-rating {
      font-size: 1.4em;
      margin-bottom: 5px;
    }
    .orientations, .height-diff, .height-diff-difficulties, .elevation {
      @media (max-width: @phone-max) {
        display: none;
      }
    }
    .global-rating {
      @media (min-width: @phone-max) {
        display: none;
      }
    }
    .full-rating {
      flex-wrap: wrap;
      .glyphicon {
        font-size: 1.3em;
        margin-left: -3px;
        margin-right: 3px !important;
      }
      .value {
        transition: .2s;
        &:hover {
          color: gold;
        }
      }
      @media (max-width: @phone-max) {
        display: none;
      }
    }
    .glyphicon, [class*="icon-"]:not(.activity):not(.waypoint-type) {
      color: @bright-green;
    }
  }/*list-item-info*/
  .show-more-activities:hover {
    color: teal;
  }
  .activities .activity {
    font-size: 3em;
    color: @C2C-orange;
    @media @phone {
      font-size: 2.5em;
    }
  }
  .set-main-waypoint {
    margin-left: 10px;
    margin-bottom: 10px;
    padding: 3px 10px;
    max-height: 26px;
  }

  // .list-item.waypoints
  &.waypoints {

    .waypoint-type {
      font-size: 3em;
      color: @C2C-orange;
      margin-right: 0;
      @media @phone {
        font-size: 2.5em;
        margin-left: 10px;
      }
    }
    .list-item-info {
      flex-basis: 75%;

    }
    .waypoint-infos {
      .calc(width, "100% - 20px");
      .flex();
      align-items: baseline;
      flex-wrap: wrap;
    }
  }
  // .list-item.routes
  &.routes {
    .activities {
      margin-bottom: -5px;
    }
  }
  // .list-item.books
  &.books {
    .author {
      line-height: normal;
      font-size: 13px;
      .calc(width, "100% - 30px");
    }
    .glyphicon-pencil {
      color: #a9a9a9 !important;
    }
    .book-type {
      color: @bright-green;
    }
  }
  // .list-item.main-waypoint
  &.main-waypoint {
    border: 2px solid @bright-green;
  }
  // .list-item.images
  &.images  {
    min-height: 170px;
    a {
      .flex();
      flex-flow: wrap;
    }
    .list-item-info {
      align-self: flex-start;
    }
    .image {
      width: 100%;
      height: 150px;
      background-position: 50% 40%;
      background-repeat: no-repeat;
    }
  }
  // .list-item.outings
  &.outings {
    max-height: inherit !important;

    .icon-user {
      font-size: 3em;
      padding-right: 5px;
      float: left;
      font-size: 25px;
      color: #b2bcc4 !important;
    }
    .activities {
      margin-right: 5px;
    }
    .activity-author {
      .calc(width, "100% - 25px");
      .flex();
      justify-content: space-between;
      flex-wrap: wrap;
    }
    .author-name {
      font-weight: bold;
    }
    .glyphicon-time {
      font-size: 14px;
    }
    .list-item-info {
      margin: inherit;
    }
    .outing-author {
      color: gray;
      align-items: flex-end;
      .flex();
    }
    .glyphicon-trash {
      .calc(top, "100% - 60px");
    }

  } // end outing cards

  // .list-item.highlight
  &.highlight a .list-item-title {
    color: teal;
    transition: 0.1s ease-in-out;
  }
  // .list-item.users
  &.users {
    margin-left: 3px;
    margin-right: 3px;
    @media @big {
      flex-basis: 24%;
    }
    @media @desktop {
      flex-basis: 32%;
    }
    @media @tablet {
      flex-basis: 49%;
    }
    .list-item-info {
      justify-content: center;
    }
    .icon-user {
      font-size: 2.5em;
      color: gray !important;
    }
    button {
      float: right;
      margin: 5px;
    }
  }
} /* list-item*/

.documents-list-section-container {
  .flex();

  &.no-map {
    .page-main-title, .documents-list-section {
      flex-basis: 100%;
    }
    .list-item {
      flex-basis: 24%;
      @media (max-width: 1200px){
        flex-basis:  32%;
      }
      @media (max-width: 730px) {
        flex-basis: 48%;
      }
    }
  }
  &.no-list  .documents-list-section {
    flex-basis: 0;
  }
  .no-list-btn {
    padding: 7px 5px 6px 5px;
  }
  .no-map-btn {
    position: absolute;
    .calc(top, "100% - 80px");
    z-index: 2;
    margin-left: 10px;
    .glyphicon {
      color: white;
    }
  }
}
.documents-list-section, .not-found-section, .map-right .map {
  margin-top: @page-main-title-height;
  .calc(height, "100vh - @{page-header-height} - @{page-main-title-height}");
}

.documents-list-section, .not-found-section {
  background-color: @lightgrey;
  overflow: auto;
  flex-basis: @list-width;
  transition: .3s;

  @media @phone {
    flex-basis: 100%;
    padding-top: 35px;
    .calc(height, "100vh - 92px");
  }
  .show-documents-filters-phone {
    display: none;
    height: 33px;
    margin-right: 5px;
    float: right;

    @media @phone {
      display: block;
    }
  }
}

.section.associations, .view-details-associations, .list {
  .list-item {
    @media (min-width: 2400px) {
      flex-basis: 16%;
    }
    @media (max-width: 2400px) {
      flex-basis: 19%;
    }
    @media (max-width: 2100px) {
      flex-basis: 24%;
    }
    @media (max-width: @large-width) {
      flex-basis: 32%;
    }
    @media (max-width: @tablet-max) {
      flex-basis: 48%;
    }
    @media (max-width: @phone-max) {
      flex-basis: 100%;
    }
  }
}

// card up to 7 column
.documents-list-section-container, .section.associations, .view-details-associations {
  &.no-map .list-item{
    @media (min-width: 2400px) {
      flex-basis: 14%;
    }
    @media (max-width: 2400px) {
      flex-basis: 16%;
    }
    @media (max-width: 2100px) {
      flex-basis: 19%;
    }
    @media (max-width: @large-width) {
      flex-basis: 24%;
    }
    @media (max-width: @tablet-max) {
      flex-basis: 32%;
    }
    @media (max-width: 900px) {
      flex-basis: 48%;
    }
    @media (max-width: @phone-max) {
      flex-basis: 100%;
    }
  }
}

.section.associations .list-item, .view-details-section .list-item {

  &.new-outing a, &.new-route a {
    .flex();
    align-items: center;
  }
  &.waypoints  {
    &.to-route {
      min-height: 115px;
      flex-wrap: wrap;
      .flex();
      app-card {
        flex-basis: 100%;
      }
    }
    a {
      height: auto;
    }
  }
}

#feed .list-item {
  .list-item-info {
    min-height: 60px;
  }
  &.waypoints .waypoint-type {
    flex-basis: 25%;
    @media @phone {
      flex-basis: 0;
    }
  }
  &.outings {
    .list-item-info {
      padding-left: 30%;
    }
    .activities {
      margin-bottom: 0;
    }
    .icon-user {
      margin-bottom: 5px;
      width: 100%;
      font-size: 30px;
      text-align: center;
    }
    .outing-author, .date {
      left: 10px;
      width: 25%;
      position: absolute;
      justify-content: center;
      .flex();
    }
    .outing-author {
      top: 33%;
      flex-flow: wrap;
      align-content: flex-start;
      justify-content: center;
    }
    .author-name {
      line-height: normal;
      word-break: break-all;
      word-break: break-word; // non-standard for webkit
      text-align: center;
    }
    .date {
      top: 13%;
      .glyphicon {
        display: none;
      }
    }
  }
}

.list {
  width:100%;
  padding: 1% 2% 50px 2%;
  .flex();
  justify-content: space-around;
  flex-flow: wrap row;

  .list-item {
    min-height: initial;
  }

  & + .no-results {
    display: none;
  }
}

.list-item {
  position: relative;
  cursor: pointer;
  background-color: white;
  margin-top: 10px;
  outline: none;
  border-radius: 7px;
  min-height: 80px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  transition: .2s ease-in-out;
  border: 2px solid rgba(88, 150, 165, 0.2);

  &:active {
    -webkit-box-shadow: inset 1px 1px 8px -3px rgba(0,0,0,.75);
    -moz-box-shadow: inset 1px 1px 8px -3px rgba(0,0,0,.75);
    box-shadow: inset 1px 1px 8px -3px rgba(0,0,0,.75);
    -webkit-transition: .2s ease-in-out;
    transition: 0.2s ease-in-out;
    outline: none;
  }
  &:hover, &.highlight {
    background-color: #EFEFEF;
    transition: 0.1s ease-in-out;
    cursor: pointer;
  }

  @media @tablet {
    border-width: 1px;
  }
  @media @phone {
    border-width: 1px;
  }

  a {
    display: block;
    transition: 0.2s;
    font-weight: normal;
    height: 100%;
    word-wrap: break-word;
    color: #767676;
    padding: 10px;

    @media @phone {
      font-size: 1.1em;
      padding: 7px;
    }

    &:hover .list-item-title {
      color: teal;
      transition: 0.1s ease-in-out;
    }

    &:focus, &:hover {
      text-decoration: none;
      outline: none;
    }
  } /*list-item a*/

  .list-item-lang {
    opacity: 0.9;
    color: graytext;
    white-space: nowrap;
    font-weight: normal;
  }
  .activities {
    margin-top: 5px;
  }
  .list-item-title {
    font-weight: bold;
    color: graytext;
    margin-right: 5px;
    p {
      line-height: normal;
      display: block;
      margin: 0;
    }
  }

  .location {
    line-height: normal;
    margin-right: 5px;
  }

  .list-item-title-lang {
    .flex();
    align-items: center;
    margin-bottom: 5px;
  }
  .elevation, .waypoint-elevation .glyphicon {
    margin-top: -1px;
  }
  .list-item-info {
    margin: auto;
    height: 100%;
    width: 100%;
    font-size: 90%;
    text-decoration: none;
    color: #919191;
    font-weight: normal;
    .flex();
    flex-direction: column;
    -webkit-flex-direction: column;
    justify-content: space-between;

    .quality, .orientations, .date,  .height-diff, .height-diff-difficulties, .elevation, .waypoint-elevation {
      white-space: nowrap;
      .glyphicon {
        margin-right: 3px;
      }
    }
    .elevation, .height-diff, .height-diff-difficulties, .orientations, .icon-rating, .rating {
      margin-right: 5px;
    }
    .icon-rating {
      font-size: 1.4em;
      margin-bottom: 5px;
    }
    .orientations, .height-diff, .height-diff-difficulties, .elevation {
      @media (max-width: @phone-max) {
        display: none;
      }
    }
    .global-rating {
      @media (min-width: @phone-max) {
        display: none;
      }
    }
    .full-rating {
      flex-wrap: wrap;
      .glyphicon {
        font-size: 1.3em;
        margin-left: -3px;
        margin-right: 3px !important;
      }
      .value {
        transition: .2s;
        &:hover {
          color: gold;
        }
      }
      @media (max-width: @phone-max) {
        display: none;
      }
    }
    .glyphicon, [class*="icon-"]:not(.activity):not(.waypoint-type) {
      color: @bright-green;
    }
  }/*list-item-info*/
  .show-more-activities:hover {
    color: teal;
  }
  .activities .activity {
    font-size: 3em;
    color: @C2C-orange;
    @media @phone {
      font-size: 2.5em;
    }
  }
  .set-main-waypoint {
    margin-left: 10px;
    margin-bottom: 10px;
    padding: 3px 10px;
    max-height: 26px;
  }

  // .list-item.waypoints
  &.waypoints {

    .waypoint-type {
      font-size: 3em;
      color: @C2C-orange;
      margin-right: 0;
      @media @phone {
        font-size: 2.5em;
        margin-left: 10px;
      }
    }
    .list-item-info {
      flex-basis: 75%;

    }
    .waypoint-infos {
      .calc(width, "100% - 20px");
      .flex();
      align-items: baseline;
      flex-wrap: wrap;
    }
  }
  // .list-item.routes
  &.routes {
    .activities {
      margin-bottom: -5px;
    }
  }
  // .list-item.books
  &.books {
    .author {
      line-height: normal;
      font-size: 13px;
      .calc(width, "100% - 30px");
    }
    .glyphicon-pencil {
      color: #a9a9a9 !important;
    }
    .book-type {
      color: @bright-green;
    }
  }
  // .list-item.main-waypoint
  &.main-waypoint {
    border: 2px solid @bright-green;
  }
  // .list-item.images
  &.images  {
    min-height: 170px;
    a {
      .flex();
      flex-flow: wrap;
    }
    .list-item-info {
      align-self: flex-start;
    }
    .image {
      width: 100%;
      height: 150px;
      background-position: 50% 40%;
      background-repeat: no-repeat;
    }
  }
  // .list-item.outings
  &.outings {
    max-height: inherit !important;

    .icon-user {
      font-size: 3em;
      padding-right: 5px;
      float: left;
      font-size: 25px;
      color: #b2bcc4 !important;
    }
    .activities {
      margin-right: 5px;
    }
    .activity-author {
      .calc(width, "100% - 25px");
      .flex();
      justify-content: space-between;
      flex-wrap: wrap;
    }
    .author-name {
      font-weight: bold;
    }
    .glyphicon-time {
      font-size: 14px;
    }
    .list-item-info {
      margin: inherit;
    }
    .outing-author {
      color: gray;
      align-items: flex-end;
      .flex();
    }
    .glyphicon-trash {
      .calc(top, "100% - 60px");
    }

  } // end outing cards

  // .list-item.highlight
  &.highlight a .list-item-title {
    color: teal;
    transition: 0.1s ease-in-out;
  }
  // .list-item.users
  &.users {
    margin-left: 3px;
    margin-right: 3px;
    @media @big {
      flex-basis: 24%;
    }
    @media @desktop {
      flex-basis: 32%;
    }
    @media @tablet {
      flex-basis: 49%;
    }
    .list-item-info {
      justify-content: center;
    }
    .icon-user {
      font-size: 2.5em;
      color: gray !important;
    }
    button {
      float: right;
      margin: 5px;
    }
  }
} /* list-item*/

.documents-list-section-container {
  .flex();

  &.no-map {
    .page-main-title, .documents-list-section {
      flex-basis: 100%;
    }
    .list-item {
      flex-basis: 24%;
      @media (max-width: 1200px){
        flex-basis:  32%;
      }
      @media (max-width: 730px) {
        flex-basis: 48%;
      }
    }
  }
  &.no-list  .documents-list-section {
    flex-basis: 0;
  }
  .no-list-btn {
    padding: 7px 5px 6px 5px;
  }
  .no-map-btn {
    position: absolute;
    .calc(top, "100% - 80px");
    z-index: 2;
    margin-left: 10px;
    .glyphicon {
      color: white;
    }
  }
}
.documents-list-section, .not-found-section, .map-right .map {
  margin-top: @page-main-title-height;
  .calc(height, "100vh - @{page-header-height} - @{page-main-title-height}");
}

.documents-list-section, .not-found-section {
  background-color: @lightgrey;
  overflow: auto;
  flex-basis: @list-width;
  transition: .3s;

  @media @phone {
    flex-basis: 100%;
    padding-top: 35px;
    .calc(height, "100vh - 92px");
  }
  .show-documents-filters-phone {
    display: none;
    height: 33px;
    margin-right: 5px;
    float: right;

    @media @phone {
      display: block;
    }
  }
}

.section.associations, .view-details-associations, .list {
  .list-item {
    flex-basis: 48%;
    @media (min-width: @large-width){
      flex-basis: 32%;
    }
    @media (min-width: 2100px) {
      flex-basis: 24%;
    }
    @media (max-width: 900px) {
      flex-basis: 100% !important;
    }
  }
}

// card up to 7 column
.documents-list-section-container, .section.associations, .view-details-associations {
  &.no-map .list-item{
    @media (min-width: 2400px) {
      flex-basis: 14% !important;
    }
    @media (max-width: 2400px) {
      flex-basis: 16% !important;
    }
    @media (max-width: 2100px) {
      flex-basis: 19% !important;
    }
    @media (max-width: @large-width) {
      flex-basis: 24% !important;
    }
    @media (max-width: @tablet-max) {
      flex-basis: 32% !important;
    }
    @media (max-width: 900px) {
      flex-basis: 48% !important;
    }
    @media (max-width: @phone-max) {
      flex-basis: 100% !important;
    }
  }
}

.section.associations .list-item, .view-details-section .list-item {

  &.new-outing a, &.new-route a {
    .flex();
    align-items: center;
  }
  &.waypoints  {
    &.to-route {
      min-height: 115px;
      flex-wrap: wrap;
      .flex();
      app-card {
        flex-basis: 100%;
      }
    }
    a {
      height: auto;
    }
  }
}

#feed .list-item {
  .list-item-info {
    min-height: 60px;
  }
  &.waypoints .waypoint-type {
    flex-basis: 25%;
    @media @phone {
      flex-basis: 0;
    }
  }
  &.outings {
    .list-item-info {
      padding-left: 30%;
    }
    .activities {
      margin-bottom: 0;
    }
    .icon-user {
      margin-bottom: 5px;
      width: 100%;
      font-size: 30px;
      text-align: center;
    }
    .outing-author, .date {
      left: 10px;
      width: 25%;
      position: absolute;
      justify-content: center;
      .flex();
    }
    .outing-author {
      top: 33%;
      flex-flow: wrap;
      align-content: flex-start;
      justify-content: center;
    }
    .author-name {
      line-height: normal;
      word-break: break-all;
      word-break: break-word; // non-standard for webkit
      text-align: center;
    }
    .date {
      top: 13%;
      .glyphicon {
        display: none;
      }
    }
  }
}


Added the main less file

Added the main less file

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


Lighter color for list dividers

Lighter color for list dividers

fatal: unable to access 'https://github.com/StudyForFun/Framework7-Plus.git/': The requested URL returned error: 403


fix generated.less

fix generated.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/intaktus/liveshop-customization.git/'


update less

update less

update less

fatal: unable to access 'https://github.com/lixinliang/tree-view-search-bar.git/': The requested URL returned error: 403


What a guy

What a guy

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


cleaned up

cleaned up

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


Dropdowns in supernapie-lite-lace

Dropdowns in supernapie-lite-lace

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/Quinten/supernapietheme.git/'


define font-family; font-size; line-height

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/lordtiago/linvs.git/'


CONTACT-282: non click-zone between contacts in the list view

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/heroandtn3/openpaas-esn.git/'


Add scrolling

Add scrolling

@import "variables";

.github-CommitDetail {

  &-root {
    // TODO: Remove if CommitDetailView gets moved to a editor decoration
    overflow-y: auto;
  }

}

error: pathspec 'styles/commit-detail.less' did not match any file(s) known to git


Added form styles

Added form styles

/* ==========================================================================
   Minima: Forms
   ========================================================================== */

input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"],
textarea {
  -webkit-appearance: none;
  background-color: #fff;
  border: 1px solid @colour-neutral-light;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  display: block;
  font-family: inherit;
  font-size: 0.9rem;
  height: 2rem;
  margin: 0;
  padding: @space-vertical-xs @space-horizontal-xs;
  transition: all 0.45s;
  width: 100%;
}

label {
  cursor: pointer;
  display: block;
}

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


Set margin to 0 for all unordered lists

Set margin to 0 for all unordered lists

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/kasperlewau/infamoushorde.git/'


added table styles for table editor

added table styles for table editor

fatal: unable to access 'https://github.com/boutell/fancy-sandbox.git/': The requested URL returned error: 403


change in agent portal

change in agent portal

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/deep0892/jitendrachatbot.git/'


课程列表样式更改

课程列表样式更改

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/XUEJS/xue-project.git/'


Create progress-bars.less

Create progress-bars.less

//
// Progress bars
// --------------------------------------------------

// Bar animations
// -------------------------

// WebKit
@-webkit-keyframes progress-bar-stripes {
  from  { background-position: 40px 0; }
  to    { background-position: 0 0; }
}

// Spec and IE10+
@keyframes progress-bar-stripes {
  from  { background-position: 40px 0; }
  to    { background-position: 0 0; }
}

// Bar itself
// -------------------------

// Outer container
.progress {
  overflow: hidden;
  height: @line-height-computed;
  margin-bottom: @line-height-computed;
  background-color: @progress-bg;
  border-radius: @border-radius-base;
  .box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
}

// Bar of progress
.progress-bar {
  float: left;
  width: 0%;
  height: 100%;
  font-size: @font-size-small;
  line-height: @line-height-computed;
  color: @progress-bar-color;
  text-align: center;
  background-color: @progress-bar-bg;
  .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
  .transition(width .6s ease);
}

// Striped bars
//
// `.progress-striped .progress-bar` is deprecated as of v3.2.0 in favor of the
// `.progress-bar-striped` class, which you just add to an existing
// `.progress-bar`.
.progress-striped .progress-bar,
.progress-bar-striped {
  #gradient > .striped();
  background-size: 40px 40px;
}

// Call animation for the active one
//
// `.progress.active .progress-bar` is deprecated as of v3.2.0 in favor of the
// `.progress-bar.active` approach.
.progress.active .progress-bar,
.progress-bar.active {
  .animation(progress-bar-stripes 2s linear infinite);
}

// Account for lower percentages
.progress-bar {
  &[aria-valuenow="1"],
  &[aria-valuenow="2"] {
    min-width: 30px;
  }

  &[aria-valuenow="0"] {
    color: @gray-light;
    min-width: 30px;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
  }
}

// Variations
// -------------------------

.progress-bar-success {
  .progress-bar-variant(@progress-bar-success-bg);
}

.progress-bar-info {
  .progress-bar-variant(@progress-bar-info-bg);
}

.progress-bar-warning {
  .progress-bar-variant(@progress-bar-warning-bg);
}

.progress-bar-danger {
  .progress-bar-variant(@progress-bar-danger-bg);
}

error: pathspec 'static/app/components/bootstrap/css/less/progress-bar.less' did not match any file(s) known to git


RAVE-533 - slight border for "chromeless" gadgets (in rave-skin)

git-svn-id: 2c5eef89e506a7ff64d405e714ba3c778b83051b@1423686 13f79535-47bb-0310-9956-ffa450edef68

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/kidaa/rave.git/'


Fix margin

Fix margin

/**
 *    Copyright 2015-2016 ppy Pty. Ltd.
 *
 *    This file is part of osu!web. osu!web is distributed with the hope of
 *    attracting more community contributions to the core ecosystem of osu!.
 *
 *    osu!web is free software: you can redistribute it and/or modify
 *    it under the terms of the Affero GNU General Public License version 3
 *    as published by the Free Software Foundation.
 *
 *    osu!web is distributed WITHOUT ANY WARRANTY; without even the implied
 *    warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *    See the GNU Affero General Public License for more details.
 *
 *    You should have received a copy of the GNU Affero General Public License
 *    along with osu!web.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

.beatmapsets-search-filter {
  &__header {
    display: inline-block;
    width: 100px;

    font-size: @font-size--small;
    text-transform: uppercase;
    color: @grey-f;

    // to ignore difference in item font size (inherited)
    margin: (@spacing / 2) 0;
  }

  &__item {
    color: @pink;
    margin: 0 (@spacing / 2);

    &:hover,
    &:active,
    &:focus {
      color: @pink;
    }

    &--active {
      color: @grey-f;

      &:hover,
      &:active,
      &:focus {
        color: @grey-f;
      }
    }
  }
}

/**
 *    Copyright 2015-2016 ppy Pty. Ltd.
 *
 *    This file is part of osu!web. osu!web is distributed with the hope of
 *    attracting more community contributions to the core ecosystem of osu!.
 *
 *    osu!web is free software: you can redistribute it and/or modify
 *    it under the terms of the Affero GNU General Public License version 3
 *    as published by the Free Software Foundation.
 *
 *    osu!web is distributed WITHOUT ANY WARRANTY; without even the implied
 *    warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *    See the GNU Affero General Public License for more details.
 *
 *    You should have received a copy of the GNU Affero General Public License
 *    along with osu!web.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

.beatmapsets-search-filter {
  &__header {
    display: inline-block;
    width: 100px;

    font-size: @font-size--small;
    text-transform: uppercase;
    color: @grey-f;

    // to ignore difference in item font size (inherited)
    margin: (@spacing / 2);
  }

  &__item {
    color: @pink;
    margin: 0 (@spacing / 2);

    &:hover,
    &:active,
    &:focus {
      color: @pink;
    }

    &--active {
      color: @grey-f;

      &:hover,
      &:active,
      &:focus {
        color: @grey-f;
      }
    }
  }
}


fixes some topbar offsets values.

fixes some topbar offsets values.

@import "./config/__colors.less";
@import "./config/__grid.less";
@import "./config/__typography.less";
@import "./config/__navigation.less";
@import "./modules/mixins.less";
@import "./modules/utilities.less";

@themeBackground            : #DEEDF1;
@topbar-fontSize            : 14px;
@topbar-bgColor             : #222;
@topbar-color               : #BBB;
@topbar-colorHover          : @white;
@img-path                   : "../img/";

body {
    background: @body-background;
}

h2 span {
    padding-right: .5em;
}

.box {
    #ink > #border-radius > .all (@border-radius);
    #ink > #shadows > .box-shadow (0, 2px, 3px, 0, #DDD);
    border:1px solid #BBB;
    background-color: #FFF;
    padding: 1em;
    margin-top:1em;
}

mark {
    font-family: Ubuntu_monospaced, Monaco, Andale Mono, Courier New, monospace;
    font-size: .938em;
    background: @themeBackground;
    padding:1px 3px;
}

.gridExample {

    p {
        #ink > #border-radius > .all(4px);
        padding: .8em 0;
        text-align: center;
        background: #DEEDF1;
    }
}

.ink-dropdown {
    .ink-button {
        margin: 5px 0;
    }

    &.example {

        .dropdown-menu {
            display: block;
            position:relative;
            left: 0;
        }
    }
}

/*..........................................  Typography  ...................................................*/
a.visited   {color: @link-visited-color;}
a.hover     {color: @link-hover-color; text-decoration: underline;}
a.active    {color: @link-active-color;}

/*............................................  Homepage  ...................................................*/
.whatIs {

    margin: 3.6em 0 2em;
    font-size: 1.25em;

    p {
        margin-top:.5em;
    }
}

#getnow {
    border-top:1px solid #888;
    padding:0.5em 0;
    margin-bottom: 1.5em;
    #ink > #shadows > .box-shadow (0, 6px, 12px, 1px, rgba(0,0,0,.1));

    a {
        text-align: center;
        font-weight: bold;
        padding:.8em;
        display: block;
        #ink > #gradients > .gradient (#2e2e2e, #222, 100%);
        #ink > #shadows > .box-shadow (0, 1px, 3px, 0, rgba(0,0,0,.5));
        #ink > #border-radius > .all (@border-radius);
        color: #FFF;

        &:hover {
            #ink > #gradients > .gradient (#3c3c3c, #2e2e2e, 100%);
            text-decoration: none;
        }
    }

    .large-60, .large-20, .medium-60, .medium-20, .small-100, .small-50 {
        margin:0;
    }

    p {line-height:2em;}
}

/*..........................................  Ink-UI  ..........................................*/
.ink-button.toggleTrigger {
    margin:1em 0 0 0
}

/*..........................................  Homepage  ..........................................*/
.ink-hero {
    margin-top: 2.6em;
    background: url(@{img-path}home_bkg.png) center;
    #ink > #gradients > .multiple-stops (~'left, #e65d5b, #f3af32 14%, #e6d168 28%, #7bd369 40%, #50c6a2 55%, #a7d37c 70%, #a7b958 85%, #e35c57');
    overflow: hidden;
}

.logo_hp {
    width:100%;
    max-width:736px;
    max-height:330px;
    margin:0 auto;
    display: block;
    #ink > #effects > .opacity (.8);
    #ink > #effects > .transition (all, 500ms);

    &:hover {
        #ink > #effects > .opacity (1);
    }
}

.showcase {
    background:rgba(0,0,0,.1);
    border-top:rgba(0,0,0,.4);
    border-bottom:rgba(0,0,0,.4);
    padding: 2em 0 1em 0;

    img {
        #ink > #shadows > .box-shadow (0, 1px, 3px, 1px, rgba(0,0,0,.2));
        &:hover {
            position:relative;
            bottom:4px;
            #ink > #shadows > .box-shadow (0, 3px, 4px, 2px, rgba(0,0,0,.3));
            #ink > #effects > .transition-property (all);
            #ink > #effects > .transition-duration (120ms);
        }
    }
}

div.socialplugins {
    border:1px solid #afafaf;
    background:#eaeaea;
    padding:0.6em 0 0.6em 0.6em;
    margin-top:1em;
    margin-bottom:1em;
    #ink > #border-radius > .all (4px);
    #ink > #shadows > .box-shadow (0, 1px, 2px, 0, rgba(255,255,255,1));

    div[class*="large-"], div[class*="medium-"], div[class*="small-"] {
        margin-bottom: 0 !important;
    }

    p {
        line-height:2;
    }

    .socialwidget {
        margin-right:1em;
    }
}

/*...................................................  Footer  ...................................................*/

footer {

    div + & {
        margin-top: 0;
    }

    .vspace {
        margin: 1em 0;
    }

    .copyright {
        //margin: 0;

        .SAPOlogo {
            background: url("@{img-path}SAPOlogo.png") no-repeat scroll 0 0 transparent;
            text-indent: -9999px;
            display: block;
            width: 101px;
            height: 30px;
            margin-bottom: 1em;
        }

        .PTClogo {
            font-size: .875em;

            a {
                background: url("@{img-path}icon_Sprite.png") no-repeat 0 top;
                text-indent: -9999px;
                display: block;
                float: left;
                width: 41px;
                height: 43px;
                margin-right:1em;
            }
        }
    }

    .sociallinks {

        li {
            margin-left: .6em;
            *zoom:1;

            a {
                display: block;
                height: 24px;
                width: 24px;

                &.Fb_link       { background: url("@{img-path}icon_Sprite.png") no-repeat 0 -90px }
                &.Twt_link      { background: url("@{img-path}icon_Sprite.png") no-repeat 0 -118px }
                &.Gplus_link    { background: url("@{img-path}icon_Sprite.png") no-repeat 0 -146px }
            }
        }
    }

    .ink-navigation {
        ul.menu.horizontal {
            li {
                a.license {
                    padding: 0.5em 0 0.5em 0;
                }
            }
        }
    }
}

#topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: @topbar-bgColor;
    #ink > #shadows > .box-shadows ('0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)');
    z-index: @layer-100;
    -webkit-transform: scale3d(1,1,1); // Solves weird “redraw behavior” involving anchor links and fixed positioned elements in chrome.

    .ink-navigation {

        ul {

            li {
                font-size: @topbar-fontSize;
                a {
                    *height:auto;
                    color:@topbar-color;

                    &:hover {
                        color:@topbar-colorHover;
                    }

                    &.logoPlaceholder {
                        font-size: 2em;
                        font-weight: bold;
                        line-height: 1.3;
                        padding: 0;
                        margin-right: .5em;

                        &:hover {
                            background: none;
                        }
                    }
                }

                &.active {
                    a {
                        #ink > #gradients > .gradient (darken(@topbar-bgColor, 10%), lighten(@topbar-bgColor, 10%), 100%);
                        #ink > #shadows > .box-shadow (0, 0px, 2px, 0, rgba( 255, 255, 255, 0.3));
                        color:@white;
                    }
                }

                .submenu {

                    #ink > #border-radius > .bottom (4px);

                    li {

                        &:last-child {
                            #ink > #border-radius > .bottom (4px);
                        }

                        a {
                            color:@black;
                            background:@white;
                            filter:none;

                            &:hover {
                                background:lighten(@topbar-bgColor,20%);
                                color:@topbar-colorHover;
                            }
                        }
                    }

                    top: 2.66em;
                }
            }

            &.vertical {

                li {

                    a {
                        border-bottom: 1px solid lighten(@black,15%);

                        &.logoPlaceholder {
                            margin-right: 0;
                        }
                    }

                    button {
                        background: none;
                        border: none;
                        outline: none;
                        position: absolute;
                        top: .6em;
                        right: 0;
                        padding: 0;
                        color: @topbar-color;

                        &:hover,
                        &:focus {
                            color: @white
                        }

                        span {

                            font-size: 1.5em;
                        }
                    }

                    &.title {
                        border-bottom: 1px solid lighten(@black,15%);
                        a {border-bottom: none}
                    }

                    &.active {
                        a {
                            background: darken(@topbar-bgColor, 6%);
                            #ink > #shadows > .no-box-shadow ();
                        }
                    }

                    &:first-child {
                        #ink > #utils > .clearfix();
                    }

                    .submenu {
                        width: auto;
                        left: auto;
                        display: block;
                        position: relative;
                        #ink > #border-radius > .none ();
                        top: auto;

                        li {

                            &:last-child {
                                #ink > #border-radius > .none ();
                            }

                            a {
                                color:@topbar-color;
                                background:@topbar-bgColor;
                                border-bottom: 1px solid lighten(@black,15%);
                                &:hover {
                                    background: lighten(@black,10%);
                                    color: @white;
                                }
                            }
                        }
                    }
                }
            }

            &.black {
                &.flat {
                    background:@topbar-bgColor;
                    filter:none;
                    #ink > #shadows > .no-box-shadow ();
                }
            }
        }

    }

    .border {
        height:.3em;
        background: url(@{img-path}home_bkg.png) center 0px;
        #ink > #gradients > .multiple-stops (~'left, #e65d5b, #f3af32 14%, #e6d168 28%, #7bd369 40%, #50c6a2 55%, #a7d37c 70%, #a7b958 85%, #e35c57');
        margin: 0;
    }
}

/* Prettyfier  */
pre {
    background: #FEFBF3;
    #ink > #shadows > .box-shadow (0px, 1px, 2px, 0, rgba(0,0,0,.1));
    font-family: Ubuntu_monospaced, Monaco, Andale Mono, Courier New, monospace;
    display: block;
    font-size: 14px;
    color: #aaa;

    &.prettyprint {
        border: 1px solid rgba(0,0,0,.2);
        #ink > #shadows > .box-shadow (0px, 1px, 2px, 0, rgba(0,0,0,.1));
        white-space: pre-wrap;
        padding: 1em;
    }

    &.linenums {
        padding: 0;
    }

    ol  {
        line-height:1.5;
        list-style: decimal ;
        margin: 0 0 0 1.6em;

        li {
            word-wrap: break-word;
            border-left: 3px solid #CCC;
            margin:0;
            padding: .2em 0 .2em 1em;

            &:nth-child(odd) {
                background:#f0f0f0
            }
        }
    }

    .tag {
        color: #1E347B;
    }

    .hightlight {
        font-weight: bold;
        color: red;
    }
}

.com                    { color: #93a1a1; }
.lit                    { color: #195f91; }
.pun, .opn, .clo        { color: #93a1a1; }
.fun                    { color: #dc322f; }
.str, .atv              { color: #268bd2; }
.kwd, .tag              { color: #195f91; }
.typ, .atn, .dec, .var  { color: #CB4B16; }

code {
    border: 1px solid #E0E0E0;
    background: #E9E9E9;
    padding: 0 4px;
}

section,
section + section {

    padding-top: 3em;
    padding-bottom: 3em;
    border-bottom: 1px solid #ccc;

    border-top: 1em solid transparent;
    margin: -1em 0 0;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;

    &:first-child {
        padding-top: 0;
    }

    &:last-child {
        border: none;
    }
}

table.ink-table.browser-support {
    .icon-ok {
        color: @green;
    }
    .icon-remove, .icon-minus {
        color: @red;
    }

    tr th {
        padding: 0.5em;
        background: lighten(@black,30%);
        color: @white;
        font-weight: 500;
        text-align: center;
    }
    th, td {
        line-height: 1.3;
    }
}
.ink-package {
    #ink > #shadows > .box-shadow (0, 1px, 5px, 0, rgba(100,100,100,.5),inset);
    #ink > #border-radius > .all (4px);
    background: @grey-5;
    padding: 1em;
    font-size: 1em;
    line-height: 1.3;
    color: @grey-70;

    strong {
        font-size: 1.0em;
    }

    span {
        color: @grey-30;
        font-family: Ubuntu_light;
        font-size: 0.95em;

        &.tree {
            color: @grey-70;
            font-size: 1.2em;
        }
    }
}

.live-demo {
    background: @grey-5;
    padding: 1em;
    #ink > #shadows > .box-shadow(0,1px,5px,0,rgba(100,100,100,0.5),inset);
    #ink > #border-radius > .all (4px);
    p + p {
        margin: 0;
    }
}

.clickable {
    &:hover {
        cursor: pointer;
    }
}

.sticky {
    -webkit-transform: scale3d(1,1,1); // Solves weird “redraw behavior” involving anchor links and fixed positioned elements in chrome.
}

#ink-layout-detector {margin:0;}

@media screen and (max-width: 649px) {
    body {
        font-size: 90%;
        line-height: 1.3;
    }

    #topbar {
        position: static;
    }

    .whatIs {
        margin-top: 1.6em;
    }

    .ink-hero {
        margin-top: 0;
    }

}

@media screen and (min-width: 650px) and (max-width: 959px) {

    body {
        font-size: 95%;
        line-height: 1.4;
    }

    #topbar {
        position: static;
    }

    .whatIs {
        margin-top: 1.6em;
    }

    .ink-hero {
        margin-top: 0;
    }

}

@import "./config/__colors.less";
@import "./config/__grid.less";
@import "./config/__typography.less";
@import "./config/__navigation.less";
@import "./modules/mixins.less";
@import "./modules/utilities.less";

@themeBackground            : #DEEDF1;
@topbar-fontSize            : 14px;
@topbar-bgColor             : #222;
@topbar-color               : #BBB;
@topbar-colorHover          : @white;
@img-path                   : "../img/";

body {
    background: @body-background;
}

h2 span {
    padding-right: .5em;
}

.box {
    #ink > #border-radius > .all (@border-radius);
    #ink > #shadows > .box-shadow (0, 2px, 3px, 0, #DDD);
    border:1px solid #BBB;
    background-color: #FFF;
    padding: 1em;
    margin-top:1em;
}

mark {
    font-family: Ubuntu_monospaced, Monaco, Andale Mono, Courier New, monospace;
    font-size: .938em;
    background: @themeBackground;
    padding:1px 3px;
}

.gridExample {

    p {
        #ink > #border-radius > .all(4px);
        padding: .8em 0;
        text-align: center;
        background: #DEEDF1;
    }
}

.ink-dropdown {
    .ink-button {
        margin: 5px 0;
    }

    &.example {

        .dropdown-menu {
            display: block;
            position:relative;
            left: 0;
        }
    }
}

/*..........................................  Typography  ...................................................*/
a.visited   {color: @link-visited-color;}
a.hover     {color: @link-hover-color; text-decoration: underline;}
a.active    {color: @link-active-color;}

/*............................................  Homepage  ...................................................*/
.whatIs {

    margin: 3.6em 0 2em;
    font-size: 1.25em;

    p {
        margin-top:.5em;
    }
}

#getnow {
    border-top:1px solid #888;
    padding:0.5em 0;
    margin-bottom: 1.5em;
    #ink > #shadows > .box-shadow (0, 6px, 12px, 1px, rgba(0,0,0,.1));

    a {
        text-align: center;
        font-weight: bold;
        padding:.8em;
        display: block;
        #ink > #gradients > .gradient (#2e2e2e, #222, 100%);
        #ink > #shadows > .box-shadow (0, 1px, 3px, 0, rgba(0,0,0,.5));
        #ink > #border-radius > .all (@border-radius);
        color: #FFF;

        &:hover {
            #ink > #gradients > .gradient (#3c3c3c, #2e2e2e, 100%);
            text-decoration: none;
        }
    }

    .large-60, .large-20, .medium-60, .medium-20, .small-100, .small-50 {
        margin:0;
    }

    p {line-height:2em;}
}

/*..........................................  Ink-UI  ..........................................*/
.ink-button.toggleTrigger {
    margin:1em 0 0 0
}

/*..........................................  Homepage  ..........................................*/
.ink-hero {
    margin-top: 2.6em;
    background: url(@{img-path}home_bkg.png) center;
    #ink > #gradients > .multiple-stops (~'left, #e65d5b, #f3af32 14%, #e6d168 28%, #7bd369 40%, #50c6a2 55%, #a7d37c 70%, #a7b958 85%, #e35c57');
    overflow: hidden;
}

.logo_hp {
    width:100%;
    max-width:736px;
    max-height:330px;
    margin:0 auto;
    display: block;
    #ink > #effects > .opacity (.8);
    #ink > #effects > .transition (all, 500ms);

    &:hover {
        #ink > #effects > .opacity (1);
    }
}

.showcase {
    background:rgba(0,0,0,.1);
    border-top:rgba(0,0,0,.4);
    border-bottom:rgba(0,0,0,.4);
    padding: 2em 0 1em 0;

    img {
        #ink > #shadows > .box-shadow (0, 1px, 3px, 1px, rgba(0,0,0,.2));
        &:hover {
            position:relative;
            bottom:4px;
            #ink > #shadows > .box-shadow (0, 3px, 4px, 2px, rgba(0,0,0,.3));
            #ink > #effects > .transition-property (all);
            #ink > #effects > .transition-duration (120ms);
        }
    }
}

div.socialplugins {
    border:1px solid #afafaf;
    background:#eaeaea;
    padding:0.6em 0 0.6em 0.6em;
    margin-top:1em;
    margin-bottom:1em;
    #ink > #border-radius > .all (4px);
    #ink > #shadows > .box-shadow (0, 1px, 2px, 0, rgba(255,255,255,1));

    div[class*="large-"], div[class*="medium-"], div[class*="small-"] {
        margin-bottom: 0 !important;
    }

    p {
        line-height:2;
    }

    .socialwidget {
        margin-right:1em;
    }
}

/*...................................................  Footer  ...................................................*/

footer {

    div + & {
        margin-top: 0;
    }

    .vspace {
        margin: 1em 0;
    }

    .copyright {
        //margin: 0;

        .SAPOlogo {
            background: url("@{img-path}SAPOlogo.png") no-repeat scroll 0 0 transparent;
            text-indent: -9999px;
            display: block;
            width: 101px;
            height: 30px;
            margin-bottom: 1em;
        }

        .PTClogo {
            font-size: .875em;

            a {
                background: url("@{img-path}icon_Sprite.png") no-repeat 0 top;
                text-indent: -9999px;
                display: block;
                float: left;
                width: 41px;
                height: 43px;
                margin-right:1em;
            }
        }
    }

    .sociallinks {

        li {
            margin-left: .6em;
            *zoom:1;

            a {
                display: block;
                height: 24px;
                width: 24px;

                &.Fb_link       { background: url("@{img-path}icon_Sprite.png") no-repeat 0 -90px }
                &.Twt_link      { background: url("@{img-path}icon_Sprite.png") no-repeat 0 -118px }
                &.Gplus_link    { background: url("@{img-path}icon_Sprite.png") no-repeat 0 -146px }
            }
        }
    }

    .ink-navigation {
        ul.menu.horizontal {
            li {
                a.license {
                    padding: 0.5em 0 0.5em 0;
                }
            }
        }
    }
}

#topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: @topbar-bgColor;
    #ink > #shadows > .box-shadows ('0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)');
    z-index: @layer-100;
    -webkit-transform: scale3d(1,1,1); // Solves weird “redraw behavior” involving anchor links and fixed positioned elements in chrome.

    .ink-navigation {

        ul {

            li {
                font-size: @topbar-fontSize;
                a {
                    *height:auto;
                    color:@topbar-color;

                    &:hover {
                        color:@topbar-colorHover;
                    }

                    &.logoPlaceholder {
                        font-size: 2em;
                        font-weight: bold;
                        line-height: 1.4;
                        padding: 0;
                        margin-right: .5em;

                        &:hover {
                            background: none;
                        }
                    }
                }

                &.active {
                    a {
                        #ink > #gradients > .gradient (darken(@topbar-bgColor, 10%), lighten(@topbar-bgColor, 10%), 100%);
                        #ink > #shadows > .box-shadow (0, 0px, 2px, 0, rgba( 255, 255, 255, 0.3));
                        color:@white;
                    }
                }

                .submenu {

                    #ink > #border-radius > .bottom (4px);

                    li {

                        &:last-child {
                            #ink > #border-radius > .bottom (4px);
                        }

                        a {
                            color:@black;
                            background:@white;
                            filter:none;

                            &:hover {
                                background:lighten(@topbar-bgColor,20%);
                                color:@topbar-colorHover;
                            }
                        }
                    }
                }
            }

            &.vertical {

                li {

                    a {

                        &.logoPlaceholder {
                            margin-right: 0;
                        }
                    }

                    button {
                        background: none;
                        border: none;
                        outline: none;
                        position: absolute;
                        top: .6em;
                        right: 0;
                        padding: 0;
                        color: @topbar-color;

                        &:hover,
                        &:focus {
                            color: @white
                        }

                        span {

                            font-size: 1.5em;
                        }
                    }

                    &.title {
                        border-bottom: 1px solid lighten(@black,15%);
                        a {border-bottom: none}
                    }

                    &.active {
                        a {
                            background: darken(@topbar-bgColor, 6%);
                            #ink > #shadows > .no-box-shadow ();
                        }
                    }

                    &:first-child {
                        #ink > #utils > .clearfix();
                    }

                    .submenu {
                        width: auto;
                        left: auto;
                        display: block;
                        position: relative;
                        #ink > #border-radius > .none ();

                        li {

                            &:last-child {
                                #ink > #border-radius > .none ();
                            }

                            a {
                                color:@topbar-color;
                                background:@topbar-bgColor;
                                border-bottom: 1px solid lighten(@black,15%);
                                &:hover {
                                    background: lighten(@black,10%);
                                    color: @white;
                                }
                            }
                        }
                    }
                }
            }

            &.black {
                &.flat {
                    background:@topbar-bgColor;
                    filter:none;
                    #ink > #shadows > .no-box-shadow ();
                }
            }
        }

    }

    .border {
        height:.3em;
        background: url(@{img-path}home_bkg.png) center 0px;
        #ink > #gradients > .multiple-stops (~'left, #e65d5b, #f3af32 14%, #e6d168 28%, #7bd369 40%, #50c6a2 55%, #a7d37c 70%, #a7b958 85%, #e35c57');
        margin: 0;
    }
}

/* Prettyfier  */
pre {
    background: #FEFBF3;
    #ink > #shadows > .box-shadow (0px, 1px, 2px, 0, rgba(0,0,0,.1));
    font-family: Ubuntu_monospaced, Monaco, Andale Mono, Courier New, monospace;
    display: block;
    font-size: 14px;
    color: #aaa;

    &.prettyprint {
        border: 1px solid rgba(0,0,0,.2);
        #ink > #shadows > .box-shadow (0px, 1px, 2px, 0, rgba(0,0,0,.1));
        white-space: pre-wrap;
        padding: 1em;
    }

    &.linenums {
        padding: 0;
    }

    ol  {
        line-height:1.5;
        list-style: decimal ;
        margin: 0 0 0 1.6em;

        li {
            word-wrap: break-word;
            border-left: 3px solid #CCC;
            margin:0;
            padding: .2em 0 .2em 1em;

            &:nth-child(odd) {
                background:#f0f0f0
            }
        }
    }

    .tag {
        color: #1E347B;
    }

    .hightlight {
        font-weight: bold;
        color: red;
    }
}

.com                    { color: #93a1a1; }
.lit                    { color: #195f91; }
.pun, .opn, .clo        { color: #93a1a1; }
.fun                    { color: #dc322f; }
.str, .atv              { color: #268bd2; }
.kwd, .tag              { color: #195f91; }
.typ, .atn, .dec, .var  { color: #CB4B16; }

code {
    border: 1px solid #E0E0E0;
    background: #E9E9E9;
    padding: 0 4px;
}

section,
section + section {

    padding-top: 3em;
    padding-bottom: 3em;
    border-bottom: 1px solid #ccc;

    border-top: 1em solid transparent;
    margin: -1em 0 0;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;

    &:first-child {
        padding-top: 0;
    }

    &:last-child {
        border: none;
    }
}

table.ink-table.browser-support {
    .icon-ok {
        color: @green;
    }
    .icon-remove, .icon-minus {
        color: @red;
    }

    tr th {
        padding: 0.5em;
        background: lighten(@black,30%);
        color: @white;
        font-weight: 500;
        text-align: center;
    }
    th, td {
        line-height: 1.3;
    }
}
.ink-package {
    #ink > #shadows > .box-shadow (0, 1px, 5px, 0, rgba(100,100,100,.5),inset);
    #ink > #border-radius > .all (4px);
    background: @grey-5;
    padding: 1em;
    font-size: 1em;
    line-height: 1.3;
    color: @grey-70;

    strong {
        font-size: 1.0em;
    }

    span {
        color: @grey-30;
        font-family: Ubuntu_light;
        font-size: 0.95em;

        &.tree {
            color: @grey-70;
            font-size: 1.2em;
        }
    }
}

.live-demo {
    background: @grey-5;
    padding: 1em;
    #ink > #shadows > .box-shadow(0,1px,5px,0,rgba(100,100,100,0.5),inset);
    #ink > #border-radius > .all (4px);
    p + p {
        margin: 0;
    }
}

.clickable {
    &:hover {
        cursor: pointer;
    }
}

.sticky {
    -webkit-transform: scale3d(1,1,1); // Solves weird “redraw behavior” involving anchor links and fixed positioned elements in chrome.
}

#ink-layout-detector {margin:0;}

@media screen and (max-width: 649px) {
    body {
        font-size: 90%;
        line-height: 1.3;
    }

    #topbar {
        position: static;
    }

    .whatIs {
        margin-top: 1.6em;
    }

    .ink-hero {
        margin-top: 0;
    }

}

@media screen and (min-width: 650px) and (max-width: 959px) {

    body {
        font-size: 95%;
        line-height: 1.4;
    }

    #topbar {
        position: static;
    }

    .whatIs {
        margin-top: 1.6em;
    }

    .ink-hero {
        margin-top: 0;
    }

}


Update hover background color in image list in "work"

/*!
  github.com/sparanoid/sparanoid.com
*/
/*!
*/

// variables
@txt-width: 620px;
@link: #e34; // #2ed for invert color
@bg: #fff;
@txt: #000;

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

@font-face {
  font-family: 'sparanoid.com';
  src: url('font.woff') format('woff'),
       url('font.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

.font-face {
  font-family: 'sparanoid.com', 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', sans-serif;
  text-transform: uppercase;
}

.helvetica {
  color: fade(@txt, 40%);
  font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .25em;
}

// basic configurations
* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-family: inherit;
  line-height: 1;
  text-decoration: none;
}

:root {
  color: @txt;
  background: @bg;
  font-size: 14px;
  font-family: Palatino, 'Palatino Linotype', 'Hiragino Mincho ProN', serif;
  line-height: 1.7;
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 40px;
  text-rendering: optimizelegibility;
  image-rendering: optimizequality;
}

a {
  color: @txt;
  -webkit-transition: color .5s ease, background .5s ease, opacity 1.5s ease;
     -moz-transition: color .5s ease, background .5s ease, opacity 1.5s ease;
}
  .a a, a:hover {
    color: @link;
    -webkit-transition: color .1s ease, background .1s ease, opacity .1s ease;
       -moz-transition: color .1s ease, background .1s ease, opacity .1s ease;
  }

ins {
  color: fade(@txt, 40%);
}

del {
  text-decoration: line-through;
}

::selection {
  background: fade(@txt, 5%);
}

// core styles begin
body:before, body:after {
  position: fixed;
  left: 0;
  width: 100%;
  content: '';
  z-index: 9999;
  pointer-events: none;
}
body:before {
  top: 0;
  height: 12px;
  background: fade(@txt, 5%);
  border-bottom: 1px solid fade(@txt, 2%);
}

header {
  a {
    display: block;
    height: 38px;
    width: 38px;
    margin: 0 auto;
    background: url(logo.svg) no-repeat 0 0;
    background-size: 38px 38px;
    text-indent: -9999em;
  }
}

nav {
  .helvetica;
  font-size: 11px;
  &[role=navigation] {
    padding: 10px 0 15px;
    ul {
      text-align: center;
      li {
        display: inline;
        margin: 0 .8em;
      }
    }
  }
  &[role=pagination] {
    a {
      position: absolute;
      top: 173px;
      display: block;
      padding: 7px 10px;
      font-size: 9px;
      letter-spacing: .2em;
      background: fade(@txt, 5%);
      z-index: 9999;
      -webkit-transition: padding .1s ease;
         -moz-transition: padding .1s ease;
      [role=tooltip] {
        position: absolute;
        top: 23px;
        white-space: nowrap;
        opacity: 0;
        padding: 7px 10px;
        color: #fff;
        background: fade(@link, 90%);
        pointer-events: none;
        -webkit-transition: opacity .1s ease, padding .1s ease;
           -moz-transition: opacity .1s ease, padding .1s ease;
      }
      &:hover {
        [role=tooltip] {
          opacity: 1;
        }
      }
      &[role=next] {
        left: 0;
        [role=tooltip] {
          left: 0;
        }
        &:hover {
          padding-left: 15px;
          [role=tooltip] {
            padding-left: 15px;
          }
        }
      }
      &[role=previous] {
        right: 0;
        [role=tooltip] {
          right: 0;
        }
        &:hover {
          padding-right: 15px;
          [role=tooltip] {
            padding-right: 15px;
          }
        }
      }
    }
  }
}

hgroup {
  .font-face;
  font-size: 24px;
  text-align: center;
  padding-top: 40px;
  max-width: @txt-width;
  margin: auto;
  > * {
    font-weight: normal;
  }
  h2 {
    .helvetica;
    padding-top: .4em;
  }
}

article {
  float: left;
  width: 100%;
  padding-top: 40px;
  a {
    border-bottom: 1px dotted fade(@txt, 10%); // set larger value for invert color
  }
  img, video {
    display: block;
    margin: 20px auto;
    max-width: 100%;
  }
  p {
  }
  .txt {
    max-width: @txt-width;
    font-size: 18px;
    margin: 0 auto;
    text-align: justify;
    -webkit-hyphens: auto;
       -moz-hyphens: auto;
            hyphens: auto;
    p {
      margin: 1em 0;
      line-height: 1.9;
    }
    h3 {
      .helvetica;
      padding: 60px 0 0;
      text-align: center;
      &:first-child {
        margin-top: -40px;
      }
    }
    ul, ol {
      margin: 1em 0 1em 20px;
      list-style: square;
      li {
        line-height: 1.8;
      }
    }
    blockquote {
      position: relative;
      padding-left: 40px;
      font-style: italic;
      &:before {
        position: absolute;
        top: -14px;
        left: -6px;
        content: '\201c';
        font-size: 96px;
        color: fade(@txt, 10%);
        font-family: 'Helvetica Neue', sans-serif;
        font-style: normal;
        z-index: -1;
        pointer-events: none;
      }
    }
    sup {
      line-height: 1;
    }
    abbr:after {
      content: " (" attr(title) ")";
    }
    code, pre {
      font-family: Menlo, monospace;
      color: #68a;
    }
  }
  div[role*=announcement] {
    text-align: center;
  }
  .note, .download {
    font-size: 20px;
    background-size: 36px 36px;
    padding-left: 48px;
  }
  .download {
    background: url(download.svg) no-repeat 0 0;
  }
  .note {
    background: url(note.svg) no-repeat 0 0;

  }
}

// word of the year override
[role=woty] {
  padding-top: 0;
}

// image list in "work"
@thumb-size: 64px;
@thumb-padding: 8px;

ul[role*=list] {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
  padding-top: 12px;
  clear: both;
  li {
    position: relative;
    list-style: none;
    float: left;
    line-height: 0;
    text-align: left;
    margin: 8px;
    img {
      width: @thumb-size;
      height: @thumb-size;
      max-width: @thumb-size;
      // override: article img
      margin: 0;
      background: @link;
    }
    a {
      position: absolute;
      top: -@thumb-padding;
      left: -@thumb-padding;
      padding: @thumb-padding;
      width: @thumb-size;
      height: @thumb-size;
      .font-face;
      color: #fff;
      font-size: 10px;
      line-height: 1.2;
      opacity: 0;
      border-bottom: none;
      background: fade(@link, 90%);
    }
    &:hover a {
      opacity: 1;
    }
  }
}

// image navigation in post page
ul[role$=small] {
  max-width: 640px;
  margin: 100px auto;
  padding: 60px 0 20px;
  li {
    img {
    }
    a {
      &:hover {
      }
    }
    &:hover a {
    }
  }
}

// post list in "note"
dl {
  text-align: center;
  margin-top: -40px;
  dt {
    line-height: 1;
    padding: 60px 0 0;
    .helvetica;
    a {
      border-bottom: none;
    }
    time + a {
      font-size: 16px;
    }
  }
  dd {
    margin-bottom: 40px;
  }
}

aside {
  padding: 40px 0 0;
  width: 200px;
  text-align: center;
  margin: 0 auto;
  clear: both;
  .bsap {
    padding: 10px 0 40px;
    .bsa_it_i {
      display: block;
    }
    .bsa_it_t {
      display: block;
      margin: 1em 0;
    }
    .bsa_it_d {
      display: block;
      margin: 1em 0;
      line-height: 1.7;
    }
    .bsa_it_p {
      display: block;
      font-size: 12px;
      a {
        color: fade(@txt, 40%);
        &:hover {
          color: #000;
        }
      }
    }
  }
}

footer {
  padding: 15px 0;
  .helvetica;
  font-size: 11px;
  text-align: center;
}

@media screen and (max-width: 640px) {
  article .txt {
    font-size: 16px;
  }
}

@media screen and (max-device-width: 480px) {
  :root {
    padding: 60px 20px;
    -webkit-text-size-adjust: none;
  }
  article .txt {
    font-size: 14px;
  }
}

/*!
  github.com/sparanoid/sparanoid.com
*/
/*!
*/

// variables
@txt-width: 620px;
@link: #e34; // #2ed for invert color
@bg: #fff;
@txt: #000;

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

@font-face {
  font-family: 'sparanoid.com';
  src: url('font.woff') format('woff'),
       url('font.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

.font-face {
  font-family: 'sparanoid.com', 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', sans-serif;
  text-transform: uppercase;
}

.helvetica {
  color: fade(@txt, 40%);
  font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .25em;
}

// basic configurations
* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-family: inherit;
  line-height: 1;
  text-decoration: none;
}

:root {
  color: @txt;
  background: @bg;
  font-size: 14px;
  font-family: Palatino, 'Palatino Linotype', 'Hiragino Mincho ProN', serif;
  line-height: 1.7;
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 40px;
  text-rendering: optimizelegibility;
  image-rendering: optimizequality;
}

a {
  color: @txt;
  -webkit-transition: color .5s ease, background .5s ease, opacity 1.5s ease;
     -moz-transition: color .5s ease, background .5s ease, opacity 1.5s ease;
}
  .a a, a:hover {
    color: @link;
    -webkit-transition: color .1s ease, background .1s ease, opacity .1s ease;
       -moz-transition: color .1s ease, background .1s ease, opacity .1s ease;
  }

ins {
  color: fade(@txt, 40%);
}

del {
  text-decoration: line-through;
}

::selection {
  background: fade(@txt, 5%);
}

// core styles begin
body:before, body:after {
  position: fixed;
  left: 0;
  width: 100%;
  content: '';
  z-index: 9999;
  pointer-events: none;
}
body:before {
  top: 0;
  height: 12px;
  background: fade(@txt, 5%);
  border-bottom: 1px solid fade(@txt, 2%);
}

header {
  a {
    display: block;
    height: 38px;
    width: 38px;
    margin: 0 auto;
    background: url(logo.svg) no-repeat 0 0;
    background-size: 38px 38px;
    text-indent: -9999em;
  }
}

nav {
  .helvetica;
  font-size: 11px;
  &[role=navigation] {
    padding: 10px 0 15px;
    ul {
      text-align: center;
      li {
        display: inline;
        margin: 0 .8em;
      }
    }
  }
  &[role=pagination] {
    a {
      position: absolute;
      top: 173px;
      display: block;
      padding: 7px 10px;
      font-size: 9px;
      letter-spacing: .2em;
      background: fade(@txt, 5%);
      z-index: 9999;
      -webkit-transition: padding .1s ease;
         -moz-transition: padding .1s ease;
      [role=tooltip] {
        position: absolute;
        top: 23px;
        white-space: nowrap;
        opacity: 0;
        padding: 7px 10px;
        color: #fff;
        background: fade(@link, 90%);
        pointer-events: none;
        -webkit-transition: opacity .1s ease, padding .1s ease;
           -moz-transition: opacity .1s ease, padding .1s ease;
      }
      &:hover {
        [role=tooltip] {
          opacity: 1;
        }
      }
      &[role=next] {
        left: 0;
        [role=tooltip] {
          left: 0;
        }
        &:hover {
          padding-left: 15px;
          [role=tooltip] {
            padding-left: 15px;
          }
        }
      }
      &[role=previous] {
        right: 0;
        [role=tooltip] {
          right: 0;
        }
        &:hover {
          padding-right: 15px;
          [role=tooltip] {
            padding-right: 15px;
          }
        }
      }
    }
  }
}

hgroup {
  .font-face;
  font-size: 24px;
  text-align: center;
  padding-top: 40px;
  max-width: @txt-width;
  margin: auto;
  > * {
    font-weight: normal;
  }
  h2 {
    .helvetica;
    padding-top: .4em;
  }
}

article {
  float: left;
  width: 100%;
  padding-top: 40px;
  a {
    border-bottom: 1px dotted fade(@txt, 10%); // set larger value for invert color
  }
  img, video {
    display: block;
    margin: 20px auto;
    max-width: 100%;
  }
  p {
  }
  .txt {
    max-width: @txt-width;
    font-size: 18px;
    margin: 0 auto;
    text-align: justify;
    -webkit-hyphens: auto;
       -moz-hyphens: auto;
            hyphens: auto;
    p {
      margin: 1em 0;
      line-height: 1.9;
    }
    h3 {
      .helvetica;
      padding: 60px 0 0;
      text-align: center;
      &:first-child {
        margin-top: -40px;
      }
    }
    ul, ol {
      margin: 1em 0 1em 20px;
      list-style: square;
      li {
        line-height: 1.8;
      }
    }
    blockquote {
      position: relative;
      padding-left: 40px;
      font-style: italic;
      &:before {
        position: absolute;
        top: -14px;
        left: -6px;
        content: '\201c';
        font-size: 96px;
        color: fade(@txt, 10%);
        font-family: 'Helvetica Neue', sans-serif;
        font-style: normal;
        z-index: -1;
        pointer-events: none;
      }
    }
    sup {
      line-height: 1;
    }
    abbr:after {
      content: " (" attr(title) ")";
    }
    code, pre {
      font-family: Menlo, monospace;
      color: #68a;
    }
  }
  div[role*=announcement] {
    text-align: center;
  }
  .note, .download {
    font-size: 20px;
    background-size: 36px 36px;
    padding-left: 48px;
  }
  .download {
    background: url(download.svg) no-repeat 0 0;
  }
  .note {
    background: url(note.svg) no-repeat 0 0;

  }
}

// word of the year override
[role=woty] {
  padding-top: 0;
}

// image list in "work"
@thumb-size: 64px;
@thumb-padding: 8px;

ul[role*=list] {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
  padding-top: 12px;
  clear: both;
  li {
    position: relative;
    list-style: none;
    float: left;
    line-height: 0;
    text-align: left;
    margin: 8px;
    img {
      width: @thumb-size;
      height: @thumb-size;
      max-width: @thumb-size;
      // override: article img
      margin: 0;
      background: @link;
    }
    a {
      position: absolute;
      top: -@thumb-padding;
      left: -@thumb-padding;
      padding: @thumb-padding;
      width: @thumb-size;
      height: @thumb-size;
      .font-face;
      color: #fff;
      font-size: 10px;
      line-height: 1.2;
      opacity: 0;
      border-bottom: none;
      background: fade(@txt, 80%);
    }
    &:hover a {
      opacity: 1;
    }
  }
}

// image navigation in post page
ul[role$=small] {
  max-width: 640px;
  margin: 100px auto;
  padding: 60px 0 20px;
  li {
    img {
    }
    a {
      &:hover {
      }
    }
    &:hover a {
    }
  }
}

// post list in "note"
dl {
  text-align: center;
  margin-top: -40px;
  dt {
    line-height: 1;
    padding: 60px 0 0;
    .helvetica;
    a {
      border-bottom: none;
    }
    time + a {
      font-size: 16px;
    }
  }
  dd {
    margin-bottom: 40px;
  }
}

aside {
  padding: 40px 0 0;
  width: 200px;
  text-align: center;
  margin: 0 auto;
  clear: both;
  .bsap {
    padding: 10px 0 40px;
    .bsa_it_i {
      display: block;
    }
    .bsa_it_t {
      display: block;
      margin: 1em 0;
    }
    .bsa_it_d {
      display: block;
      margin: 1em 0;
      line-height: 1.7;
    }
    .bsa_it_p {
      display: block;
      font-size: 12px;
      a {
        color: fade(@txt, 40%);
        &:hover {
          color: #000;
        }
      }
    }
  }
}

footer {
  padding: 15px 0;
  .helvetica;
  font-size: 11px;
  text-align: center;
}

@media screen and (max-width: 640px) {
  article .txt {
    font-size: 16px;
  }
}

@media screen and (max-device-width: 480px) {
  :root {
    padding: 60px 20px;
    -webkit-text-size-adjust: none;
  }
  article .txt {
    font-size: 14px;
  }
}


Fix pagination position, probably the last time I fix it.

/*!
  github.com/sparanoid/sparanoid.com
*/
/*!
*/

// global variables
@space: 70px;
@txt-width: 750px;
@link: #e34; // #2ed for invert color
@bg: #fff;
@txt: #000;

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

@font-face {
  font-family: PFDTCP-M; // PFDinTextCompPro-Medium.ttf
  src: url('font.woff') format('woff');
}

.font-face {
  font-family: 'PFDTCP-M', 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', sans-serif;
  text-transform: uppercase;
  font-weight: normal;
  letter-spacing: -.02em;
  font-size: 56px;
}

.helvetica {
  color: fade(@txt, 40%);
  font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', sans-serif;
  font-size: 12px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: .25em;
}

.transition(@transition) {
  -webkit-transition: @transition;
     -moz-transition: @transition;
}

// basic configurations
* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-family: inherit;
  line-height: 1;
  text-decoration: none;
}

:root {
  color: @txt;
  background: @bg;
  font-size: 28px;
  font-family: Palatino, 'Palatino Linotype', 'Hiragino Mincho ProN', serif;
  line-height: 1.7;
  max-width: 1080px;
  margin: 0 auto;
  padding: @space * 1.5 @space;
  text-rendering: optimizelegibility;
  image-rendering: optimizequality;
}

a {
  color: @txt;
  .transition(~"color .5s ease, background .5s ease, opacity 1.5s ease");
}
  a:hover {
    color: @link;
    .transition(~"color .1s ease, background .1s ease, opacity .1s ease");
  }

ins {
  color: fade(@txt, 40%);
}

del {
  text-decoration: line-through;
}

::selection {
  background: fade(@txt, 5%);
}

// core styles begin
body:before, body:after {
  position: fixed;
  left: 0;
  width: 100%;
  content: '';
  z-index: 9999;
  pointer-events: none;
}
body:before {
  top: 0;
  height: 12px;
  background: fade(@txt, 5%);
  border-bottom: 1px solid fade(@txt, 2%);
}

a[role=logo] {
  float: left;
  display: block;
  width: 31px;
  height: 36px;
  background: url(logo.svg) no-repeat 0 0;
  background-size: auto 36px; // 31px 36px
  text-indent: -9999em;
}

nav {
  .helvetica;
}

nav[role=navigation] {
  float: left;
  margin-left: 15px;
  li {
    display: inline;
    a {
      float: left;
      padding: 12px .8em 11px;
      font-weight: bold;
      -webkit-font-smoothing: antialiased;
      span {
        float: right; // fix a container size
        margin-left: -1em;
        letter-spacing: -.75em;
        opacity: 0;
        .transition(~"letter-spacing .2s ease, margin-left .2s ease, opacity .1s ease");
      }
    }
    &:hover, &[role=current] {
      a {
        color: @link;
        span {
          margin-left: 0;
          letter-spacing: .25em;
          opacity: 1;
        }
      }
    }
  }
}

nav[role=pagination] {
  a {
    position: absolute;
    top: 245px;
    display: block;
    padding: 7px 10px;
    font-size: 10px;
    letter-spacing: .2em;
    background: fade(@txt, 5%);
    z-index: 9999;
    -webkit-transition: padding .1s ease;
       -moz-transition: padding .1s ease;
    [role=tooltip] {
      position: absolute;
      top: 23px;
      white-space: nowrap;
      opacity: 0;
      padding: 7px 10px;
      color: #fff;
      background: fade(@link, 95%);
      pointer-events: none;
      -webkit-transition: opacity .1s ease, padding .1s ease;
         -moz-transition: opacity .1s ease, padding .1s ease;
    }
    &:hover {
      [role=tooltip] {
        opacity: 1;
      }
    }
    &[role=next] {
      left: 0;
      [role=tooltip] {
        left: 0;
      }
      &:hover {
        padding-left: 15px;
        [role=tooltip] {
          padding-left: 15px;
        }
      }
    }
    &[role=prev] {
      right: 0;
      [role=tooltip] {
        right: 0;
      }
      &:hover {
        padding-right: 15px;
        [role=tooltip] {
          padding-right: 15px;
        }
      }
    }
  }
}

hgroup {
  .font-face;
  padding-bottom: @space * 1.5 * 2/3;
  max-width: @txt-width;
  > * {
    font-weight: normal;
  }
  h2 {
    .helvetica;
    padding-top: .4em;
  }
}

article {
  float: left;
  width: 100%;
  padding-top: @space * 1.5;
  img, video {
    display: block;
    margin: 20px 0;
    max-width: 100%;
  }
  p {
  }
  .txt {
    max-width: @txt-width;
    -webkit-hyphens: auto;
       -moz-hyphens: auto;
            hyphens: auto;
    a {
      border-bottom: 1px dotted fade(@txt, 30%); // set larger value for invert color
    }
    p {
      margin: 1em 0;
      line-height: 1.6;
    }
    h3 {
      .helvetica;
      padding: @space * 1.5 0 0;
      &:first-child {
        margin-top: -@space;
      }
    }
    ul, ol {
      margin: 1em 0 1em 20px;
      list-style: square;
      li {
        line-height: 1.8;
      }
    }
    blockquote {
      position: relative;
      padding-left: @space * .75;
      font-style: italic;
      &:before {
        position: absolute;
        top: -16px;
        left: -8px;
        content: '\201c';
        font-size: 120px;
        line-height: 1;
        color: fade(@txt, 70%);
        font-family: 'Helvetica Neue', sans-serif;
        font-style: normal;
        z-index: -1;
        pointer-events: none;
      }
    }
    sup {
      line-height: 1;
    }
    abbr:after {
      content: " (" attr(title) ")";
    }
    code, pre {
      font-family: Menlo, monospace;
      color: #68a;
    }
  }
  .note, .download {
    background-size: 40px 40px;
    padding-left: 50px;
  }
  .download {
    background: url(download.svg) no-repeat 0 0;
  }
  .note {
    background: url(note.svg) no-repeat 0 0;

  }
}

// image list in "work"
@thumb-size: 96px;
@thumb-padding: 4px;

ul[role^=work-list] {
  padding-top: 12px;
  clear: both;
  margin-left: -@thumb-padding;
  margin-right: @thumb-padding;
  li {
    position: relative;
    list-style: none;
    float: left;
    line-height: 0;
    text-align: left;
    margin: @thumb-padding;
    img {
      width: @thumb-size;
      height: @thumb-size;
      // override: article img
      margin: 0;
      background: @link;
    }
    a {
      position: absolute;
      top: -@thumb-padding;
      left: -@thumb-padding;
      padding: @thumb-padding;
      width: @thumb-size;
      height: @thumb-size;
      .font-face;
      -webkit-font-smoothing: antialiased;
      color: #fff;
      font-size: 18px;
      line-height: 1.2;
      opacity: 0;
      background: fade(@link, 90%);
    }
    &:hover a {
      opacity: 1;
    }
  }
}

// image navigation in post page
h3[role=work-list-title] {
  .helvetica;
  padding: @space * 1.5 0 20px;
  float: left;
}

// post list in "note"
div[role^=note-list] {
  // make sure the last post next to footer has the correct margin value.
  margin-top: -@space;
  section {
    h2 {
      .font-face;
      margin: -3px 0 -12px;
      max-width: @txt-width;
      font-weight: normal;
      time {
        color: fade(@txt, 30%);
      }
      // an infinite symbol next to the post date
      time + a {
        // need line-height: 0 to make vertical-align work
        line-height: 0;
        vertical-align: 3px;
      }
    }
    padding-top: @space * 1.5;
  }
}

aside {
  padding: @space 0 0;
  width: 200px;
  clear: both;
  // BuySellAds block
  .bsap {
    padding: 10px 0 @space;
    .bsa_it_i {
      display: block;
    }
    .bsa_it_t {
      display: block;
      margin: 1em 0;
    }
    .bsa_it_d {
      display: block;
      margin: 1em 0;
      line-height: 1.7;
    }
    .bsa_it_p {
      display: block;
      font-size: 12px;
      a {
        color: fade(@txt, 40%);
        &:hover {
          color: #000;
        }
      }
    }
  }
}

footer {
  padding: 15px 0;
  .helvetica;
  font-size: 11px;
}

@media (max-width: 640px) {
  article .txt {
    font-size: 80%;
  }
}

@media (max-device-width: 480px) {
  :root {
    -webkit-text-size-adjust: none;
  }
}

@media (max-device-width: 480px) and (orientation: portrait) {
  :root {
    padding: @space * 1.5 20px;
  }
  ul[role^=work-list] {
    li {
      float: none;
      margin-bottom: @thumb-padding * 2;
      img {
        width: 100%;
        // should be 100%, but Safari for iOS has stupid bug for it.
        height: auto;
      }
      a {
        width: 100%;
        height: 100%;
        font-size: 24px;
      }
    }
  }
}

/*!
  github.com/sparanoid/sparanoid.com
*/
/*!
*/

// global variables
@space: 70px;
@txt-width: 750px;
@link: #e34; // #2ed for invert color
@bg: #fff;
@txt: #000;

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

@font-face {
  font-family: PFDTCP-M; // PFDinTextCompPro-Medium.ttf
  src: url('font.woff') format('woff');
}

.font-face {
  font-family: 'PFDTCP-M', 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', sans-serif;
  text-transform: uppercase;
  font-weight: normal;
  letter-spacing: -.02em;
  font-size: 56px;
}

.helvetica {
  color: fade(@txt, 40%);
  font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', sans-serif;
  font-size: 12px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: .25em;
}

.transition(@transition) {
  -webkit-transition: @transition;
     -moz-transition: @transition;
}

// basic configurations
* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-family: inherit;
  line-height: 1;
  text-decoration: none;
}

:root {
  color: @txt;
  background: @bg;
  font-size: 28px;
  font-family: Palatino, 'Palatino Linotype', 'Hiragino Mincho ProN', serif;
  line-height: 1.7;
  max-width: 1080px;
  margin: 0 auto;
  padding: @space * 1.5 @space;
  text-rendering: optimizelegibility;
  image-rendering: optimizequality;
}

a {
  color: @txt;
  .transition(~"color .5s ease, background .5s ease, opacity 1.5s ease");
}
  a:hover {
    color: @link;
    .transition(~"color .1s ease, background .1s ease, opacity .1s ease");
  }

ins {
  color: fade(@txt, 40%);
}

del {
  text-decoration: line-through;
}

::selection {
  background: fade(@txt, 5%);
}

// core styles begin
body:before, body:after {
  position: fixed;
  left: 0;
  width: 100%;
  content: '';
  z-index: 9999;
  pointer-events: none;
}
body:before {
  top: 0;
  height: 12px;
  background: fade(@txt, 5%);
  border-bottom: 1px solid fade(@txt, 2%);
}

a[role=logo] {
  float: left;
  display: block;
  width: 31px;
  height: 36px;
  background: url(logo.svg) no-repeat 0 0;
  background-size: auto 36px; // 31px 36px
  text-indent: -9999em;
}

nav {
  .helvetica;
}

nav[role=navigation] {
  float: left;
  margin-left: 15px;
  li {
    display: inline;
    a {
      float: left;
      padding: 12px .8em 11px;
      font-weight: bold;
      -webkit-font-smoothing: antialiased;
      span {
        float: right; // fix a container size
        margin-left: -1em;
        letter-spacing: -.75em;
        opacity: 0;
        .transition(~"letter-spacing .2s ease, margin-left .2s ease, opacity .1s ease");
      }
    }
    &:hover, &[role=current] {
      a {
        color: @link;
        span {
          margin-left: 0;
          letter-spacing: .25em;
          opacity: 1;
        }
      }
    }
  }
}

nav[role=pagination] {
  a {
    position: absolute;
    top: 247px;
    display: block;
    padding: 7px 10px;
    font-size: 10px;
    letter-spacing: .2em;
    background: fade(@txt, 5%);
    z-index: 9999;
    -webkit-transition: padding .1s ease;
       -moz-transition: padding .1s ease;
    [role=tooltip] {
      position: absolute;
      top: 23px;
      white-space: nowrap;
      opacity: 0;
      padding: 7px 10px;
      color: #fff;
      background: fade(@link, 95%);
      pointer-events: none;
      -webkit-transition: opacity .1s ease, padding .1s ease;
         -moz-transition: opacity .1s ease, padding .1s ease;
    }
    &:hover {
      [role=tooltip] {
        opacity: 1;
      }
    }
    &[role=next] {
      left: 0;
      [role=tooltip] {
        left: 0;
      }
      &:hover {
        padding-left: 15px;
        [role=tooltip] {
          padding-left: 15px;
        }
      }
    }
    &[role=prev] {
      right: 0;
      [role=tooltip] {
        right: 0;
      }
      &:hover {
        padding-right: 15px;
        [role=tooltip] {
          padding-right: 15px;
        }
      }
    }
  }
}

hgroup {
  .font-face;
  padding-bottom: @space * 1.5 * 2/3;
  max-width: @txt-width;
  > * {
    font-weight: normal;
  }
  h2 {
    .helvetica;
    padding-top: .4em;
  }
}

article {
  float: left;
  width: 100%;
  padding-top: @space;
  img, video {
    display: block;
    margin: 20px 0;
    max-width: 100%;
  }
  p {
  }
  .txt {
    max-width: @txt-width;
    -webkit-hyphens: auto;
       -moz-hyphens: auto;
            hyphens: auto;
    a {
      border-bottom: 1px dotted fade(@txt, 30%); // set larger value for invert color
    }
    p {
      margin: 1em 0;
      line-height: 1.6;
    }
    h3 {
      .helvetica;
      padding: @space * 1.5 0 0;
      &:first-child {
        margin-top: -@space;
      }
    }
    ul, ol {
      margin: 1em 0 1em 20px;
      list-style: square;
      li {
        line-height: 1.8;
      }
    }
    blockquote {
      position: relative;
      padding-left: @space * .75;
      font-style: italic;
      &:before {
        position: absolute;
        top: -16px;
        left: -8px;
        content: '\201c';
        font-size: 120px;
        line-height: 1;
        color: fade(@txt, 70%);
        font-family: 'Helvetica Neue', sans-serif;
        font-style: normal;
        z-index: -1;
        pointer-events: none;
      }
    }
    sup {
      line-height: 1;
    }
    abbr:after {
      content: " (" attr(title) ")";
    }
    code, pre {
      font-family: Menlo, monospace;
      color: #68a;
    }
  }
  .note, .download {
    background-size: 40px 40px;
    padding-left: 50px;
  }
  .download {
    background: url(download.svg) no-repeat 0 0;
  }
  .note {
    background: url(note.svg) no-repeat 0 0;

  }
}

// image list in "work"
@thumb-size: 96px;
@thumb-padding: 4px;

ul[role^=work-list] {
  padding-top: 12px;
  clear: both;
  margin-left: -@thumb-padding;
  margin-right: @thumb-padding;
  li {
    position: relative;
    list-style: none;
    float: left;
    line-height: 0;
    text-align: left;
    margin: @thumb-padding;
    img {
      width: @thumb-size;
      height: @thumb-size;
      // override: article img
      margin: 0;
      background: @link;
    }
    a {
      position: absolute;
      top: -@thumb-padding;
      left: -@thumb-padding;
      padding: @thumb-padding;
      width: @thumb-size;
      height: @thumb-size;
      .font-face;
      -webkit-font-smoothing: antialiased;
      color: #fff;
      font-size: 18px;
      line-height: 1.2;
      opacity: 0;
      background: fade(@link, 90%);
    }
    &:hover a {
      opacity: 1;
    }
  }
}

// image navigation in post page
h3[role=work-list-title] {
  .helvetica;
  padding: @space * 1.5 0 20px;
  float: left;
}

// post list in "note"
div[role^=note-list] {
  // make sure the last post next to footer has the correct margin value.
  margin-top: -@space;
  section {
    h2 {
      .font-face;
      margin: -3px 0 -12px;
      max-width: @txt-width;
      font-weight: normal;
      time {
        color: fade(@txt, 30%);
      }
      // an infinite symbol next to the post date
      time + a {
        // need line-height: 0 to make vertical-align work
        line-height: 0;
        vertical-align: 3px;
      }
    }
    padding-top: @space * 1.5;
  }
}

aside {
  padding: @space 0 0;
  width: 200px;
  clear: both;
  // BuySellAds block
  .bsap {
    padding: 10px 0 @space;
    .bsa_it_i {
      display: block;
    }
    .bsa_it_t {
      display: block;
      margin: 1em 0;
    }
    .bsa_it_d {
      display: block;
      margin: 1em 0;
      line-height: 1.7;
    }
    .bsa_it_p {
      display: block;
      font-size: 12px;
      a {
        color: fade(@txt, 40%);
        &:hover {
          color: #000;
        }
      }
    }
  }
}

footer {
  padding: 15px 0;
  .helvetica;
  font-size: 11px;
}

@media (max-width: 640px) {
  article .txt {
    font-size: 80%;
  }
}

@media (max-device-width: 480px) {
  :root {
    -webkit-text-size-adjust: none;
  }
}

@media (max-device-width: 480px) and (orientation: portrait) {
  :root {
    padding: @space * 1.5 20px;
  }
  ul[role^=work-list] {
    li {
      float: none;
      margin-bottom: @thumb-padding * 2;
      img {
        width: 100%;
        // should be 100%, but Safari for iOS has stupid bug for it.
        height: auto;
      }
      a {
        width: 100%;
        height: 100%;
        font-size: 24px;
      }
    }
  }
}