Files
yavsc/web/App_Themes/style.css
Paul Schneider 3fd8578c07 Bug fixe: comnet avatar
* web/Controllers/AccountController.cs: Fixes the avatar icon in comments

* .gitignore: ignore `bfiles`

* web/images/musician-923526_1.nb.jpg:
* web/images/musician-923526_1.nb.xs.jpg:
* web/images/musician-923526_1.nb.xxs.jpg:
* web/images/musician-923526_1.nbb.jpg:
* web/images/musician-923526_1.nbb.xs.jpg:
* web/images/musician-923526_1.nbb.xxs.jpg:
* totem-banner.xxs.xcf:
* totem.xcf: totem custo
2015-10-09 21:42:03 +02:00

371 lines
6.6 KiB
CSS

body {
background-color: black;
color: #D0FFD0;
font-family: 'Arial', cursive;
padding: 0;
margin: 0;
}
.iconsmall { max-height: 1.3em; max-width: 1.3em; }
input, textarea, checkbox {
color: #FFFFA0;
background-color: black;
}
.photo { width: 100%; }
.blogbanner { float: left; top:0; }
header {
padding: 0;
margin: 0;
margin-top: 0;
padding-top: 201px;
margin-bottom:2em;
display: block;
text-align: center;
background: url("/images/totem-banner.xs.jpg") 0 0 no-repeat fixed;
}
header h1, header a {
background-color: rgba(0,0,0,.5);
}
nav {
margin: 2em;
padding: 2em;
display: block;
border-radius:1em;
background: url("/images/live-concert-388160_1280.jpg") 50% 10em repeat fixed ;
justify-content: space-around;
min-height:5em;
}
main {
margin: 2em;
padding: 6em 2em 6em 2em;
display: block;
border-radius:1em;
background: url("/images/musician-923526_1.nbb.jpg") 50% 20em repeat fixed ;
}
footer {
background: url("/images/drummer-652345_1280.s.jpg") 50% 30em repeat fixed ;
margin: 0;
margin-top: 2em;
padding: 2em;
display: block;
clear: both;
font-size: smaller;
justify-content: space-around;
}
footer a {
border-radius:5px;
margin:.5em;
padding:1em;
}
legend {
border-radius:5px;
margin:.5em;
padding:1.5em;
background-color: rgba(0,0,32,.5);
}
#copyr { text-align: center; display: block; background-color: rgba(20,20,20,.8); }
footer p { display:inline-block; }
footer img { max-height: 2em; vertical-align: middle; }
a.actionlink img, h1 img, .menuitem img { vertical-align: middle; }
#gspacer {
background-color: rgba(20,20,20,.8);
border-radius:5px;
margin:.5em; padding:1em; display: inline-block }
fieldset {
background-color: rgba(16,16,64,0.8);
border-radius:5px; border: solid 1px #000060;
}
main video, main img {
max-width:100%;
max-height:75%;
padding: .5em;
}
aside {
display: inline-block;
float: right;
max-width: 40em;
}
.postpreview {
display: inline-block;
max-width: 40em;
padding: .5em;
margin: .5em;
background-color: rgba(0,0,32,0.8);
border-radius:10px;
}
.postpreview video, .postpreview img {
max-width:100%;
max-height:5em;
}
.post {
display:block;
margin:1em;
padding:1em;
background-color: rgba(0,0,32,0.8);
color: #aaa;
border-radius:10px;
}
.hiddenpost { background-color: rgba(16,16,16,0.5); }
.fullwidth { width: 100%; }
textarea.fullwidth { min-height:10em; }
.thanks {
max-width: 10%;
text-align: center;
font-size:smaller;
display:inline;
bottom:0;
}
.panel,.bshpanel, aside {
background-color: rgba(20,20,20,.8);
border-radius: 5px;
margin: .5em;
padding: .5em;
}
.spanel {
max-width: 24em;
display: inline-block;
margin: .3em;
}
.xspanel {
max-width:13em;
display: inline-block;
margin:.2em;
}
.xxspanel {
max-width:7em;
display: inline-block;
margin:.1em;
}
.hint {
display: inline;
font-style: italic;
font-size: smaller;
}
.hint::before {
content: "(";
}
.hint::after {
content: ")";
}
.usertitleref {
color: #B0B080;
border-radius: 5px;
background-color:rgba(0,0,32,0.6);
font-family: 'Arial', cursive;
padding: 1em;
}
a:visited {
color: #90B090;
}
label {
font-size: medium;
}
.editable {
margin 1em;
min-height:1em;
border-radius: 1em;
border: dashed rgb(020,20,256) 2px;
}
#notifications {
padding: .5em;
}
.notification {
font-size: large;
background-color: rgba(64,64,0,0.5);
border: solid green 1px;
}
.dirty {
background-color: rgba(128,128,0,0.5);
}
.error, #error {
color: #f88;
font-size: large;
background-color: rgba(256,0,0,0.5);
}
.validation-summary-errors{
color: #f88;
background-color: rgba(256,0,0,0.5);
}
.hidden { display:none; }
ul.preview li:nth-child(-n+10) {
display:inline;
font-size:xx-small;
}
ul.preview li:nth-child(n) {
display:none;
}
.validation-summary-errors{
color: #f88;
}
a {
text-decoration: none;
}
.actionlink, .menuitem, a {
color: #B0B080;
border-radius:1em;
border: solid black 1px;
background-color: rgba(20,20,20,.8);
cursor: pointer;
font-family: 'Arial', cursive;
padding: .2em;
display: inline-block;
}
input, select {
color: #B0B080;
border: solid 1px rgb(128,128,128);
border-radius:1em;
background-color:rgba(0,0,32,0.8);
font-family: 'Arial', cursive;
}
.actionlink:hover, fa:hover, .menuitem:hover, a:hover, input:hover {
background-color:rgba(30,0,124,0.9);
border: solid green 1px;
}
.code {
font-family: "monospace";
background-color: rgba(0,0,256,0.1);
border-radius:25px;
white-space: pre-wrap;
}
.avatar {
max-width: 64px;
max-height: 64px;
}
#avatar {
float: left;
margin:1em;
}
.comment {
border-radius:25px;
font-size: smaller;
}
.onhover {
display:none;
position: absolute;
}
.ohafter:hover + .onhover, .ohinside:hover > .onhover {
display:block;
z-index:2;
padding:5px; margin:5px;
background-color: rgba(0,0,40,.8);
}
.input-validation-error { border: solid 1px red; }
.field-validation-error { color: red; }
.c2 { font-size: small; font-style: italic; }
.c3 { font-size: x-small; font-style: italic; }
@media print {
body {background-color:white;color:black;}
.control,.actionlink,nav { display:none;}
}
@media all and (min-width: 640px) {
.bshpanel { display:block; }
.bsh { display: none; }
.c3 { display:initial; }
.c3-alt { display:none; }
}
@media all and (max-width: 640px) {
nav {
margin: 1em;
padding: 1em;
min-height:4em;
background: url("/images/live-concert-388160_1280.s.jpg") 50% 10% repeat fixed ;
}
main {
margin: 1em;
padding: 4em 1em 4em 1em;
background: url("/images/musician-923526_1.nbb.xs.jpg") 50% 20em repeat fixed ;
}
footer {
background: url("/images/drummer-652345_1280.xs.jpg") 50% 90% repeat fixed ;
padding: 1em;
margin: 1em;
}
.menuitem {
display: block;
}
.post {
margin:.3em;
padding:.3em;
}
.usertitleref{
padding:.3em;
}
.bshpanel { cursor:zoom-in; }
footer { clear:both; }
.c2 { display:initial; }
.c2-alt { display:none; }
.c3 { display:none; }
.c3-alt { display:initial; }
}
@media all and (max-width: 350px) {
header {
padding: 0;
margin: 0;
margin-top: 0;
padding-top: 101px;
margin-bottom:1em;
background: url("/images/totem-banner.xxs.jpg") 0 0 no-repeat fixed;
}
nav {
margin: .5em;
padding: .5em;
min-height:3em;
background: url("/images/live-concert-388160_1280.xxs.jpg") 50% 10% repeat fixed ;
}
main {
margin: .5em;
padding: 3em .5em 3em .5em;
background: url("/images/musician-923526_1.nbb.xxs.jpg") 50% 20em repeat fixed ;
}
footer {
background: url("/images/drummer-652345_1280.xxs.jpg") 50% 90% repeat fixed ;
margin: 0.5em;
padding: 0.5em;
}
.c2 { display:none; }
.c2-alt { display:initial; }
}