screen.scss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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, transparentize($cMainBG, .2) 60%, $cMainBG 70%) no-repeat center, url("../bg-army.png") no-repeat center;
  55. background-size: 853px, auto;
  56. .logo {
  57. text-align: center;
  58. font-family: serif;
  59. font-size: xx-large;
  60. text-transform: uppercase;
  61. text-shadow: 1px 1px 2px #111;
  62. img {
  63. height: 70px;
  64. vertical-align: middle;
  65. background: radial_gradient($cMainBG, transparent);
  66. }
  67. }
  68. .titles {
  69. display: flex;
  70. justify-content: space-between;
  71. .left {
  72. padding-left: 5px;
  73. padding-right: 5px;
  74. border-bottom: 20px solid $cMenuOutline;
  75. border-right: 15px solid rgba(0,0,0,0);
  76. display: inline-block;
  77. height: 0;
  78. line-height: 22px;
  79. font-size: smaller;
  80. //text-shadow: 1px 1px 2px #111;
  81. color: $cBoxHeading;
  82. }
  83. .right {
  84. padding-left: 5px;
  85. padding-right: 5px;
  86. border-bottom: 20px solid $cMenuOutline;
  87. border-left: 15px solid rgba(0,0,0,0);
  88. display: inline-block;
  89. height: 0;
  90. line-height: 22px;
  91. /*font-family: $fSerif;
  92. font-variant: small-caps;*/
  93. font-size: smaller;
  94. //text-shadow: 1px 1px 2px #111;
  95. color: $cBoxHeading;
  96. float: right;
  97. }
  98. }
  99. .body {
  100. display: block;
  101. }
  102. .top-menu {
  103. display: flex;
  104. width: 100%;
  105. li {
  106. flex-grow: 1;
  107. padding: 5px;
  108. padding-top: 7px;
  109. text-align: center;
  110. width: 10px;
  111. transition: all .3s ease;
  112. font-family: $fSerif;
  113. font-variant: small-caps;
  114. text-shadow: 1px 1px 2px #111;
  115. a {
  116. text-decoration: none;
  117. color: $cMainText;
  118. display: block;
  119. }
  120. &:hover {
  121. background-color: $cMenuHover;
  122. }
  123. }
  124. }
  125. }
  126. .menu {
  127. a {
  128. text-decoration: none;
  129. font-style: italic;
  130. font-size: smaller;
  131. color: $cMainText;
  132. display: block;
  133. }
  134. li {
  135. padding: 7px 0 5px 5px;
  136. transition: all .3s ease;
  137. &:before {
  138. content: "\f054";
  139. font-family: FontAwesome, serif;
  140. float: left; width: 0;
  141. font-size: smaller;
  142. transition: all .3s cubic-bezier(.68,-0.55,.27,1.55);
  143. color: transparent;
  144. }
  145. &:hover {
  146. background-color: $cMenuHover;
  147. &:before {
  148. color: inherit;
  149. width: 12px;
  150. }
  151. }
  152. &.title {
  153. font-weight: bold;
  154. }
  155. }
  156. }
  157. .content-header {
  158. text-align: center;
  159. border-bottom: 2px solid $cMenuOutline;
  160. .pageTitle {
  161. text-align: center;
  162. margin: 0 auto;
  163. border-bottom: 30px solid $cMenuOutline;
  164. border-right: 20px solid rgba(0, 0, 0, 0);
  165. border-left: 20px solid rgba(0, 0, 0, 0);
  166. display: inline-block;
  167. height: 0;
  168. line-height: 32px;
  169. font-family: $fSerif;
  170. font-variant: small-caps;
  171. text-shadow: 1px 1px 2px #111;
  172. color: $cBoxHeading;
  173. }
  174. }
  175. .content-footer {
  176. text-align: center;
  177. border-top: 1px solid $cMenuOutline;
  178. clear: both;
  179. .copy {
  180. text-align: center;
  181. border-top: 15px solid $cMenuOutline;
  182. border-right: 10px solid rgba(0, 0, 0, 0);
  183. border-left: 10px solid rgba(0, 0, 0, 0);
  184. display: inline-block;
  185. height: 0;
  186. line-height: 0;
  187. margin: 0; padding: 0;
  188. font-size: x-small;
  189. color: $cBoxHeading;
  190. div {
  191. position: relative;
  192. top: -14px;
  193. }
  194. }
  195. }
  196. .content-body {
  197. background-color: $cContentBG;
  198. padding: $pad;
  199. @include clearfix;
  200. }