screen.scss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. /* Welcome to Compass.
  2. * In this file you should write your main styles. (or centralize your imports)
  3. * Import this file using the following HTML or equivalent:
  4. * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
  5. @import "compass/reset";
  6. @import "compass/css3/box-sizing";
  7. @import "compass/utilities/general/clearfix";
  8. @import "colors.scss";
  9. @import url(https://fonts.googleapis.com/css?family=Noto+Sans:400,400italic,700|Vollkorn);
  10. * {
  11. @include box-sizing(border-box);
  12. }
  13. $pad: 20px;
  14. $fSansSerif: "Noto Sans", Verdana, sans-serif;
  15. $fSerif: Vollkorn, serif;
  16. body {
  17. background-color: $cMainBG;
  18. color: $cMainText;
  19. font-family: $fSansSerif;
  20. }
  21. .grid {
  22. margin: $pad 0 $pad $pad;
  23. &:after {
  24. content: '';
  25. display: table;
  26. clear: both;
  27. }
  28. }
  29. [class*='col-'] {
  30. float: left;
  31. padding-right: $pad;
  32. }
  33. .col-twelfth { width: 8.33% }
  34. .col-sixth { width: 16.66%; }
  35. .col-quarter { width: 25%; }
  36. .col-third { width: 33.33%; }
  37. .col-fivetwelfth { width: 41.66%; }
  38. .col-half { width: 50%; }
  39. .col-seventwelfth { width: 58.33%; }
  40. .col-twothird { width: 66.66%; }
  41. .col-threequarter { width: 75%; }
  42. .col-fivesixth { width: 83.33%; }
  43. .col-eleventwelfth { width: 91.66%; }
  44. .col-full { width: 100%; }
  45. #sidebar {
  46. margin-left: 20px;
  47. float: left;
  48. width: 200px;
  49. }
  50. @import "content";
  51. @import "box";
  52. #title-bar {
  53. margin: 20px;
  54. background: radial_gradient(transparent 5%, transparentize($cMainBG, .2) 50%, $cMainBG 60%), url("../bg-army.png") no-repeat center;
  55. .logo {
  56. text-align: center;
  57. font-family: serif;
  58. font-size: xx-large;
  59. text-transform: uppercase;
  60. text-shadow: 1px 1px 2px #111;
  61. img {
  62. height: 70px;
  63. vertical-align: middle;
  64. }
  65. }
  66. .title-left {
  67. padding-left: 5px;
  68. padding-right: 5px;
  69. border-bottom: 20px solid $cMenuOutline;
  70. border-right: 15px solid rgba(0,0,0,0);
  71. display: inline-block;
  72. height: 0;
  73. line-height: 22px;
  74. //font-family: $fSerif;
  75. //font-variant: small-caps;
  76. font-size: smaller;
  77. //text-shadow: 1px 1px 2px #111;
  78. color: $cBoxHeading;
  79. }
  80. .title-right {
  81. padding-left: 5px;
  82. padding-right: 5px;
  83. border-bottom: 20px solid $cMenuOutline;
  84. border-left: 15px solid rgba(0,0,0,0);
  85. display: inline-block;
  86. height: 0;
  87. line-height: 22px;
  88. /*font-family: $fSerif;
  89. font-variant: small-caps;*/
  90. font-size: smaller;
  91. //text-shadow: 1px 1px 2px #111;
  92. color: $cBoxHeading;
  93. float: right;
  94. }
  95. .body {
  96. display: block;
  97. }
  98. .top-menu {
  99. display: flex;
  100. width: 100%;
  101. li {
  102. flex-grow: 1;
  103. padding: 5px;
  104. padding-top: 7px;
  105. text-align: center;
  106. width: 10px;
  107. transition: all .3s ease;
  108. font-family: $fSerif;
  109. font-variant: small-caps;
  110. text-shadow: 1px 1px 2px #111;
  111. a {
  112. text-decoration: none;
  113. color: $cMainText;
  114. display: block;
  115. }
  116. &:hover {
  117. background-color: $cMenuHover;
  118. }
  119. }
  120. }
  121. }
  122. .menu {
  123. a {
  124. text-decoration: none;
  125. font-style: italic;
  126. font-size: smaller;
  127. color: $cMainText;
  128. display: block;
  129. }
  130. li {
  131. padding: 7px 0 5px 5px;
  132. transition: all .3s ease;
  133. &:before {
  134. content: "\f054";
  135. font-family: FontAwesome, serif;
  136. float: left; width: 0;
  137. font-size: smaller;
  138. transition: all .3s cubic-bezier(.68,-0.55,.27,1.55);
  139. color: transparent;
  140. }
  141. &:hover {
  142. background-color: $cMenuHover;
  143. &:before {
  144. color: inherit;
  145. width: 12px;
  146. }
  147. }
  148. &.title {
  149. font-weight: bold;
  150. }
  151. }
  152. }
  153. .content-header {
  154. text-align: center;
  155. border-bottom: 2px solid $cMenuOutline;
  156. .pageTitle {
  157. text-align: center;
  158. margin: 0 auto;
  159. border-bottom: 30px solid $cMenuOutline;
  160. border-right: 20px solid rgba(0, 0, 0, 0);
  161. border-left: 20px solid rgba(0, 0, 0, 0);
  162. display: inline-block;
  163. height: 0;
  164. line-height: 32px;
  165. font-family: $fSerif;
  166. font-variant: small-caps;
  167. text-shadow: 1px 1px 2px #111;
  168. color: $cBoxHeading;
  169. }
  170. }
  171. .content-footer {
  172. text-align: center;
  173. border-top: 1px solid $cMenuOutline;
  174. clear: both;
  175. .copy {
  176. text-align: center;
  177. border-top: 15px solid $cMenuOutline;
  178. border-right: 10px solid rgba(0, 0, 0, 0);
  179. border-left: 10px solid rgba(0, 0, 0, 0);
  180. display: inline-block;
  181. height: 0;
  182. line-height: 0;
  183. margin: 0; padding: 0;
  184. font-size: x-small;
  185. color: $cBoxHeading;
  186. div {
  187. position: relative;
  188. top: -14px;
  189. }
  190. }
  191. }
  192. .content-body {
  193. background-color: $cContentBG;
  194. padding: $pad;
  195. @include clearfix;
  196. }