specimens-of-composite-port.../www/index.html

133 lines
4.0 KiB
HTML

<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Specimens of (involuntary) composite portraiture</title>
<style media="screen">
html{
/* height: 100vh;
width: 100vw; */
}
body{
font-family: "CMU Serif";
border:solid 2px black;
margin: 20px;
width: calc(100vw - 44px);
height: calc(100vh - 44px);
/* box-sizing: border-box; */
transform: rotate(.2deg);
font-size: 25pt;
}
h1,h2{
font-family: "OSP-DIN";
text-align: center;
text-transform: uppercase;
border-bottom: solid 2px black;
margin-top: 5px;
margin-bottom: 5px;
padding-bottom: 3px;
padding-top: 0;
font-weight: normal;
}
section#gender{
height: 45%;
border-bottom: solid 4px black;
}
section#ethnicity{
height: 48%;
border-bottom: solid 2px black;
}
h1{
font-size: 46pt;
}
.of{
font-size: 70%;
}
.star{
font-size: 40%;
display: inline-block;
position: relative;
top: -12px;
}
#gender h2{
letter-spacing: 5px;
}
#ethnicity h2{
letter-spacing: 2px;
}
#affdex{
position: absolute;
top: calc(100% - 18px);
right: 20px;
font-size: 14pt;
}
#graph{
display: flex;
flex-direction: row;
margin: 0 10px;
}
#graph > div{
width: 20%;
}
#graph .background{
border: solid 2px black;
height: 20px;
border-right:none;
}
#graph div:last-child .background{
border-right: solid 2px black;
}
#graph .cases{
text-align: center;
}
</style>
</head>
<body>
<h1>Specimens <span class='of'>of</span> (Involuntary) Composite Portraiture</h1>
<section id='gender'>
<h2>Gender Differentiation<span class='star'>*</span></h2>
<div class='genders'>
test
</div>
</section>
<section id='ethnicity'>
<h2>Reinforced Ethnical Stereotypes</h2>
<div id='graph'>
<div id='graph--black-african'>
<div class='background'></div>
<div class='cases'><span class='nr'>0</span> <span class='txt'>cases</span></div>
</div>
<div id='graph--caucasian'>
<div class='background'></div>
<div class='cases'><span class='nr'>0</span> <span class='txt'>cases</span></div>
</div>
<div id='graph--east-asian'>
<div class='background'></div>
<div class='cases'><span class='nr'>0</span> <span class='txt'>cases</span></div>
</div>
<div id='graph--hispanic'>
<div class='background'></div>
<div class='cases'><span class='nr'>0</span> <span class='txt'>cases</span></div>
</div>
<div id='graph--south-asian'>
<div class='background'></div>
<div class='cases'><span class='nr'>0</span> <span class='txt'>cases</span></div>
</div>
</div>
</section>
<div id='affdex'>* based on the 2017 edition of Affectiva's gender detection toolkit</div>
</body>
</html>