screen.scss 5.2 KB

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