123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272 |
- /* Welcome to Compass.
- * In this file you should write your main styles. (or centralize your imports)
- * Import this file using the following HTML or equivalent:
- * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
- @import "compass/reset";
- @import "compass/css3/box-sizing";
- @import "compass/utilities/general/clearfix";
- @import "colors.scss";
- @import url(https://fonts.googleapis.com/css?family=Noto+Sans:400,400italic,700|Vollkorn);
- * {
- @include box-sizing(border-box);
- }
- $pad: 20px;
- $fSansSerif: "Noto Sans", Verdana, sans-serif;
- $fSerif: Vollkorn, serif;
- body {
- background-color: $cMainBG;
- color: $cMainText;
- font-family: $fSansSerif;
- }
- #flex {
- display: flex;
- align-content: space-between;
- }
- .grid {
- margin: $pad 0 $pad $pad;
- &:after {
- content: '';
- display: table;
- clear: both;
- }
- }
- [class*='col-'] {
- float: left;
- padding-right: $pad;
- }
- .col-twelfth { width: 8.33% }
- .col-sixth { width: 16.66%; }
- .col-quarter { width: 25%; }
- .col-third { width: 33.33%; }
- .col-fivetwelfth { width: 41.66%; }
- .col-half { width: 50%; }
- .col-seventwelfth { width: 58.33%; }
- .col-twothird { width: 66.66%; }
- .col-threequarter { width: 75%; }
- .col-fivesixth { width: 83.33%; }
- .col-eleventwelfth { width: 91.66%; }
- .col-full { width: 100%; }
- #sidebar {
- margin-left: 20px;
- width: 200px;
- flex-grow: 0;
- flex-shrink: 0;
- }
- #sidebar-right {
- width: 200px;
- }
- @import "content";
- @import "box";
- #title-bar {
- margin: 20px;
-
- background: radial_gradient(transparent, transparentize($cMainBG, .2) 60%, $cMainBG 70%) no-repeat center, url("../bg-navy.png") no-repeat center;
- background-size: 853px, auto;
- a.logo {
- text-align: center;
- font-family: serif;
- font-size: xx-large;
- text-transform: uppercase;
- text-shadow: 1px 1px 2px #111;
- display: block;
- text-decoration: none;
- color: $cMainText;
- img {
- height: 70px;
- vertical-align: middle;
- background: radial_gradient($cMainBG, transparent);
- }
- }
- .titles {
- display: flex;
- justify-content: space-between;
- .left {
- padding-left: 5px;
- padding-right: 5px;
- border-bottom: 20px solid $cMenuOutline;
- border-right: 15px solid rgba(0,0,0,0);
- display: inline-block;
- height: 0;
- line-height: 22px;
- font-size: smaller;
- text-shadow: 1px 1px 2px #444;
- color: $cBoxHeading;
- }
- .right {
- padding-left: 5px;
- padding-right: 5px;
- border-bottom: 20px solid $cMenuOutline;
- border-left: 15px solid rgba(0,0,0,0);
- display: inline-block;
- height: 0;
- line-height: 22px;
- /*font-family: $fSerif;
- font-variant: small-caps;*/
- font-size: smaller;
- text-shadow: 1px 1px 2px #444;
- color: $cBoxHeading;
- float: right;
- }
- a, a:visited, a:active {
- color: $cMainBG;
- }
- }
- .body {
- display: block;
- }
- .top-menu {
- display: flex;
- width: 100%;
- li {
- flex-grow: 1;
- padding: 5px;
- padding-top: 7px;
- text-align: center;
- width: 10px;
- transition: all .3s ease;
- font-family: $fSerif;
- font-variant: small-caps;
- text-shadow: 1px 1px 2px #111;
- a {
- text-decoration: none;
- color: $cMainText;
- display: block;
- }
- &:hover {
- background-color: $cMenuHover;
- }
- }
- }
- }
- .menu {
- a {
- text-decoration: none;
- font-style: italic;
- font-size: smaller;
- color: $cMainText;
- display: block;
- }
- li {
- padding: 7px 0 5px 5px;
- transition: all .3s ease;
- &:before {
- content: "\f054";
- font-family: FontAwesome, serif;
- float: left; width: 0;
- font-size: smaller;
- transition: all .3s cubic-bezier(.68,-0.55,.27,1.55);
- color: transparent;
- }
- &:hover {
- background-color: $cMenuHover;
- &:before {
- color: inherit;
- width: 12px;
- }
- }
- &.title {
- font-weight: bold;
- }
- }
- }
- #content {
- margin-left: $pad;
- margin-right: $pad;
- flex-grow: 1;
- width: 200px;
- .content-header {
- text-align: center;
- border-bottom: 2px solid $cMenuOutline;
- .pageTitle {
- text-align: center;
- margin: 0 auto;
- border-bottom: 30px solid $cMenuOutline;
- border-right: 20px solid rgba(0, 0, 0, 0);
- border-left: 20px solid rgba(0, 0, 0, 0);
- display: inline-block;
- height: 0;
- line-height: 32px;
- font-family: $fSerif;
- font-variant: small-caps;
- text-shadow: 1px 1px 2px #111;
- color: $cBoxHeading;
- }
- }
- .content-footer {
- text-align: center;
- border-top: 1px solid $cMenuOutline;
- clear: both;
- .copy {
- text-align: center;
- border-top: 15px solid $cMenuOutline;
- border-right: 10px solid rgba(0, 0, 0, 0);
- border-left: 10px solid rgba(0, 0, 0, 0);
- display: inline-block;
- height: 0;
- line-height: 0;
- margin: 0; padding: 0;
- font-size: x-small;
- color: $cBoxHeading;
- div {
- position: relative;
- top: -14px;
- }
- }
- }
- .content-body {
- background-color: $cContentBG;
- padding: $pad;
- @include clearfix;
- }
- }
- @import "news";
|