screen.scss 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  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-navy.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 #444;
  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 #444;
  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. &:hover {
  140. background-color: $cMenuHover;
  141. }
  142. }
  143. }
  144. }
  145. .menu {
  146. a {
  147. text-decoration: none;
  148. font-style: italic;
  149. font-size: smaller;
  150. color: $cMainText;
  151. display: block;
  152. }
  153. li {
  154. padding: 7px 0 5px 5px;
  155. transition: all .3s ease;
  156. &:before {
  157. content: "\f054";
  158. font-family: FontAwesome, serif;
  159. float: left; width: 0;
  160. font-size: smaller;
  161. transition: all .3s cubic-bezier(.68,-0.55,.27,1.55);
  162. color: transparent;
  163. }
  164. &:hover {
  165. background-color: $cMenuHover;
  166. &:before {
  167. color: inherit;
  168. width: 12px;
  169. }
  170. }
  171. &.title {
  172. font-weight: bold;
  173. }
  174. }
  175. }
  176. #content {
  177. margin-left: $pad;
  178. margin-right: $pad;
  179. flex-grow: 1;
  180. width: 200px;
  181. .content-header {
  182. text-align: center;
  183. border-bottom: 2px solid $cMenuOutline;
  184. .pageTitle {
  185. text-align: center;
  186. margin: 0 auto;
  187. border-bottom: 30px solid $cMenuOutline;
  188. border-right: 20px solid rgba(0, 0, 0, 0);
  189. border-left: 20px solid rgba(0, 0, 0, 0);
  190. display: inline-block;
  191. height: 0;
  192. line-height: 32px;
  193. font-family: $fSerif;
  194. font-variant: small-caps;
  195. text-shadow: 1px 1px 2px $cBoxHeading;
  196. color: $cBoxHeading;
  197. }
  198. }
  199. .content-footer {
  200. text-align: center;
  201. border-top: 1px solid $cMenuOutline;
  202. clear: both;
  203. .copy {
  204. text-align: center;
  205. border-top: 15px solid $cMenuOutline;
  206. border-right: 10px solid rgba(0, 0, 0, 0);
  207. border-left: 10px solid rgba(0, 0, 0, 0);
  208. display: inline-block;
  209. height: 0;
  210. line-height: 0;
  211. margin: 0; padding: 0;
  212. font-size: x-small;
  213. color: $cBoxHeading;
  214. div {
  215. position: relative;
  216. top: -14px;
  217. }
  218. }
  219. }
  220. .content-body {
  221. background-color: $cContentBG;
  222. padding: $pad;
  223. @include clearfix;
  224. }
  225. }
  226. @import "news";