This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/public/content/data/misaki/css/misaki.css
flashwave 6ee42c62b5 Fixed forum index on Misaki
Signed-off-by: Flashwave <me@flash.moe>
2015-11-22 23:35:19 +01:00

932 lines
20 KiB
CSS
Executable file

/*
* Sakura Misaki Style
* By Flashwave <http://flash.moe>
*/
/*
* Define charset
*/
@charset "utf-8";
/*
* Import fonts
*/
@import url('/content/fonts/font-awesome/font.css'); /* Font Awesome */
@import url('/content/fonts/springsteel-light/font.css'); /* Springsteel Light */
@import url('/content/fonts/exo2-0-italic/font.css'); /* Exo 2.0 Italic */
@import url('/content/fonts/exo2-0-light/font.css'); /* Exo 2.0 Light */
@import url('/content/fonts/exo2-0-lightitalic/font.css'); /* Exo 2.0 Light Italic */
/*
* Import markdown stylesheet
*/
@import url('markdown.css');
/*
* Keyframe definitions
*/
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/*
* Reset margin and padding
*/
* {
margin: 0;
padding: 0;
}
/*
* Global Elements
*/
html,
body {
width: 100%;
height: 100%;
}
body {
background: linear-gradient(0deg, #4D3E5A, #9475B2) no-repeat scroll left top #4D3E5A;
background-size: cover;
color: #FFF;
font: 400 12px/20px "Exo2-0-Light", sans-serif;
}
#container {
min-height: 100%;
width: 100%;
position: relative;
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAAHe9q7oAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RUE0RkZFMTkwMTZGMTFFNUI3MEZGMjQwREFFNEY5NDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RUE0RkZFMUEwMTZGMTFFNUI3MEZGMjQwREFFNEY5NDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFQTRGRkUxNzAxNkYxMUU1QjcwRkYyNDBEQUU0Rjk0OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFQTRGRkUxODAxNkYxMUU1QjcwRkYyNDBEQUU0Rjk0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PlUBbIQAAAAsSURBVHjaYmBgYHAACCAGEAEQQIwwFkAAgRgLQAwmBigACDAWmAgMMDGgAQBg+AILS4buPwAAAABJRU5ErkJggg==');
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Springsteel-Light", sans-serif;
}
h1.sectionHead {
font-style: italic;
font-size: 5em;
color: rgb(148, 117, 178);
opacity: 0.5;
font-weight: 100;
line-height: 1.2em;
margin: 10px 20px;
}
a.clean,
a.underline {
color: inherit !important;
text-decoration: none !important;
}
a.underline:hover {
text-decoration: underline !important;
}
a {
color: #66A;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:active {
color: #A66;
}
/*
* Attribute classes
*/
.hidden {
display: none;
visibility: hidden;
}
.clear {
clear: both;
float: none !important;
}
.floatLeft {
float: left;
}
.floatRight {
float: right;
}
.leftAlign {
text-align: left;
}
.centreAlign {
text-align: center;
}
.rightAlign {
text-align: right;
}
.username {
font-weight: bold;
}
/*
* Header Fade
*/
.header-fade {
height: 500px;
width: 100%;
background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .35) 50%, rgba(0, 0, 0, .45) 60%, rgba(0, 0, 0, .53) 70%, rgba(0, 0, 0, .44) 77%, rgba(0, 0, 0, .4) 80%, rgba(0, 0, 0, 0) 100%) transparent;
z-index: -1;
position: absolute;
top: 0;
}
/*
* Site footer
*/
#footer {
height: 70px;
width: 100%;
background: linear-gradient(0deg, rgba(0, 0, 0, .6) 70%, rgba(0, 0, 0, .7) 80%, rgba(0, 0, 0, .4) 80%, rgba(0, 0, 0, 0) 90%) transparent;
padding-top: 20px;
position: absolute;
bottom: 0;
font-family: "Exo2-0-LightItalic", sans-serif;
}
#footer > .inner {
max-width: 976px;
margin: 0 auto;
padding: 0 24px;
display: flex;
align-items: center;
justify-content: space-between;
}
#footer > .inner > .ft-logo {
background: url('../images/image-logo-white.svg') no-repeat scroll center center / cover;
height: 66px;
width: 66px;
opacity: .5;
}
#footer > .inner > .ft-text {
margin-left: 10px;
text-align: right;
}
#footer > .inner a {
color: inherit;
}
/*
* Wrapper
*/
#wrapper {
padding-top: 10px;
padding-bottom: 100px;
}
#wrapper.navFloat {
padding-top: 37px;
}
#content {
position: relative;
max-width: 1024px;
margin: 0 auto;
z-index: 4;
}
.platform {
background: #231C29;
box-shadow: 0 0 7px rgba(255, 255, 255, .2);
padding: 2px;
border: 1px solid rgba(148, 117, 178, .6);
}
.platform:not(:last-child) {
margin-bottom: 5px;
}
/*
* Header navigation
*/
#navigation {
margin: 0 auto;
position: relative;
background: linear-gradient(0deg, transparent, #453851 50%, #342740) #231C29;
font-family: "Exo2-0-LightItalic", sans-serif;
height: 30px;
font-size: 1.5em;
line-height: 30px;
letter-spacing: 0;
text-shadow: 1px 1px 3px #111;
margin-bottom: 5px;
max-width: 1022px;
width: 100%;
border: 1px solid rgba(148, 117, 178, .6);
box-shadow: 0 0 7px rgba(255, 255, 255, .2);
display: flex;
justify-content: space-between;
z-index: 999;
transition: background-color .2s, box-shadow .2s, height .2s, line-height .2s;
}
#navigation.floating {
position: fixed;
top: 0;
right: 0;
left: 0;
border: 0;
box-shadow: 0 0 0 transparent;
background-color: transparent;
height: 25px;
line-height: 25px;
max-width: 1024px;
}
#navigation > ul {
list-style: none;
display: flex;
flex-grow: 0;
flex-shrink: 0;
}
#navigation > ul > li {
max-height: 30px;
transition: .2s;
}
#navigation > ul > .site-menu {
text-align: left;
}
#navigation > ul > .user-menu {
text-align: right;
}
#navigation.floating > ul > li {
max-height: 25px;
}
#navigation > ul > li > a {
height: 30px;
line-height: 30px;
min-width: 30px;
display: block;
text-align: center;
color: inherit;
text-decoration: none;
transition: .2s;
}
#navigation.floating > ul > li > a {
height: 25px;
min-width: 25px;
line-height: 25px;
}
#navigation > ul > li.logo > a {
background: transparent url('../images/image-logo-white.svg') no-repeat scroll center center / cover;
}
#navigation > ul > li > a:hover {
background-color: rgba(69, 56, 81, .2);
box-shadow: inset 0 0 2px rgba(0, 0, 0, .75);
}
#navigation .nav-avatar {
height: 30px;
width: 30px;
background: url('/pixel.png') no-repeat scroll left center / cover transparent;
transition: .2s;
position: relative;
z-index: 2;
}
#navigation.floating .nav-avatar {
height: 25px;
width: 25px;
}
#navigation .nav-usermenu {
position: relative;
z-index: 2;
}
#navigation .nav-usermenu > a {
display: flex !important;
text-align: right !important;
justify-content: space-around;
position: relative;
z-index: 2;
background: transparent !important;
box-shadow: 0 0 0 transparent !important;
padding-right: 5px;
}
#navigation .nav-usermenu .nav-user-dropdown:after {
font-family: FontAwesome;
content: " \f107";
line-height: 1em;
}
#navigation .nav-usermenu:hover .nav-user-dropdown:after {
font-family: FontAwesome;
content: " \f106";
}
#navigation .nav-usermenu > a > div {
display: inline-block;
}
#navigation .nav-usermenu > a > div > .nav-username {
font-size: .8em;
line-height: 1.1em;
}
#navigation .nav-usermenu > a > div > .nav-userstats {
font-size: .6em;
line-height: 1.1em;
}
#navigation > ul > li > ul {
display: none;
}
#navigation > ul > li:hover > ul {
display: block;
background: rgba(69, 56, 81, .8);
position: absolute;
top: 0;
right: 0;
list-style: none;
padding: 35px 4px 5px;
box-shadow: 0 2px 6px rgba(0, 0, 0, .75);
font-size: .8em;
line-height: 1.5em;
transition: .2s;
}
#navigation.floating > ul > li:hover > ul {
padding-top: 30px;
}
#navigation > ul > li > ul > li > a {
color: inherit;
text-decoration: none;
display: block;
transition: .2s;
padding: 2px 7px;
z-index: 1;
}
#navigation > ul > li > ul > li > a:hover {
background: rgba(0, 0, 0, .2);
}
#navigation > ul > li > ul > li > a:active {
background: rgba(0, 0, 0, .3);
}
#navigation .nav-usermenu ul {
right: -30px !important;
text-align: right;
min-width: 150px;
}
#navigation.floating .nav-usermenu ul {
right: -25px !important;
}
/*
* Profiles
*/
.userNotFound {
margin: 10px 14px;
font-family: "Exo2-0-LightItalic", sans-serif;
font-size: 1.5em;
line-height: 1.3em;
}
.userNotFound > ul {
padding-left: 18px;
list-style: square;
}
.profile {
text-shadow: 1px 1px 2px rgba(0, 0, 0, .75);
font-family: "Exo2-0-LightItalic", sans-serif;
display: flex;
flex-direction: column;
align-content: stretch;
width: 100%;
}
.profile .profileContainer {
display: flex;
}
.profile .profilePlatform {
background: #3A2E44;
box-shadow: 0 2px 6px rgba(0, 0, 0, .75);
margin: 0 0 10px 10px;
}
.profile .profilePlatform > .inner {
padding: 5px 7px;
display: block;
}
.profile .profilePlatform > a.inner {
cursor: pointer;
text-decoration: none;
color: inherit;
}
#profileHeader {
height: 250px;
width: 100%;
display: flex;
align-items: flex-end;
box-shadow: 0 2px 6px rgba(0, 0, 0, .75);
}
#profileHeader.floating {
position: fixed;
top: 0;
padding-top: 30px;
max-width: 1024px;
height: 95px;
box-shadow: 0 2px 6px rgba(0, 0, 0, .75);
}
#userAvatar {
font-size: 0;
background: transparent no-repeat scroll left center / cover;
height: 200px;
width: 200px;
border-radius: 2px;
box-shadow: 0 2px 6px rgba(0, 0, 0, .75);
margin: 10px;
margin-bottom: -10px;
flex-shrink: 0;
transition: .2s;
}
#profileHeader.floating #userAvatar {
height: 100px;
width: 100px;
margin: 5px 5px -5px;
}
#profileHeader > .userData {
display: flex;
align-items: center;
position: relative;
top: -55px;
width: 100%;
}
#profileHeader.floating > .userData {
position: initial;
top: 0;
height: 100%;
font-size: .8em;
line-height: 1.5em;
}
#profileHeader > .userData > .headerLeft {
flex-grow: 1;
}
#profileHeader > .userData > .headerLeft > .profileUsername {
font-size: 3em;
line-height: .8em;
}
#profileHeader > .userData > .headerLeft > .profileUserTitle {
padding-left: 12px;
}
#profileHeader > .userData > .headerRight {
text-align: right;
padding-right: 12px;
}
#profileContent {
margin: 10px 10px 0 0;
}
#profileContent.headerFloating {
margin-top: 264px;
}
#profileContent > .userDataBar {
width: 210px;
margin-top: 10px;
flex-shrink: 0;
}
#profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies,
#profileContent > .userDataBar > .userActions > .inner > .actions {
list-style: none;
font-size: 2.5em;
line-height: 1.2em;
}
#profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > li:before,
#profileContent > .userDataBar > .userActions > .inner > .actions > li > a:before {
font-family: "FontAwesome";
width: 36px;
padding-right: 3px;
text-align: center;
display: inline-block;
color: #FFF;
text-shadow: 0 0 3px #fcfcfc;
}
#profileContent > .userDataBar > .userActions > .inner > .actions > li > a {
display: block;
color: inherit;
}
#profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > .owner {
color: #824ca0;
}
#profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > .owner:before {
content: "\f0ad";
}
#profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > .tenshi {
color: #ee9400;
}
#profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > .tenshi:before {
content: "\f004";
}
#profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > .staff {
color: #fa3703;
}
#profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > .staff:before {
content: "\f0e3";
}
#profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > .developer {
color: #6eac0a;
}
#profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > .developer:before {
content: "\f121";
}
#profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > .alumnii {
color: #ff69b4;
}
#profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > .alumnii:before {
content: "\f005";
}
#profileContent > .userDataBar > .userActions > .inner > .actions > .edit > a:before {
content: "\f044";
}
#profileContent > .userDataBar > .userActions > .inner > .actions > .settings > a:before {
content: "\f013";
}
#profileContent > .userDataBar > .userActions > .inner > .actions > .addFriend > a:before {
content: "\f234";
}
#profileContent > .userDataBar > .userActions > .inner > .actions > .mutualFriend > a:before {
content: "\f004";
}
#profileContent > .userDataBar > .userActions > .inner > .actions > .pendingFriend > a:before {
content: "\f006";
}
#profileContent > .userDataBar > .userActions > .inner > .actions > .mutualFriend:hover > a:before,
#profileContent > .userDataBar > .userActions > .inner > .actions > .pendingFriend:hover > a:before {
content: "\f235";
}
#profileContent > .userDataBar > .userActions > .inner > .actions > .message > a:before {
content: "\f0e0";
}
#profileContent > .userDataBar > .userActions > .inner > .actions > .report > a:before {
content: "\f06a";
}
#profileContent > .userDataBar > .userAccounts a {
color: inherit;
}
#profileContent > .userDataBar > .userAccounts > .inner > .field > div:nth-child(1) {
float: left;
font-weight: bold;
}
#profileContent > .userDataBar > .userAccounts > .inner > .field > div:nth-child(2) {
float: right;
}
#profileContent > .userDataBar > .userAccounts > .inner > .noAccounts > .fa {
font-size: 3em;
}
#profileContent > .userDataBar > .userAccounts > .inner > .noAccounts {
font-size: 1.5em;
line-height: 1em;
text-align: center;
}
#profileContent > .userDataBar > .accountStanding > .inner > .title {
font-size: 1.5em;
line-height: 1em;
font-weight: bold;
}
#profileContent > .userDataBar > .accountStanding > .inner > .standing {
font-size: 2.5em;
line-height: 1.5em;
text-align: center;
}
#profileContent > .profileMain {
width: 100%;
}
#profileContent > .profileMain > .statsRow {
width: 100%;
display: flex;
}
#profileContent > .profileMain > .statsRow > div {
font-size: 2.5em;
line-height: 1em;
flex-basis: 0;
flex-grow: 1;
flex-shrink: 0;
}
#profileContent > .profileMain > .statsRow .inner > .count {
float: right;
}
#profileContent > .profileMain > .statsRow .inner a {
text-decoration: none;
color: inherit;
}
/*
* User Background
*/
#userBackground {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: -1;
background: no-repeat center center / cover transparent;
}
/*
* Homepage
*/
.homepage .frontStats {
padding: 10px 0;
display: flex;
font: 2.5em/1em "Exo2-0-LightItalic", sans-serif;
text-shadow: 1px 1px 2px rgba(0, 0, 0, .75);
}
.homepage .frontStats > div {
flex-grow: 1;
flex-shrink: 1;
background: #3A2E44;
box-shadow: 0 2px 6px rgba(0, 0, 0, .75);
margin: 0 10px;
}
.homepage .frontStats > div > div {
padding: 10px 14px;
display: block;
}
.homepage .frontStats > div > div > span:not(:first-child) {
float: right;
}
.homepage .onlineUsers {
display: flex;
text-align: center;
}
.homepage .onlineUsers a {
flex-grow: 1;
flex-shrink: 1;
color: #fff;
font-size: 0;
transition: .2s;
text-decoration: none !important;
}
.homepage .onlineUsers a:hover {
font-size: 1em;
}
.homepage .onlineUsers a:not(:last-child) {
border-right: 1px solid #9475b2;
}
.homepage .onlineUsers div {
flex-shrink: 0;
flex-grow: 1;
}
/*
* News
*/
.news-post > .news-header {
background: linear-gradient(90deg, #4d3e5a, transparent);
font-family: "Exo2-0-LightItalic", sans-serif;
height: 40px;
}
.news-post > .news-header > .news-title {
font-size: 2em;
line-height: 40px;
color: inherit;
text-decoration: none;
text-transform: lowercase;
margin-left: 10px;
}
.news-post > .news-header > .news-details {
text-align: right;
line-height: 16px;
margin-top: 4px;
margin-right: 10px;
}
.news-post > .news-content > .news-avatar {
float: right;
}
.news-post > .news-content > .news-avatar > img {
max-height: 125px;
max-width: 125px;
margin: 6px;
box-shadow: 0 2px 3px #000;
}
.news-post > .news-content > .news-text {
padding: 3px 4px;
}
/*
* Forums
*/
.forums .forumListing .forumCategory {
margin: 10px;
padding: 5px;
background: #3A2E44;
box-shadow: 0 2px 6px rgba(0, 0, 0, .75);
}
.forums .forumListing .forumCategory .forumCategoryHead {
color: #FFF;
padding: 5px;
text-shadow: 1px 1px 2px rgba(0, 0, 0, .75);
}
.forums .forumListing .forumCategory .forumCategoryHead .forumCategoryTitle {
font-size: 2em;
line-height: .8em;
padding-bottom: 5px;
font-family: "Exo2-0-LightItalic", sans-serif;
}
.forums .forumListing .forumCategory .forumCategoryHead .forumCategoryDescription {
font-size: .8em;
line-height: 1.2em;
}
.forums .forumListing .forumCategory .forumCategoryHead a {
color: inherit !important;
}
.forums .forumListing .forumCategory .forumSubEntry {
border-top: 1px solid #231C29;
padding: 5px;
display: flex;
transition: .2s;
}
.forums .forumListing .forumCategory .forumSubEntry:hover {
background: #231C29;
}
.forums .forumListing .forumCategory .forumSubEntry .forumSubIcon {
display: inline-flex;
align-items: center;
justify-content: center;
text-align: center;
flex-shrink: 0;
flex-grow: 0;
width: 50px;
}
.forums .forumListing .forumCategory .forumSubEntry .forumSubIcon .forumIcon {
transition: .1s;
}
.forums .forumListing .forumCategory .forumSubEntry:hover .forumSubIcon .forumIcon {
font-size: 3.5em;
}
.forums .forumListing .forumCategory .forumSubEntry a {
color: inherit;
text-decoration: none;
}
.forums .forumListing .forumCategory .forumSubTitle {
flex-grow: 2;
border-right: 1px solid #231C29;
text-shadow: 1px 1px 2px rgba(0, 0, 0, .75);
}
.forums .forumListing .forumCategory .forumSubEntry:hover .forumSubTitle {
border-right: 1px solid #3A2E44;
}
.forums .forumListing .forumCategory .forumSubTitle .forumSubName {
font-size: 1.5em;
}
.forums .forumListing .forumCategory .forumSubStats {
flex-shrink: 0;
font-family: "Exo2-0-LightItalic", sans-serif;
padding: 0 10px;
min-width: 70px;
text-shadow: 1px 1px 2px rgba(0, 0, 0, .75);
line-height: .5em;
border-right: 1px solid #231C29;
display: inline-flex;
justify-content: center;
align-items: center;
}
.forums .forumListing .forumCategory .forumSubEntry:hover .forumSubStats {
border-right: 1px solid #3A2E44;
}
.forums .forumListing .forumCategory .forumSubStats div {
display: inline-block;
}
.forums .forumListing .forumCategory .forumSubStats .forumSubTopics {
font-size: 1.5em;
margin-bottom: 10px;
}
.forums .forumListing .forumCategory .forumSubStats .forumSubStatsSeperator {
font-size: 1.2em;
}
.forums .forumListing .forumCategory .forumSubStats .forumSubPosts {
font-size: .8em;
margin-top: 14px;
}
.forums .forumListing .forumCategory .forumSubReplies {
padding: 0 5px;
display: inline-flex;
align-items: center;
line-height: 1.2em;
min-width: 200px;
}