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

652 lines
14 KiB
CSS
Raw Normal View History

2015-07-04 19:53:15 +00:00
/*
* Sakura Misaki Style
* By Flashwave <http://flash.moe>
*/
/*
* Define charset
*/
@charset "utf-8";
2015-07-04 19:53:15 +00:00
/*
* Import fonts
*/
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css'); /* Font Awesome */
2015-08-18 04:52:32 +00:00
@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 */
2015-07-04 19:53:15 +00:00
/*
* Import markdown stylesheet
*/
@import url('markdown.css');
/*
* 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;
2015-08-28 20:32:31 +00:00
font-size: 5em;
2015-07-04 19:53:15 +00:00
color: rgb(148, 117, 178);
opacity: 0.5;
font-weight: 100;
2015-08-28 20:32:31 +00:00
line-height: 1.2em;
2015-07-04 19:53:15 +00:00
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;
}
2015-07-04 19:53:15 +00:00
/*
* 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 {
2015-08-28 20:32:31 +00:00
height: 70px;
2015-07-04 19:53:15 +00:00
width: 100%;
2015-08-28 20:32:31 +00:00
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;
2015-07-04 19:53:15 +00:00
position: absolute;
bottom: 0;
font-family: "Exo2-0-LightItalic", sans-serif;
}
#footer > .inner {
max-width: 1024px;
margin: 0 auto;
2015-08-28 20:32:31 +00:00
display: flex;
align-items: center;
justify-content: space-between;
2015-07-04 19:53:15 +00:00
}
#footer > .inner > .ft-logo {
2015-08-28 20:32:31 +00:00
background: url('../images/image-logo-white.svg') no-repeat scroll center center / cover;
height: 66px;
width: 66px;
2015-07-04 19:53:15 +00:00
opacity: .5;
}
#footer > .inner > .ft-text {
margin-left: 10px;
2015-08-28 20:32:31 +00:00
text-align: right;
2015-07-04 19:53:15 +00:00
}
/*
* Site header
*/
#header {
2015-08-28 20:32:31 +00:00
height: 120px;
2015-07-04 19:53:15 +00:00
max-width: 1024px;
margin: 0 auto;
2015-08-28 20:32:31 +00:00
display: flex;
justify-content: space-between;
2015-07-04 19:53:15 +00:00
}
#header > * {
display: inline-block;
}
#header .logo {
background: url('../images/image-logo.svg') no-repeat scroll center center / cover;
2015-08-28 20:32:31 +00:00
height: 120px;
width: 120px;
flex-grow: 1;
margin: auto;
2015-07-04 19:53:15 +00:00
}
#header .social {
z-index: 1;
2015-08-28 20:32:31 +00:00
font-size: 2.5em;
2015-07-04 19:53:15 +00:00
background: rgba(0, 0, 0, .4);
2015-08-28 20:32:31 +00:00
padding: 6px;
margin: 1em .5em;
position: relative;
bottom: -4px;
height: 40px;
border-radius: 5px;
text-align: center;
2015-07-04 19:53:15 +00:00
}
#header .social > ul {
list-style: none;
}
#header .social > ul > li {
float: left;
margin: 5px;
2015-08-28 20:32:31 +00:00
width: 30px;
2015-07-04 19:53:15 +00:00
}
#header .social > ul > li > a {
color: inherit;
text-decoration: none;
text-shadow: 0 0 2px #fcfcfc;
transition: .4s;
}
#header .social > ul > li > a:hover {
color: #eee;
text-shadow: 0 0 6px #fcfcfc;
}
#header .social > ul > li > a:active {
color: #ccc;
text-shadow: 0 0 3px #fcfcfc;
}
/*
* Wrapper
*/
#wrapper {
2015-08-28 20:32:31 +00:00
padding-bottom: 100px;
2015-07-04 19:53:15 +00:00
}
#wrapper > #content {
position: relative;
max-width: 1018px;
margin: 0 auto;
background: #231C29;
box-shadow: 0 0 7px rgba(255, 255, 255, .2);
z-index: 4;
padding: 2px;
border: 1px solid rgba(148, 117, 178, .6);
}
/*
* Header navigation
*/
#content > #navigation {
width: 100%;
height: 30px;
background: linear-gradient(0deg, transparent, #453851 50%, #342740) transparent;
font-family: "Exo2-0-LightItalic", sans-serif;
font-size: 2em;
line-height: 30px;
letter-spacing: 0px;
text-shadow: 1px 1px 3px #111;
margin-bottom: 5px;
position: relative;
z-index: 900;
}
#content > #navigation > ul > li {
list-style: none;
float: left;
}
#content > #navigation > ul > li > a:not(.ignore) {
min-width: 80px;
display: inline-block;
text-align: center;
color: inherit;
text-decoration: none;
padding: 0 10px;
transition: .2s;
}
#content > #navigation > ul > li > a {
z-index: 901;
position: relative;
}
#content > #navigation > .nav-left > li > a:not(.ignore):hover {
background: rgba(0, 0, 0, .2);
}
#content > #navigation > .nav-left > li > a:not(.ignore):active {
background: rgba(0, 0, 0, .3);
}
#content > #navigation .nav-usermenu > a {
display: block !important;
text-align: right !important;
}
#content > #navigation .nav-usermenu > a:after {
font-family: FontAwesome;
content: " \f0d7";
}
#content > #navigation .nav-usermenu:hover > a:after {
font-family: FontAwesome;
content: " \f0d8";
}
#content > #navigation .nav-avatar {
height: 30px;
width: 30px;
background: url('/pixel.png') no-repeat scroll left center / contain transparent;
}
#content > #navigation > ul > li > ul {
display: none;
}
#content > #navigation > ul > li:hover > ul {
display: block;
z-index: 900;
background: rgba(69, 56, 81, .5);
position: absolute;
top: 0px;
right: 0px;
list-style: none;
padding: 35px 4px 5px;
}
#content > #navigation > ul > li > ul > li > a {
color: inherit;
text-decoration: none;
display: block;
transition: .2s;
padding: 2px 7px;
}
#content > #navigation > ul > li > ul > li > a:hover {
background: rgba(0, 0, 0, .1);
}
#content > #navigation > ul > li > ul > li > a:active {
background: rgba(0, 0, 0, .2);
}
#content > #navigation .nav-usermenu ul {
right: -30px;
text-align: right;
min-width: 150px;
}
/*
* Profiles
*/
2015-08-23 22:08:36 +00:00
.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;
}
2015-07-04 19:53:15 +00:00
.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%;
2015-07-04 19:53:15 +00:00
position: relative;
top: -35px;
margin-bottom: -35px;
}
.profile .profileContainer {
display: flex;
2015-07-04 19:53:15 +00:00
}
.profile .profilePlatform {
background: rgba(148, 117, 178, .2);
box-shadow: 0 2px 6px rgba(0, 0, 0, .75);
margin: 0 0 10px 10px;
2015-07-04 19:53:15 +00:00
}
.profile .profilePlatform > .inner {
padding: 5px 7px;
display: block;
}
.profile .profilePlatform > a.inner {
cursor: pointer;
text-decoration: none;
color: inherit;
}
.profile > .profileHeader {
height: 250px;
width: 100%;
display: flex;
align-items: flex-end;
2015-07-04 19:53:15 +00:00
}
.profile > .profileHeader > .userAvatar {
font-size: 0;
background: transparent no-repeat scroll left center / contain;
2015-07-04 19:53:15 +00:00
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;
2015-07-04 19:53:15 +00:00
}
.profile > .profileHeader > .userData {
display: flex;
align-items: center;
2015-07-04 19:53:15 +00:00
position: relative;
top: -55px;
width: 100%;
}
.profile > .profileHeader > .userData > .headerLeft {
flex-grow: 1;
2015-07-04 19:53:15 +00:00
}
.profile > .profileHeader > .userData > .headerLeft > .profileUsername {
2015-07-04 19:53:15 +00:00
font-size: 3em;
line-height: .8em;
}
.profile > .profileHeader > .userData > .headerLeft > .profileUserTitle {
padding-left: 12px;
2015-07-04 19:53:15 +00:00
}
.profile > .profileHeader > .userData > .headerRight {
2015-07-04 19:53:15 +00:00
text-align: right;
padding-right: 12px;
}
.profile > .profileContent {
margin: 10px 10px 0 0;
2015-07-04 19:53:15 +00:00
}
.profile > .profileContent > .userDataBar {
width: 210px;
margin-top: 10px;
flex-shrink: 0;
2015-07-04 19:53:15 +00:00
}
.profile > .profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies {
list-style: none;
font-size: 2.5em;
line-height: 1.2em;
}
.profile > .profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > li:before {
font-family: "FontAwesome";
width: 36px;
padding-right: 3px;
text-align: center;
display: inline-block;
color: #FFF;
text-shadow: 0 0 3px #fcfcfc;
}
.profile > .profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > .tenshi {
color: #ee9400;
}
.profile > .profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > .tenshi:before {
content: "\f004";
}
.profile > .profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > .staff {
color: #09f;
}
.profile > .profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > .staff:before {
content: "\f0e3";
}
.profile > .profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > .developer {
color: #824ca0;
}
.profile > .profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > .developer:before {
content: "\f121";
}
.profile > .profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > .alumnii {
color: #ff69b4;
}
.profile > .profileContent > .userDataBar > .hierarchyContainer > .inner > .hierarchies > .alumnii:before {
content: "\f005";
}
.profile > .profileContent > .userDataBar > .userAccounts > .inner > .field > div:nth-child(1) {
float: left;
font-weight: bold;
}
.profile > .profileContent > .userDataBar > .userAccounts > .inner > .field > div:nth-child(2) {
float: right;
}
.profile > .profileContent > .userDataBar > .userAccounts > .inner > .noAccounts > .fa {
font-size: 3em;
}
.profile > .profileContent > .userDataBar > .userAccounts > .inner > .noAccounts {
font-size: 1.5em;
line-height: 1em;
text-align: center;
}
.profile > .profileContent > .userDataBar > .accountStanding > .inner > .title {
font-size: 1.5em;
line-height: 1em;
font-weight: bold;
}
.profile > .profileContent > .userDataBar > .accountStanding > .inner > .standing {
font-size: 2.5em;
line-height: 1.5em;
text-align: center;
}
.profile > .profileContent > .profileMain {
width: 100%;
2015-07-04 19:53:15 +00:00
}
.profile > .profileContent > .profileMain > .statsRow {
width: 100%;
display: flex;
2015-07-04 19:53:15 +00:00
}
.profile > .profileContent > .profileMain > .statsRow > div {
font-size: 2.5em;
2015-07-04 19:53:15 +00:00
line-height: 1em;
flex-basis: 0;
flex-grow: 1;
flex-shrink: 0;
2015-07-04 19:53:15 +00:00
}
.profile > .profileContent > .profileMain > .statsRow .inner > .count {
2015-07-04 19:53:15 +00:00
float: right;
}
.profile > .profileContent > .profileMain > .statsRow .inner a {
2015-07-04 19:53:15 +00:00
text-decoration: none;
color: inherit;
}
2015-08-23 22:08:36 +00:00
/*
* User Background
*/
#userBackground {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: -1;
background: no-repeat center center / cover transparent;
}
2015-07-04 19:53:15 +00:00
/*
* Homepage
*/
2015-08-28 20:32:31 +00:00
.homepage .frontStats {
2015-10-12 18:25:37 +00:00
padding-bottom: 5px;
2015-08-28 20:32:31 +00:00
width: 100%;
display: flex;
font: 2.5em/1em "Exo2-0-LightItalic", sans-serif;
text-shadow: 1px 1px 2px rgba(0, 0, 0, .75);
}
.homepage .frontStats > div {
2015-10-12 18:25:37 +00:00
flex-grow: 1;
flex-shrink: 1;
2015-08-28 20:32:31 +00:00
background: rgba(148, 117, 178, .2);
box-shadow: 0 2px 6px rgba(0, 0, 0, .75);
margin: 5px;
}
.homepage .frontStats > div > div {
padding: 10px 14px;
display: block;
}
2015-07-04 19:53:15 +00:00
2015-10-12 18:25:37 +00:00
.homepage .frontStats > div > div > span:not(:first-child) {
float: right;
}
2015-07-04 19:53:15 +00:00
/*
* 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;
}