3Dstudy/css/style.css

304 lines
5.7 KiB
CSS
Raw Normal View History

/*@font-face {
2017-12-06 11:57:37 +01:00
font-family: headersFont;
src: url(fonts/ARCADE.TTF);
}*/
2017-12-06 13:23:30 +01:00
*{
1rem = 16px;
}
/*-----------------------Icon CSS high-resolution-------------------------------------*/
2017-12-06 11:57:37 +01:00
/*-----------------------Character CSS high-resolution--------------------------------*/
2017-12-06 11:57:37 +01:00
h1 {
font-family: headersFont;
font-size: 100px;
color: yellow;
display: flex;
align-items: center;
justify-content: center;
}
html {
background-color: whitesmoke;
2017-12-06 11:57:37 +01:00
}
#char-container {
position: absolute;
top: 40rem;
left: 55rem;
2017-12-06 11:57:37 +01:00
}
#char-head {
width: 3rem;
height: 3rem;
2017-12-06 11:57:37 +01:00
background-color: #ffc993;
2017-12-06 13:23:30 +01:00
border-radius: 3.125rem 3.125rem;
2017-12-06 11:57:37 +01:00
z-index: 1;
}
#char-ear-left {
position: absolute;
top: 1rem;
left: -0.25rem;
width: 0.5rem;
height: 1rem;
2017-12-06 11:57:37 +01:00
border-color: #ffc993;
2017-12-06 13:23:30 +01:00
border-radius: 2.0625rem / 2.625rem;
2017-12-06 11:57:37 +01:00
background-color: #ffc993;
z-index: 0;
}
#char-ear-right {
position: absolute;
top: 1rem;
left: 2.75rem;
width: 0.5rem;
height: 1rem;
2017-12-06 11:57:37 +01:00
border-color: #ffc993;
2017-12-06 13:23:30 +01:00
border-radius: 2.0625rem / 2.625rem;
2017-12-06 11:57:37 +01:00
background-color: #ffc993;
z-index: 0;
}
#char-hair {
width: 3rem;
height: 1rem;
2017-12-06 11:57:37 +01:00
background-color: #000000;
2017-12-06 13:23:30 +01:00
border-radius: 2.8125rem 2.8125rem;
2017-12-06 11:57:37 +01:00
}
#char-eyebrown-left {
position: absolute;
top: 1.25rem;
left: 0.5rem;
2017-12-06 11:57:37 +01:00
border-style: solid;
border-width: 0.3rem 0 0 0.7rem;
2017-12-06 11:57:37 +01:00
border-color: transparent transparent transparent #ca815e;
}
#char-eyebrown-right {
position: absolute;
top: 1.25rem;
left: 1.85rem;
2017-12-06 11:57:37 +01:00
border-style: solid;
border-width: 0 0 0.3rem 0.7rem;
2017-12-06 11:57:37 +01:00
border-color: transparent transparent #ca815e transparent;
}
#char-eye-left {
position: absolute;
top: 1.6rem;
left: 0.75rem;
width: 0.4rem;
height: 0.4rem;
2017-12-06 11:57:37 +01:00
border-radius: 50%;
background-color: #000000;
}
#char-pupil-left {
position: absolute;
top: 0.1rem;
left: 0.1rem;
width: 0.2rem;
height: 0.2rem;
2017-12-06 11:57:37 +01:00
border-radius: 50%;
background-color: #ffffff;
}
#char-eye-right {
position: absolute;
top: 1.6rem;
left: 2rem;
width: 0.4rem;
height: 0.4rem;
2017-12-06 11:57:37 +01:00
border-radius: 50%;
background-color: #000000;
}
#char-pupil-right {
position: absolute;
top: 0.1rem;
left: 0.1rem;
width: 0.2rem;
height: 0.2rem;
2017-12-06 11:57:37 +01:00
border-radius: 50%;
background-color: #ffffff;
}
#char-mouth {
position: absolute;
top: 2.2rem;
left: 1.1rem;
width: 1rem;
height: 0.75rem;
2017-12-06 13:23:30 +01:00
border-radius: 0 0 5rem 5rem;
2017-12-06 11:57:37 +01:00
background-color: #000000;
}
#char-tooth-left {
position: absolute;
top: 0px;
left: 0.15rem;
width: 0.3rem;
height: 0.3rem;
2017-12-06 11:57:37 +01:00
background-color: #ffffff;
}
#char-tooth-right {
position: absolute;
top: 0px;
left: 0.55rem;
width: 0.3rem;
height: 0.3rem;
2017-12-06 11:57:37 +01:00
background-color: #ffffff;
}
#char-main-body {
position: absolute;
width: 3rem;
height: 3rem;
2017-12-06 11:57:37 +01:00
}
#char-body {
position: absolute;
2017-12-06 13:23:30 +01:00
top: 0rem;
left: 0.1rem;
width: 3rem;
height: 3rem;
border-radius: 1rem;
2017-12-06 11:57:37 +01:00
background-color: #632e90;
}
#char-arm-left {
position: absolute;
top: 0.2rem;
left: -0.3rem;
width: 0.5rem;
height: 1.5rem;
border-radius: 0.5rem 0.5rem;
2017-12-06 11:57:37 +01:00
background-color: #632e90;
transform: rotate(310deg);
z-index: 1;
}
#char-arm-right {
position: absolute;
top: 0.2rem;
left: 3rem;
width: 0.5rem;
height: 1.5rem;
border-radius: 0.5rem 0.5rem;
2017-12-06 11:57:37 +01:00
background-color: #632e90;
transform: rotate(50deg);
}
#char-forearm-left {
position: absolute;
top: 0rem;
width: 0.5rem;
height: 0.75rem;
border-radius: 0.5rem 0.5rem;
2017-12-06 11:57:37 +01:00
background-color: #ffc993;
}
#char-forearm-right {
position: absolute;
top: 0rem;
left: 0rem;
width: 0.5rem;
height: 0.75rem;
border-radius: 0.5rem 0.5rem;
2017-12-06 11:57:37 +01:00
background-color: #ffc993;
}
#char-lower {
position: absolute;
top: 2.75rem;
left: 0.1rem;
2017-12-06 11:57:37 +01:00
}
#char-pants-middle {
position: absolute;
width: 3rem;
height: 1rem;
top: 0rem; /*sprawdzic!*/
left: 0rem;
border-radius: 0.4rem 0.4rem;
2017-12-06 11:57:37 +01:00
background-color: #e31e5e;
}
#char-pants-left {
position: absolute;
top: 0rem;
left: 0rem;
width: 1.25rem;
height: 2rem;
border-radius: 0.4rem 0.4rem;
2017-12-06 11:57:37 +01:00
background-color: #e31e5e;
}
#char-pants-right {
position: absolute;
top: 0rem;
left: 1.75rem;
width: 1.25rem;
height: 2rem;
border-radius: 0.4rem 0.4rem;
2017-12-06 11:57:37 +01:00
background-color: #e31e5e;
}
#char-leg-left {
position: absolute;
top: 2rem;
left: 0.2rem;
width: 0.8rem;
height: 0.8rem;
2017-12-06 11:57:37 +01:00
background-color: #ffc993;
}
#char-leg-right {
position: absolute;
top: 2rem;
left: 0.2rem;
width: 0.8rem;
height: 0.8rem;
2017-12-06 11:57:37 +01:00
background-color: #ffc993;
}
#char-sock-left {
position: absolute;
top: 2.8rem;
left: 0.2rem;
width: 0.8rem;
height: 0.3rem;
2017-12-06 11:57:37 +01:00
background-color: #0072bb;
}
#char-sock-right {
position: absolute;
top: 2.8rem;
left: 0.2rem;
width: 0.8rem;
height: 0.3rem;
2017-12-06 11:57:37 +01:00
background-color: #0072bb;
}
#char-shoe-left {
position: absolute;
top: 3.1rem;
left: -0.4rem;
width: 1.4rem;
height: 0.5rem;
2017-12-06 13:23:30 +01:00
border-radius: 1.5rem 0 0 0;
2017-12-06 11:57:37 +01:00
background-color: #8e8e8e;
}
#char-shoe-right {
position: absolute;
top: 3.1rem;
left: 0.2rem;
width: 1.4rem;
height: 0.5rem;
2017-12-06 13:23:30 +01:00
border-radius: 0 1.5rem 0 0;
2017-12-06 11:57:37 +01:00
background-color: #8e8e8e;
}