screen.scss 5.1 KB

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