style-guide.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. /******************************************************************
  2. Site Name:
  3. Author:
  4. Stylesheet: Style Guide Stylesheet
  5. Creating a style guide is crazy helpful for your clients and
  6. will allow them to see how their site works. We want to try
  7. and automate this as much as possible, but you will probably
  8. have to customize this so it looks ok. Remember, this page
  9. doesn't need to look as nice as the rest of the site since it's
  10. just a reference page.
  11. THIS PAGE IS NOT RESPONSIVE!
  12. There's really no need, so we skipped it here. You can add it
  13. if you feel it's important, but your client should be ok.
  14. ******************************************************************/
  15. /*
  16. We're going to import the basic styles.
  17. If we built the site out correctly :), then
  18. we should have the bulk of the styles applied
  19. to our style guide automatically. You can add
  20. anything we missed on this file.
  21. (i.e. the grid or desktop only styles)
  22. */
  23. @import "normalize";
  24. @import "mixins";
  25. @import "base";
  26. /********************
  27. STYLE GUIDE LAYOUT
  28. This cleans up the page &
  29. gives it it's simple look.
  30. ********************/
  31. body.style-guide {
  32. background: #eee;
  33. }
  34. #sg-container {
  35. width: 960px;
  36. margin: 40px auto;
  37. }
  38. #sg-content {
  39. padding: 20px 40px;
  40. background: #fcfcfc;
  41. border: 1px solid #ddd;
  42. }
  43. #sg-logo {
  44. margin: 40px auto;
  45. }
  46. #sg-menu {
  47. width: 200px;
  48. float: left;
  49. font-family: sans-serif;
  50. font-weight: 700;
  51. a, a:visited {
  52. text-decoration: none;
  53. text-shadow: 0 1px 1px $white;
  54. }
  55. li ul {
  56. margin: 0.375em 0 0.5em 1em;
  57. font-weight: normal;
  58. font-size: 0.85em;
  59. }
  60. }
  61. #sg-main {
  62. width: 640px;
  63. float: right;
  64. }
  65. /*
  66. If you're using icon fonts, you can display
  67. a table with each character so it's easy to
  68. find which icon is mapped to which character.
  69. */
  70. /* icon table example */
  71. .icon-font-example {
  72. width: 150px;
  73. float: right;
  74. margin-left: 20px;
  75. border: 1px solid #ccc;
  76. padding: 1px;
  77. }
  78. .icon-font-guide,
  79. .icon-font-example {
  80. th {
  81. background: #1a90d9;
  82. padding: 7px 2px;
  83. text-align: center;
  84. font-weight: normal;
  85. color: darken(#1a90d9, 50%);
  86. text-shadow: 0 1px 1px lighten(#1a90d9, 9%);
  87. font-family: sans-serif;
  88. font-size: 12px;
  89. }
  90. td {
  91. width: 99px;
  92. padding: 1px;
  93. border: 1px solid #ccc;
  94. }
  95. em,
  96. p {
  97. font-family: sans-serif;
  98. display: block;
  99. text-align: center;
  100. font-size: 12px;
  101. line-height: 22px;
  102. }
  103. em {
  104. background: #eee;
  105. }
  106. span {
  107. text-align: center;
  108. display: block;
  109. font-size: 42px;
  110. line-height: 72px;
  111. color: #1a90d9;
  112. }
  113. p {
  114. padding: 0;
  115. color: #fff;
  116. background: #1a90d9;
  117. }
  118. }
  119. /*
  120. This class highlights anything you need
  121. to edit or change before you present the
  122. style guide to your client.
  123. */
  124. .sg-highlight {
  125. background: #ebe16f;
  126. border-bottom: 1px dashed darken(#ebe16f, 30%);
  127. }
  128. /********************
  129. SITE COLOR SCHEME
  130. If you changed these in
  131. the mixins file, you'll
  132. want to change them here.
  133. ********************/
  134. /********************
  135. ADDITIONAL STYLE GUIDE STYLES
  136. Here we can add anything we missed.
  137. ********************/