123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335 |
- /**
- * Matcha Additions
- */
-
- body.style_matcha {
- /* Body */
- background: #edeae5;
-
- /* Header and logo */
- #header {
- background: url("/static/styles/bookish/matcha/sam-komon.png");
- }
-
- #logo {
- background: url("/static/common/logos/matcha.png") no-repeat center;
- background-size: contain;
- width: 250px;
- height: 50px;
- margin: 0 0 0 10%;
- }
-
- /* Main menu */
- #menu {
- background-color: #016670;
- }
-
- #menu ul li a.active {
- background-color: #016670;
- }
-
- #menu ul li a:hover {
- background-color: #0298a6;
- }
-
- /* Dropdown menu */
- #menu .nav_dropdown {
- background: #016670;
- margin-top: 0;
- }
-
- .nav_dropdown > div {
- box-shadow: 2px 2px 10px -2px slategray;
- position: absolute;
- background-color: #016670;
- width: 100%;
- z-index: 99999;
- margin-top: 2.4em;
- left: 0;
- }
-
- .nav_dropdown > div > a {
- display: none;
- color: white;
- height: 2.4em;
- line-height: 2.4em;
- text-decoration: none;
- }
-
- .nav_dropdown:hover > div > a {
- display: block;
- }
-
- /* Search bars */
- #searchbars {
- text-align: center;
- background-color: #9fedd7;
- box-sizing: content-box;
- padding: 0.5em 10%;
- display: flex;
-
- input {
- position: relative;
- border: 1px solid transparent;
- box-sizing: border-box;
- padding: 0.25em 0.25em 0.25em 0.5em;
- background-color: white;
- width: 100%;
- color: black;
- }
-
- ul {
- margin: 0 auto;
- display: block;
- text-align: center;
-
- li {
- display: inline;
- margin: 0px 1px;
- list-style: none;
- position: relative;
-
- form {
- display: inline;
- }
-
- ul {
- display: block;
- position: absolute;
- top: 1em;
- left: 0;
- z-index: 1000;
- background-color: white;
- width: 12em;
- margin-top: 1em;
-
- li {
- margin: 0 0 0 0;
- padding: 0;
- display: block;
- width: 100%;
-
- .highlight {
- background: white;
- }
- }
- }
- }
- }
- }
-
- #searchbars > .search_form {
- flex: 1 1 auto;
- text-align: center;
- margin: 0 0.1em;
- }
-
- /* Upload, Invite, etc. */
- #userinfo {
- background: #fff9c7;
- box-shadow: 0 2px 10px -2px slategray;
- color: black;
- padding: 0.5em 0;
- width: 100%;
- text-align: center;
-
- a {
- color: black;
- text-decoration: none;
-
- &:hover {
- text-decoration: underline;
- }
- }
-
- b a {
- font-weight: normal;
- font-size: 0.9em;
- font-weight: bold;
- }
-
- ul {
- display: inline;
- margin: 0 1%;
-
- li {
- display: inline;
- margin: 0 0.1em;
- line-height: 2em;
- vertical-align: middle;
- padding: 0;
- }
- }
- }
-
- #userinfo_minor > li > ul {
- display: none;
- position: absolute;
- padding: 5px;
- left: -5px;
- background-color: #fff9c7;
- z-index: 100;
- }
-
- /* Column heads */
- .head,
- .colhead,
- .colhead_dark {
- background: #9fedd7;
- border-bottom: 2px solid change-color(black, $alpha: 0.25);
- color: black;
- padding: 0.5em 1em;
- }
-
- /* Box */
- .box,
- .pad,
- section,
- /* Exceptions, fixes, etc. */
- table.user_options {
- background-color: white;
- border: none;
- margin-bottom: 1em;
- padding: 0.5rem;
- }
-
- /* Shadows */
- .box,
- .border,
- .alertbar,
- .artist_table,
- .request_table,
- .forum_index,
- #userinfo_minor > li > ul,
- .permissions table {
- box-shadow: 0 5px 4px -4px slategray;
- }
-
- /* Links */
- a {
- color: #016670;
- text-decoration: none;
-
- &:hover {
- color: black;
- text-decoration: underline;
- }
- }
-
- /* Special links */
- .forum_post .body a:not([href="#"]),
- .rule_summary a,
- .wiki_article a,
- #actual_rules a,
- .news_post .pad a,
- .store_table a {
- color: #016670;
- text-decoration: none;
- }
-
- .forum_post .body a:hover:not([href="#"]),
- .rule_summary a:hover,
- .wiki_article a:hover,
- #actual_rules a:hover,
- .news_post .pad a:hover,
- .store_table a:hover {
- color: black;
- text-decoration: underline;
- }
-
- /* Blockquote */
- blockquote {
- margin: 0.5em 2em;
- padding: 1em;
- border: 1px solid #bbb;
- }
-
- /* Buttons */
- button:not(.editor-toolbar button),
- input[type="button"],
- input[type="submit"] {
- color: black;
- border: 1px solid #bbb;
- box-shadow: 2px 2px 10px -5px slategray;
-
- &.button-primary {
- background: #fbe180;
- }
-
- &:hover {
- background: #fff9c7;
- /* Primary hover default blue */
- border: 1px solid #bbb;
- color: black;
- }
-
- &:focus {
- background: #fff9c7;
- }
- }
-
- /* Text input */
- input.inputtext {
- border: none;
- border-bottom: 1px solid #edeae5;
- background-color: white;
- font-size: 13px;
- outline: none;
- transition: ease-in-out 0.12s;
-
- &:focus {
- border-bottom: 1px solid #fbe180;
- }
- }
-
- /* Cover images */
- #coverCont {
- background-color: #fff9c7;
- padding: 5px;
- box-shadow: 2px 2px 10px -2px slategray;
- }
-
- #coverCont img {
- background-color: #fff9c7;
- }
-
- /* Captions */
- caption {
- border-bottom: 1px solid #edeae5;
- font-weight: bold;
- }
-
- /* Messages */
- .error_message {
- padding: 1em;
- background-color: #ff8a8a;
- text-align: center;
- color: white;
- font-weight: bold;
- box-shadow: 2px 2px 10px -5px slategray;
- }
-
- .save_message {
- padding: 1em;
- width: 50%;
- margin: 2em auto;
- background: #fbe180;
- text-align: center;
- color: black;
- font-weight: bold;
- box-shadow: 2px 2px 10px -5px slategray;
- }
-
- /* Forums */
- .forum_post .colhead_dark {
- background: #9fedd7;
- }
-
- .forum_post.staff_post .colhead_dark {
- background: #fbe180;
- }
-
- .forum_post.sticky_post {
- border: 2px solid #fbe180;
- }
- } /* end body.style_matcha */
|