various cross-reading prototypes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

203 lines
2.9 KiB

@font-face{
font-family: 'header';
src: url('./pacifico/Pacifico.ttf');
}
body{
margin:20px;
font-size: 16px;
line-height: 1.4;
overflow-x: hidden;
}
h1, h2, h3{
font-size: 100%;
margin:2.1em 0 0 0;
}
h2{
font-weight: normal;
}
hr{
border:0;
border-bottom:1px dashed black;
clear: both;
margin:2em 0;
}
a, a:active, a:hover{
color:black;
text-decoration: none;
border-bottom:1px dotted;
padding:0;
margin:0;
z-index: 1;
}
#nav-wrapper, #nav-wrapper a{
z-index: -1;
color:magenta;
}
#nav{
display: inline-block;
position: absolute;
top:12px;
}
#txt-menu{
display: none;
}
#logo{
margin:0 30px 30px 0;
font-family: 'header', monospace;
font-size: 500%;
line-height: 1.1;
font-weight: normal;
}
#logo a{
border:0;
color:magenta;
}
#search{
width: 400px;
position: relative;
margin:0 20px 80px 0;
vertical-align: top;
}
#search input#query{
width: 100%;
height: 30px;
padding:0px 10px;
border:1px solid magenta;
}
#search #submit{
position: absolute;
width: 26px;
height: 26px;
right: -12px;
top:5px;
border:0;
border-radius: 100%;
background-color:transparent;
text-align: center;
color:magenta;
}
#search #submit:hover{
cursor: pointer;
}
#txt-list{
position: absolute;
width:250px;
right: 10px;
top:0;
z-index: 3;
}
#txt-list ul{
margin:0;
padding:0;
}
#txt-list ul li{
margin:0;
padding:0 0 10px 0;
text-indent: -45px;
list-style: none;
word-break: break-all;
}
a.contrast{
border: 0;
}
#suggestions{
position: absolute;
width: 150px;
right: 320px;
top:0;
z-index: 2;
}
#wrapper{
z-index: 1;
width: calc(100% - 650px);
margin:1em 0 2em 0;
}
#results{
max-width: 800px;
}
#results .line{
margin:0 0 1em;
font-size: 125%;
}
#results strong.query{
width: 100%;
height: 12em;
padding: 2em 6em 2em 6em;
margin:-9.7em -6em -10.5em -6em;
z-index: -3;
}
#mappings{
line-height: 1;
}
#list{
line-height: 1.4;
}
#analytics{
margin:2em 0;
}
@media print{
#nav-wrapper{
display: none;
}
#wrapper{
width: 100%;
}
#list{
font-size: 70%;
line-height: 1.2;
margin: 0;
padding:0;
columns:9 auto;
column-gap: 3mm;
-webkit-hyphens:auto;
-ms-hyphens:auto;
hyphens:auto;
word-break: break-all;
}
#list h1{
margin:0 0 4em 0;
}
#list sup{
font-family: monospace;
vertical-align: top;
font-size: 60%;
}
a{
border:0;
}
#results h2{
margin:2.1em 0 0;
}
#results .line{
margin:0 0 0.7em;
}
#results strong.query{
margin:0;
padding:0;
height: auto;
/*padding:0.15em 0.25em 0.3em 0.5em;*/
/*border:1px dotted black;*/
/*border-radius: 25px 15px;*/
}
}
/*@media screen and (orientation: portrait) {
body, #nav-wrapper, #wrapper{
width: 100%;
}
#logo{
font-size: 300%;
}
#txt-menu{
display: block;
position: absolute;
top:0;
right: 0;
font-size: 150%;
}
}
*/