all repos — hastystyles @ 2beb1125ba73201b74f93b380ae9d8a247e0421a

The stylesheets for HastyScrybe and HastySite.

styles/_layout.less

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
body {
  background-color:#fff;
  margin: 0 auto;
  height:100%;
  zoom: 1;
  letter-spacing: normal;
  word-spacing: normal;
  color:@text-color;
  font:15px @sans-font;
  line-height:1.4;
  -webkit-font-smoothing:antialiased;
  width: 960px;
  .mix-hyphens(auto);
  text-align: justify;
}

@media screen and (max-width: 659px) {
  body {
    width: 100%;
  }
}

@media screen and (min-width: 660px) {
  body {
    width: 660px;
  }
}

#main, #footer, #header {
  width: 94%;
  margin:auto;
}

#footer {
  border-top: 1px solid @gray-d;
  text-align: center;
  font-size: 75%;
  p {
    line-height: 0.6em;
  }
}

#toc {
  margin-top: -10px;
  ul {
    list-style-type: none;
    padding-left: 20px;
  }
  & > ul {
    padding-left: 0;
  }
}