screen.scss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  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. min-width: 1000px;
  21. }
  22. #flex {
  23. display: flex;
  24. align-content: space-between;
  25. }
  26. .grid {
  27. margin: $pad 0 $pad $pad;
  28. &:after {
  29. content: '';
  30. display: table;
  31. clear: both;
  32. }
  33. }
  34. [class*='col-'] {
  35. float: left;
  36. padding-right: $pad;
  37. }
  38. .col-twelfth { width: 8.33% }
  39. .col-sixth { width: 16.66%; }
  40. .col-quarter { width: 25%; }
  41. .col-third { width: 33.33%; }
  42. .col-fivetwelfth { width: 41.66%; }
  43. .col-half { width: 50%; }
  44. .col-seventwelfth { width: 58.33%; }
  45. .col-twothird { width: 66.66%; }
  46. .col-threequarter { width: 75%; }
  47. .col-fivesixth { width: 83.33%; }
  48. .col-eleventwelfth { width: 91.66%; }
  49. .col-full { width: 100%; }
  50. #sidebar {
  51. margin-left: 20px;
  52. width: 200px;
  53. flex-grow: 0;
  54. flex-shrink: 0;
  55. }
  56. #sidebar-right {
  57. width: 200px;
  58. }
  59. @import "content";
  60. @import "box";
  61. #title-bar {
  62. margin: 20px;
  63. background: radial_gradient(transparent, transparentize($cMainBG, .2) 60%, $cMainBG 70%) no-repeat center, url("../bg-army.png") no-repeat center;
  64. // background-size: 853px, auto;
  65. a.logo {
  66. text-align: center;
  67. font-family: serif;
  68. font-size: xx-large;
  69. text-transform: uppercase;
  70. text-shadow: 1px 1px 2px #111;
  71. display: block;
  72. text-decoration: none;
  73. color: $cMainText;
  74. img {
  75. height: 70px;
  76. vertical-align: middle;
  77. background: radial_gradient($cMainBG, transparent);
  78. }
  79. }
  80. .titles {
  81. display: flex;
  82. justify-content: space-between;
  83. .left {
  84. padding-left: 5px;
  85. padding-right: 5px;
  86. border-bottom: 20px solid $cMenuOutline;
  87. border-right: 15px solid rgba(0,0,0,0);
  88. display: inline-block;
  89. height: 0;
  90. line-height: 22px;
  91. font-size: smaller;
  92. text-shadow: 1px 1px 2px transparentize(#444, .2);
  93. color: $cBoxHeading;
  94. }
  95. .right {
  96. padding-left: 5px;
  97. padding-right: 5px;
  98. border-bottom: 20px solid $cMenuOutline;
  99. border-left: 15px solid rgba(0,0,0,0);
  100. display: inline-block;
  101. height: 0;
  102. line-height: 22px;
  103. /*font-family: $fSerif;
  104. font-variant: small-caps;*/
  105. font-size: smaller;
  106. text-shadow: 1px 1px 2px transparentize(#444, .2);
  107. color: $cBoxHeading;
  108. float: right;
  109. }
  110. a, a:visited, a:active {
  111. color: $cMainBG;
  112. }
  113. }
  114. .body {
  115. display: block;
  116. }
  117. .top-menu {
  118. display: flex;
  119. width: 100%;
  120. li {
  121. flex-grow: 1;
  122. padding: 5px;
  123. padding-top: 7px;
  124. text-align: center;
  125. width: 40px;
  126. transition: all .3s ease;
  127. font-family: $fSerif;
  128. font-variant: small-caps;
  129. text-shadow: 1px 1px 2px #111;
  130. &.fixed {
  131. flex-grow: 0;
  132. flex-shrink: 0;
  133. }
  134. a {
  135. text-decoration: none;
  136. color: $cMainText;
  137. display: block;
  138. }
  139. .swc-link {
  140. font-size: smaller;
  141. font-family: $fSansSerif;
  142. font-style: italic;
  143. }
  144. &:hover {
  145. background-color: $cMenuHover;
  146. }
  147. }
  148. }
  149. }
  150. .menu {
  151. a {
  152. text-decoration: none;
  153. font-style: italic;
  154. font-size: smaller;
  155. color: $cMainText;
  156. display: block;
  157. }
  158. li {
  159. padding: 7px 0 5px 5px;
  160. transition: all .3s ease;
  161. &:before {
  162. content: "\f054";
  163. font-family: FontAwesome, serif;
  164. float: left; width: 0;
  165. font-size: smaller;
  166. transition: all .3s cubic-bezier(.68,-0.55,.27,1.55);
  167. color: transparent;
  168. }
  169. &:hover {
  170. background-color: $cMenuHover;
  171. &:before {
  172. color: inherit;
  173. width: 12px;
  174. }
  175. }
  176. &.title {
  177. font-weight: bold;
  178. }
  179. }
  180. }
  181. #content {
  182. margin-left: $pad;
  183. margin-right: $pad;
  184. flex-grow: 1;
  185. width: 200px;
  186. .content-header {
  187. text-align: center;
  188. border-bottom: 2px solid $cMenuOutline;
  189. .pageTitle {
  190. text-align: center;
  191. margin: 0 auto;
  192. border-bottom: 30px solid $cMenuOutline;
  193. border-right: 20px solid rgba(0, 0, 0, 0);
  194. border-left: 20px solid rgba(0, 0, 0, 0);
  195. display: inline-block;
  196. height: 0;
  197. line-height: 32px;
  198. font-family: $fSerif;
  199. font-variant: small-caps;
  200. text-shadow: 1px 1px 2px transparentize($cBoxHeading, .2);
  201. color: $cBoxHeading;
  202. }
  203. }
  204. .content-footer {
  205. text-align: center;
  206. border-top: 1px solid $cMenuOutline;
  207. clear: both;
  208. .copy {
  209. text-align: center;
  210. border-top: 15px solid $cMenuOutline;
  211. border-right: 10px solid rgba(0, 0, 0, 0);
  212. border-left: 10px solid rgba(0, 0, 0, 0);
  213. display: inline-block;
  214. height: 0;
  215. line-height: 0;
  216. margin: 0; padding: 0;
  217. font-size: x-small;
  218. color: $cBoxHeading;
  219. div {
  220. position: relative;
  221. top: -14px;
  222. }
  223. }
  224. }
  225. .content-body {
  226. background-color: $cContentBG;
  227. padding: $pad;
  228. @include clearfix;
  229. }
  230. }
  231. @import "news";