You are here

simple-styleguide.css in Simple Style Guide 8

.simple-styleguide--site-styles {
  width: 100%;
  max-width: 1030px;
  margin-left: auto;
  margin-right: auto;
}
.simple-styleguide--site-styles h3.simple-styleguide--sectionhead {
  padding: 20px 20px 12px 0;
  margin: 80px 0 10px 0;
  color: #000;
  font-size: 1.2rem;
  position: relative;
  border-bottom: 4px solid #000;
  border-top: 1px solid #000;
  text-transform: uppercase;
}
.simple-styleguide--site-styles h3.simple-styleguide--sectionhead.first {
  margin-top: 20px;
}
.simple-styleguide--site-styles .simple-styleguide {
  margin: 40px 0;
}
.simple-styleguide--site-styles .simple-styleguide:after {
  content: "";
  display: block;
  clear: both;
}
.simple-styleguide--site-styles .label {
  background: #ccc;
}
.simple-styleguide--site-styles .simple-styleguide code {
  display: block;
  background: #eee;
  padding: 10px;
  margin-top: 20px;
  color: #9e9e9e;
  line-height: 1.5;
}

.simple-styleguide--jump-nav {
  display: flex;
  flex-wrap: wrap;
  margin: 5px 0 0 0;
}

.simple-styleguide--jump-nav li {
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
  width: 100%;
}

@media (min-width: 480px) {
  .simple-styleguide--jump-nav li {
    width: 50%;
  }
}

@media (min-width: 600px) {
  .simple-styleguide--jump-nav li {
    width: 25%;
  }
}

.simple-styleguide--view-sourecode {
  cursor: pointer;
}

.simple-styleguide pre {
  display: none;
  background: #f1f1f1;
  padding: 20px;
  border: 1px solid #fff;
  border-bottom: 4px solid #fff;
  font-family: monospace;
}

.simple-styleguide pre.active {
  display: block;
}

.simple-styleguide--pattern {
  margin-top: 20px;
}

.simple-styleguide--colors {
  display: flex;
  flex-wrap: wrap;
}

.simple-styleguide--color {
  /*border: 1px solid #d3d3d3;*/
  margin-right: 2%;
  margin-bottom: 15px;
  width: 48%;
}

.simple-styleguide--color:nth-child(2n) {
  margin-right: 0;
}

@media (min-width: 600px) {
  .simple-styleguide--color {
    margin-right: 2%;
    margin-bottom: 15px;
    width: 23%;
  }
  .simple-styleguide--color:nth-child(2n) {
    margin-right: 2%;
  }
  .simple-styleguide--color:nth-child(4n) {
    margin-right: 0;
  }
}


.simple-styleguide--color--swatch--class,
.simple-styleguide--color--swatch--values,
.simple-styleguide--color--swatch--usage {
  display: block;
  font-size: 10px;
  font-family: sans-serif;
}

.simple-styleguide--color--swatch--class label,
.simple-styleguide--color--swatch--values label,
.simple-styleguide--color--swatch label {
  display: inline;
  font-weight: bold;
}

.simple-styleguide--color--swatch {
  padding: 4%;
  background: #fff;
}

.simple-styleguide--site-styles .simple-styleguide--color--block {
  width: 100%;
  height: 100px;
  border: 1px solid #fff;
}

.simple-styleguide .calculate .info {
  display: block;
  font-size: 10px;
  font-family: sans-serif;
}

.simple-styleguide .calculate .info label {
  font-weight: bold;
  display: inline;
}

File

css/simple-styleguide.css
View source
  1. .simple-styleguide--site-styles {
  2. width: 100%;
  3. max-width: 1030px;
  4. margin-left: auto;
  5. margin-right: auto;
  6. }
  7. .simple-styleguide--site-styles h3.simple-styleguide--sectionhead {
  8. padding: 20px 20px 12px 0;
  9. margin: 80px 0 10px 0;
  10. color: #000;
  11. font-size: 1.2rem;
  12. position: relative;
  13. border-bottom: 4px solid #000;
  14. border-top: 1px solid #000;
  15. text-transform: uppercase;
  16. }
  17. .simple-styleguide--site-styles h3.simple-styleguide--sectionhead.first {
  18. margin-top: 20px;
  19. }
  20. .simple-styleguide--site-styles .simple-styleguide {
  21. margin: 40px 0;
  22. }
  23. .simple-styleguide--site-styles .simple-styleguide:after {
  24. content: "";
  25. display: block;
  26. clear: both;
  27. }
  28. .simple-styleguide--site-styles .label {
  29. background: #ccc;
  30. }
  31. .simple-styleguide--site-styles .simple-styleguide code {
  32. display: block;
  33. background: #eee;
  34. padding: 10px;
  35. margin-top: 20px;
  36. color: #9e9e9e;
  37. line-height: 1.5;
  38. }
  39. .simple-styleguide--jump-nav {
  40. display: flex;
  41. flex-wrap: wrap;
  42. margin: 5px 0 0 0;
  43. }
  44. .simple-styleguide--jump-nav li {
  45. list-style: none;
  46. margin: 0 0 10px 0;
  47. padding: 0;
  48. width: 100%;
  49. }
  50. @media (min-width: 480px) {
  51. .simple-styleguide--jump-nav li {
  52. width: 50%;
  53. }
  54. }
  55. @media (min-width: 600px) {
  56. .simple-styleguide--jump-nav li {
  57. width: 25%;
  58. }
  59. }
  60. .simple-styleguide--view-sourecode {
  61. cursor: pointer;
  62. }
  63. .simple-styleguide pre {
  64. display: none;
  65. background: #f1f1f1;
  66. padding: 20px;
  67. border: 1px solid #fff;
  68. border-bottom: 4px solid #fff;
  69. font-family: monospace;
  70. }
  71. .simple-styleguide pre.active {
  72. display: block;
  73. }
  74. .simple-styleguide--pattern {
  75. margin-top: 20px;
  76. }
  77. .simple-styleguide--colors {
  78. display: flex;
  79. flex-wrap: wrap;
  80. }
  81. .simple-styleguide--color {
  82. /*border: 1px solid #d3d3d3;*/
  83. margin-right: 2%;
  84. margin-bottom: 15px;
  85. width: 48%;
  86. }
  87. .simple-styleguide--color:nth-child(2n) {
  88. margin-right: 0;
  89. }
  90. @media (min-width: 600px) {
  91. .simple-styleguide--color {
  92. margin-right: 2%;
  93. margin-bottom: 15px;
  94. width: 23%;
  95. }
  96. .simple-styleguide--color:nth-child(2n) {
  97. margin-right: 2%;
  98. }
  99. .simple-styleguide--color:nth-child(4n) {
  100. margin-right: 0;
  101. }
  102. }
  103. .simple-styleguide--color--swatch--class,
  104. .simple-styleguide--color--swatch--values,
  105. .simple-styleguide--color--swatch--usage {
  106. display: block;
  107. font-size: 10px;
  108. font-family: sans-serif;
  109. }
  110. .simple-styleguide--color--swatch--class label,
  111. .simple-styleguide--color--swatch--values label,
  112. .simple-styleguide--color--swatch label {
  113. display: inline;
  114. font-weight: bold;
  115. }
  116. .simple-styleguide--color--swatch {
  117. padding: 4%;
  118. background: #fff;
  119. }
  120. .simple-styleguide--site-styles .simple-styleguide--color--block {
  121. width: 100%;
  122. height: 100px;
  123. border: 1px solid #fff;
  124. }
  125. .simple-styleguide .calculate .info {
  126. display: block;
  127. font-size: 10px;
  128. font-family: sans-serif;
  129. }
  130. .simple-styleguide .calculate .info label {
  131. font-weight: bold;
  132. display: inline;
  133. }