specimens-of-composite-port.../www/styles.css

307 lines
6.5 KiB
CSS
Raw Normal View History

2019-02-04 12:49:30 +00:00
:root {
--primary-color: white;
--secundary-color: black;
}
html{
/* filter: invert(1); */
background: var(--secundary-color);
2019-02-04 17:37:55 +00:00
/* background-color: darkred; */
2019-02-04 12:49:30 +00:00
}
body{
font-family: "CMU Serif";
border: solid 6px var(--primary-color);
margin-top: 20px;
width: 1010px;
height: 1800px;
transform: rotate(-.1deg);
font-size: 25pt;
margin-left: 20px;
color: var(--primary-color);
}
h1,h2{
font-family: "OSP-DIN";
text-align: center;
text-transform: uppercase;
border-bottom: solid 2px var(--primary-color);
margin-top: 5px;
margin-bottom: 5px;
padding-bottom: 3px;
padding-top: 0;
font-weight: normal;
}
h2{
font-size: 40pt;
padding: 20px 0 20px 0;
}
section#gender{
2019-02-04 17:37:55 +00:00
height: 47%;
2019-02-04 12:49:30 +00:00
border-bottom: solid 4px var(--primary-color);
}
h1{
/* font-size: 82pt; */
font-size: 80pt;
margin: 9px 0 0 0;
padding-bottom: 4px;
}
.of{
font-size: 70%;
}
.star{
font-size: 40%;
display: inline-block;
position: relative;
2019-02-04 17:37:55 +00:00
top: -27px;
2019-02-04 12:49:30 +00:00
}
.genders{
text-align: center;
}
#gender h2{
letter-spacing: 2px;
}
#affdex{
position: absolute;
top: calc(100% - 18px);
right: 5px;
font-size: 10pt;
}
#signature{
position: absolute;
top: calc(100% + 18px);
left: 5px;
right: 5px;
font-size: 11pt;
font-weight: bold;
text-align: right;
}
2019-02-04 17:37:55 +00:00
.genders {
display: flex;
/* flex-direction: row; */
justify-content: space-between;
/* vertical align: */
align-items: center;
margin: 30px;
}
.gender-wrap{
position: relative;
}
.genders > div{
font-size: 20pt;
width: 195px;
}
.genders .composite img{
width: 100%;
/* height: 180px; */
}
/* .genders #front--composite{
margin-top: 10px;
} */
2019-02-08 21:35:15 +00:00
#general{
width: 300px;
}
#general .composite img{
width: 195px;
}
.genders #general .cases{
white-space: nowrap;
}
2019-02-04 17:37:55 +00:00
.genders #front--composite{
margin-top: 30px;
}
.genders .type{
text-transform: uppercase;;
display:block;
margin-top: -45px;
}
2019-02-04 12:49:30 +00:00
#graph{
display: flex;
flex-direction: row;
margin: 0 20px;
padding-top: 50px;
clear:both;
2019-02-04 17:37:55 +00:00
font-size: 22pt;
2019-02-04 12:49:30 +00:00
}
#graph > div{
2019-02-04 17:37:55 +00:00
flex: 1;
min-width: 5%;
overflow: hidden;
}
#lines--side, #lines--front{
position: absolute;
top: 100px;
left: 200px;
z-index: -1;
}
#lines--side{
top: 120px;
left: 580px;
transform: scale(-1);
2019-02-04 12:49:30 +00:00
}
#graph .wrap{
border: solid 2px var(--primary-color);
height: 60px;
border-right:none;
}
#graph div:last-child .wrap{
border-right: solid 2px var(--primary-color);
}
#graph .wrap .background{
height: 100%;
width:100%;
box-sizing: border-box;
/* background-color: red; */
background-image:url('texture-cross.png');
background-size: 12px;
filter:invert(1);
/* create inverted primary color border, as to separate texture from edge */
border: solid 3px var(--primary-color);
}
#graph > div:nth-child(2) .wrap .background{
background-image:url('texture-diagonal.png');
background-size: 12px;
}
#graph > div:nth-child(3) .wrap .background{
background-image:url('texture-ball.png');
background-size: 12px;
}
#graph .cases{
text-align: center;
2019-02-04 17:37:55 +00:00
text-wrap: wrap;
height: 1.2em;;
2019-02-04 12:49:30 +00:00
}
#differences{
border-bottom: solid 4px var(--primary-color);
2019-02-04 17:37:55 +00:00
padding-bottom: 10px;
display:flex;
height: 497px;
2019-02-04 12:49:30 +00:00
}
#differences::after{
content: '';
clear:both;
display: block;
}
#differences .gender {
2019-02-04 17:37:55 +00:00
font-size: 18pt;
}
#differences > div{
flex: 1;
}
#differences .gender {
width: 100%;
margin: 40px 0 0 0;
/* float:left; */
2019-02-04 12:49:30 +00:00
text-align: center;
2019-02-04 17:37:55 +00:00
position: relative;
text-transform: uppercase;
}
#differences .gender + .gender{
margin-top: 20px;
}
#differences .gender.explanation {
text-align: left;
text-transform: none;
2019-02-08 21:35:15 +00:00
padding-left: 78px;
2019-02-04 17:37:55 +00:00
padding-right: 50px;
box-sizing: border-box;
}
#differences .gender.explanation h3{
margin: 60px 0 0 0;
padding:0;
}
#differences .gender.explanation p{
margin: 0;
}
#differences .gender.explanation + .gender{
margin-top: 40px;
}
2019-02-08 21:35:15 +00:00
2019-02-04 12:49:30 +00:00
#differences .gender img{
2019-02-04 17:37:55 +00:00
width: 170px;
height: 170px;
2019-02-04 12:49:30 +00:00
border: solid 2px var(--primary-color);
}
#differences .gender h2{
border-bottom: none;
margin-top: 40px;
}
2019-02-04 17:37:55 +00:00
#bar-wrap{
position: relative;
}
#legend{
position: absolute;
border-top: solid 4px var(--primary-color);
border-right: solid 4px var(--primary-color);
border-bottom: solid 1px var(--secundary-color);
background-color: var(--secundary-color);
bottom: calc(100%);
left:0;
width: 46%;
padding: 20px 22px 0 22px;
font-size: 20pt;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#legend div{
display: inline-block;
text-transform: uppercase;
position: relative;
top: 15px;
font-size: 18pt;
}
#legend div::before{
content: '';
display: inline-block;
width: 1em;
height: 1em;
border: solid 2px var(--primary-color);
outline: 2px solid var(--secundary-color);
margin-right: 10px;
background-image:url('texture-cross.png');
background-size: 12px;
filter:invert(1);
font-size: 15pt;
/* vertical-align: baseline; */
position: relative;
top: 2px;
}
#legend div:nth-child(2)::before{
background-image:url('texture-diagonal.png');
background-size: 12px;
}
#legend div:nth-child(3)::before{
background-image:url('texture-ball.png');
background-size: 12px;
}