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/content/data/yuuno/css/base.css

417 lines
6.7 KiB
CSS
Raw Normal View History

2015-05-25 18:18:56 +00:00
/*
* Standard Elements
*/
@charset "utf-8";
* {
/* Reset margin and padding */
margin: 0;
padding: 0;
}
html {
width: 100%;
height: 100%;
}
body {
font: 12px/20px Verdana, sans-serif;
background: linear-gradient(180deg, #C2AFFE, #FBEEFF) no-repeat scroll left top #FBEEFF;
background-size: cover;
color: #000;
height: 100%;
position: relative;
width: 100%;
}
#container {
min-height: 100%;
position: relative;
width: 100%;
}
#contentwrapper {
padding-bottom: 220px;
}
@media (max-width: 642px) {
#contentwrapper {
padding-bottom: 335px;
}
}
@media (max-width: 426px) {
#contentwrapper {
padding-bottom: 450px;
}
}
@media (max-width: 400px) {
#contentwrapper {
padding-bottom: 450px;
}
}
@media (max-width: 300px) {
.footer {
display: none;
}
#contentwrapper {
padding-bottom: 0;
}
}
.clear {
clear: both !important;
float: none !important;
}
.hidden {
display: none !important;
visibility: hidden !important;
}
.centreAlign {
text-align: center;
}
.leftAlign {
text-align: left;
}
.rightAlign {
text-align: right;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Segoe UI", sans-serif;
font-weight: 100;
margin: 5px 0;
}
h1.stylised {
text-shadow: 0 0 5px #8364A1;
color: #614390;
}
hr.default {
border: 0;
height: 1px;
color: #9475B2;
background: #9475B2;
}
img {
max-width: 100%;
max-height: 100%;
}
img.default-avatar-setting {
max-width: 200px;
max-height: 200px;
border: 3px solid #EEE;
background: #EEE;
box-shadow: 0 3px 7px #888;
border-radius: 3px;
margin: 5px;
}
img.homepage-menu-avatar {
float: right;
max-width: 100px;
max-width: 100px;
margin-top: -25px;
margin-right: 0;
}
@media (max-width: 400px) {
img.homepage-menu-avatar {
display: none;
}
}
.standalone img:not(:hover) {
max-width: 100%;
}
a.clean,
a.underline,
a.no-underline {
color: inherit !important;
text-decoration: none !important;
}
a.underline:hover {
text-decoration: underline !important;
}
a.default {
color: #22E;
text-decoration: none;
}
a.default:hover {
color: #22E;
text-decoration: underline;
}
a.default:active {
color: #E22;
text-decoration: underline;
}
a.gotop {
display: inline-block;
background: #111;
color: #FFF;
width: 60px;
height: 60px;
border-radius: 5px;
text-decoration: none;
opacity: .3;
transition: opacity .5s, box-shadow .5s;
margin: 10px 5px;
float: right;
position: fixed;
bottom: 0;
right: 5px;
z-index: 2;
line-height: 60px;
text-align: center;
font-size: 5em;
text-shadow: 0 0 5px #FFF;
}
a.gotop:hover {
opacity: .8;
box-shadow: 0 0 7px #FFF inset;
text-shadow: 0 0 7px #FFF;
}
a.gotop:active {
box-shadow: 0 0 15px #FFF inset;
text-shadow: 0 0 10px #FFF;
opacity: .9;
}
a.gotop.enter {
animation: slideInFromRight 1 .6s;
}
a.gotop.exit {
animation: slideOutToBottom 1 .6s;
}
.content {
margin: 10px auto;
padding: 2px 3px;
width: 1024px;
border: 1px solid #9475B2;
box-shadow: 0 0 3px #9475B2;
border-radius: 3px;
background: #D3BFFF;
}
.content-column {
position: relative;
min-height: 600px;
}
.content-left {
float: left;
width: 688px;
}
.content-right {
float: right;
width: 334px;
}
.content-left .head,
.news .head,
.donate .head,
.loginPage > .loginCont .head,
.messages .head {
margin: -1px -2px;
padding: 4px 5px 5px;
font-weight: 700;
font-size: 20px;
color: #306;
background: linear-gradient(90deg, rgba(148,117,178,.7), rgba(148,117,178,0)) #C2AFFE;
border-radius: 2px;
}
.content-right .head,
.loginPage > .registerCont .head {
margin: -1px -2px -1px;
padding: 4px 5px 5px;
font-weight: 700;
font-size: 20px;
color: #306;
background: linear-gradient(270deg, rgba(148,117,178,.7), rgba(148,117,178,0)) #C2AFFE;
border-radius: 2px;
}
.standalone {
background: #C2AEEE;
padding: 10px;
width: auto;
max-width: 1024px;
}
.private-message {
border-top: 1px solid #C2AEEE;
}
.ajax-busy {
background: rgba(0, 0, 0, .4);
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 5;
text-align: center;
opacity: 1;
}
.ajax-busy .ajax-inner {
line-height: 2em;
color: #FFF;
background: #222;
background: linear-gradient(0deg, rgba(0, 0, 0, .4) 20%, transparent) rgba(0, 0, 0, .8);
display: inline-block;
margin: 10% auto 0;
padding: 10px 20px 15px;
border-radius: 10px;
box-shadow: 0 5px 1em #111;
}
.ajax-busy .ajax-inner h2 {
padding-bottom: 5px;
}
.homepage .content-right ul {
margin: 10px 0;
margin-left: 30px;
}
.dropDown {
display: inline-block;
position: relative;
}
.dropDown .dropDownInner {
display: inline-block;
background: rgba(12, 12, 12, .7);
min-width: 200px;
border: 2px solid #9475B2;
float: left;
font-family: "Segoe UI", sans-serif;
text-align: left;
margin: 0 2px;
transition: background .5s;
}
.dropDown .dropDownInner:hover {
background: rgba(21, 21, 21, .8);
}
.dropDown .dropDownInner a {
padding: 0 1px 0 4px;
display: none;
color: #FFF;
text-decoration: none;
clear: both;
transition: background .2s;
}
.dropDown .dropDownInner a:hover {
background: rgba(21, 21, 21, .5);
}
.dropDown .dropDownInner a:active {
background: rgba(21, 21, 21, .7);
}
.dropDown .dropDownInner a.dropDownSelected {
display: inline-block;
}
.dropDown .dropDownInner:hover a {
display: block;
float: none;
}
.dropDown .dropDownInner a.dropDownDesc {
display: inline-block;
}
.dropDown .dropDownInner:hover a.dropDownDesc {
display: none;
}
#headerLoginForm {
background: #9475B2;
border-bottom: 2px solid #9475B2;
box-shadow: 0 0 5px #8364A1;
text-align: center;
}
#headerLoginForm > div {
display: inline-block;
}
@media (max-width: 640px) {
#headerLoginForm > div {
display: block;
text-align: right;
padding-right: 2px;
}
}
#headerLoginForm label {
font-family: "Segoe UI", sans-serif;
font-weight: 100;
font-size: 15px;
}
.indexSidePanelLinks {
font-size: 4em;
text-align: center;
line-height: 1.3em;
}
.indexSidePanelLinks > a {
color: #8364A1;
text-decoration: none;
text-shadow: 0 0 2px #9475B2;
transition: all .2s;
}
.indexSidePanelLinks > a:hover {
text-shadow: 0 0 6px #9475B2;
}
.indexSidePanelLinks > a:active {
color: #725390;
text-shadow: 0 0 8px #8364A1;
}