live-hangar-org/assets/css/hangar-static-app.css.2020126

253 lines
5.4 KiB
Plaintext

:root{
--color-body: rgb(10,10,10);
--color-secondary: rgb(90,90,90) ;
--color-background: rgb(250,250,250);
--color-body-invert: rgb(200,200,200);
--color-background-invert: rgb(10,10,10);
--color-hangar: rgb(0,0,255);
}
@media screen{
body{
background-color: --color-background;
color: var(--color-body);
font-family: Helvetica-Rounded, arial rounded, helvetica, arial, sans-serif;
}
a{
color: var(--color-hangar);
}
a:hover{
color: --color-secondary;
border-bottom:0.2rem solid var(--color-hangar);
margin-bottom:-0.2rem;
}
h1,h2,h3,h4,h5,h6{
font-weight: bold;
margin:2rem auto;
}
h1{
font-size:4rem;
}
h2{
font-size:3.5rem;
}
h3{
font-size:3rem;
}
h4{
font-size:2.5rem;
}
h5{
font-size:2rem;
}
h6{
font-size:1.5rem;
}
ul{
list-style: none;
}
.code-inline, code {
border:none;
}
.hide{
display:none;
}
.up-arrow::before {
display:inline;
content:"\21D1";
float:left;
}
.up-arrow:hover{
display: inline;
}
.full-height{
min-height: 100vh;
}
/*hangar brand styles*/
.hangar-blue{
color:var(--color-hangar);
}
.hangar-blue-bg img{
background-color:var(--color-hangar);
}
.hangar-logo {
font-size:0px;
color:transparent;
}
.hangar-logo::after {
display:inline-block;
content:'';
background-image: url('../img/hangar-logo.svg');
width: 9rem;
height: 3.8rem;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
background-color: --color-background;
}
.hangar-logo.small::after{
width: 4rem;
height: 1.7rem;
}
.hangar-logo.icon::after{
background-image: url('../img/hangar-logo-icon.svg');
width: 3rem;
height:3rem;
}
.hangar-logo.small.icon::after{
width: 1.5rem;
height: 1.5rem;
background-position-y: 0.2rem;
}
.hangar-logo.hangar-blue-bg::after{
background-color:var(--color-hangar);
}
/* invert colors*/
.invert-bg{
color: #ccc;
background-color: var(--color-background-invert);
}
.invert-bg .hangar-logo::after {
background-image: url('../img/hangar-logo-invert.svg');
background-color: var(--color-body);
}
.invert-bg .code-inline,
.invert-bg code{
color: #aaa;
background-color: #333;
}
/* menu fixed to the right side*/
.menu-fixed-right {
position: fixed;
top: 1rem;
right: 1em;
max-width: 7rem;
padding: 0.5rem;
background: #f5f5f5;
font-size: 0.8rem;
text-align: right;
line-height: 0.9rem;
}
.menu-fixed-right li {
padding: 0.2rem 0;
border-bottom:1px dotted var(--color-hangar);
}
footer {
border-top: 1px solid var(--color-body-invert);
color:#666;
font-size: 0.8rem;
}
/* only for class hangar-grafica */
.hangar-grafica h1,
.hangar-grafica h2,
.hangar-grafica h3,
.hangar-grafica h4,
.hangar-grafica h5,
.hangar-grafica h6 {
color: #333;
background-color:#eee;
padding: 0.5rem;
}
.hangar-grafica .logos a,
.hangar-grafica .icons a{
display: inline-block;
}
.hangar-grafica .logos img {
max-width: 30vw;
margin:1rem 0;
}
.hangar-grafica .icons img {
max-width: 15vw;
}
.hangar-grafica figcaption {
color: #888;
font-size: 0.9rem;
font-style: italic;
}
.hangar-grafica .codeblock {
background-color: var(--color-body-invert);
text-align: left;
padding:1rem;
}
.hangar-grafica a[href$=".SVG"]::after,
.hangar-grafica a[href$=".svg"]::after,
.hangar-grafica a[href$=".JPG"]::after,
.hangar-grafica a[href$=".jpg"]::after,
.hangar-grafica a[href$=".PNG"]::after,
.hangar-grafica a[href$=".png"]::after,
.hangar-grafica a[href$=".GIF"]::after,
.hangar-grafica a[href$=".gif"]::after {
content: '';
display: inline-block;
margin-bottom:1rem;
border-bottom: 1px solid grey;
}
.hangar-grafica a[href$=".SVG"]::after,
.hangar-grafica a[href$=".svg"]::after {
content:"file svg";
}
.hangar-grafica a[href$=".JPG"]::after,
.hangar-grafica a[href$=".jpg"]::after {
content:"file jpg";
}
.hangar-grafica a[href$=".PNG"]::after,
.hangar-grafica a[href$=".png"]::after {
content:"file png";
}
.hangar-grafica a[href$=".GIF"]::after,
.hangar-grafica a[href$=".gif"]::after {
content:"file gif";
}
/* only for live-streaming */
.live-streaming h1,
.live-streaming h2,
.live-streaming h3,
.live-streaming h4,
.live-streaming h5,
.live-streaming h6{
margin:0.5rem 0;
}
.live-streaming h1{
font-size: 2.5rem;
}
.live-streaming h2{
font-size: 2rem;
}
.live-streaming .video-js, .live-streaming .video-dimensions,.embedchat iframe {
width: calc(30vw * 3);
height: calc(15vw * 3);
margin-bottom:1.5rem;
}
.embedchat iframe {
max-width: 48rem;
min-height:24rem;
border: none;
}
.embedchat iframe .kiwi-statebrowser.kiwi-theme-bg,
.embedchat iframe .kiwi-container-toggledraw-statebrowser{
/* display:none;*/
}
}
@media screen and (min-width:768px) {
.live-streaming .video-js, .live-streaming .video-dimensions {
width: calc(30vw * 2);
max-width:970px;
height: calc(15vw * 2);
max-height:calc(970px / 2);
}
.embedchat iframe {
width: calc(30vw * 2);
max-width: 48rem;
height: calc(15vw * 2);
min-height:24rem;
}
}