cross-reader/static/css/stylesheet.css

354 lines
5.4 KiB
CSS

@font-face{
font-family: 'mono';
src:url('fonts/go-mono/Go-Mono.ttf');
font-style: normal;
font-weight: normal;
}
@font-face{
font-family: 'mono';
src:url('fonts/go-mono/Go-Mono-Italic.ttf');
font-style: italic;
font-weight: normal;
}
@font-face{
font-family: 'script';
src:url('fonts/LiberationSansNarrow-Bold.ttf');
font-style: normal;
font-weight: normal;
}
@font-face{
font-family: 'fluxisch';
src:url('fonts/FluxischElse-Bold.woff');
font-style: normal;
font-weight: normal;
}
/* animations */
@keyframes blink {
0% { opacity: 1; }
10% { opacity: 0.2; }
20% { opacity: 1; }
100% {opacity: 1;}
}
/* "if we cant make noise its not our revolution" */
body{
position: relative;
min-width: 900px;
margin:20px;
font-family: mono, sans-serif;
font-size: 8px;
overflow-x: hidden;
z-index: -1;
}
body.black,
body.black a{
background-color: rgb(5,5,5);
color:white;
}
body.black #logo a{
-webkit-text-stroke: 2px white;
}
body.black #txt-list{
display: none;
}
h1, h2, h3{
font-size: 16px;
font-weight: normal;
margin:1em 0;
}
hr{
border:0;
border-bottom:1px dotted;
clear: both;
margin:1em 0;
}
a, a:active, a:hover{
color:black;
text-decoration: none;
border-bottom:1px dotted;
padding:0;
margin:0;
}
sup, small{
/*font-size: 100%;*/
}
p{
margin:0;
}
code{
font-family: 'mono';
font-size: 16px;
}
blockquote{
margin-left:50px;
}
i{
vertical-align: text-bottom;
position: absolute;
margin-left: 3.5em;
margin-top: -1px;
}
.blink{
animation: 2s linear 1s infinite blink;
}
.blink a.printing{
animation: 0.5s linear 0.5s infinite blink;
}
.blink a.printing:before,
.blink a.printing::before {
content: "printing ...";
position: fixed;
top: 187px;
right: 299px;
font-size: 85%;
}
/* txt list on the right */
#txt-list{
position: absolute;
width:170px;
right: 0px;
top:-12px;
margin:0 20px 20px 20px;
font-size: 16px;
line-height: 1.4;
z-index: -1;
}
#txt-list ul{
margin:1em 0 0 0;
padding:0;
}
#txt-list ul li{
margin:0;
padding:0 0 10px 0;
text-indent: -50px;
list-style: none;
}
#txt-list ul li small{
margin-right: -0.35em;
}
#txt-list li a.contrast,
a.contrast{
border: 0;
}
#wrapper{
position: absolute;
z-index: -1;
width: calc(100% - 400px);
min-width: 600px;
margin:0 0 20px 0;
font-family: mono, sans-serif;
font-size: 16px;
line-height: 1.65;
letter-spacing: -0.01em;
}
#notes{
position: fixed;
width: calc(100% - 150px);
top:0;
left:0;
padding:3px 75px 7px;
color:white;
background-color: black;
}
#notes #close{
position: fixed;
top:0px;
left:10px;
width: auto;
}
#notes a{
color: white;
}
#nav{
position: absolute;
top:0;
right:0;
}
#nav .page-button{
display: inline-block;
padding-right: 5px;
}
#logo a,
#search {
position: relative;
left:50px;
}
#logo a {
border: 0;
font-family: 'script';
font-size: 64px;
-webkit-text-stroke: 2px black;
line-height: 1;
letter-spacing: -0.035em;
}
#search{
position: relative;
display: inline-block;
margin:50px 0;
}
#search input#query{
width: 250px;
height: 40px;
padding:0px 10px;
font-family: 'mono';
font-size: 16px;
}
#search button#submit{
position: relative;
display: inline-block;
padding:0 10px;
}
#search button#submit:after{
content:"search";
}
#search button#submit.searching:after{
content:"searching ...";
}
#search #submit,
#print button {
height: 42px;
font-family: 'mono';
font-size: 16px;
text-align: center;
}
#search #submit:hover,
#print button:hover {
cursor: pointer;
}
#print{
position: relative;
display: inline-block;
margin-left: 50px;
}
#print a{
border:0;
}
#print button:after{
content: "print";
}
#print button.printing:after{
content:"printing ...";
}
#print.connected{
display: inline-block;
}
#print.disconnected{
display: none;
}
#content{
width:100%;
margin:10px 0 10px 0;
}
strong, strong.query, strong.word, .result{
font-family: 'script';
font-size: 22px;
line-height: 1.3;
font-weight: bold;
letter-spacing: 0em;
}
.guides{
max-width: 600px;
margin:2em 0 4em 10px;
}
.guides li{
margin-bottom: 0.5em;
}
.cross{
clear: both;
}
p.tfidf, p.techfem, .cross p{
position: relative;
margin: 0 0 1.2em 0;
}
p.tfidf, p.techfem{
width: calc(50% - 1em);
display: inline-block;
}
p.techfem {
float: left;
margin-right: 2em;
}
p.techfem.sync{
display: block;
clear: both;
}
p.techfem:before{
content:' ◕';
padding-right: 0.5em;
vertical-align: text-bottom;
}
p.tfidf{
}
p.tfidf.sync{
display: block;
float: right;
clear: both;
}
p.tfidf:before{
content:'◧';
padding-right: 0.5em;
vertical-align: text-bottom;
}
p.note{
width: 100%;
text-align: center;
padding-bottom: 1em;
}
.cross strong{
line-height: 0;
}
/* make sure that these blocks don't flow into the cross text blocks*/
#results, #notused, #suggestions, #conditionals, #analytics ,.analytics, .mappings, #colophon{
clear: both;
}
.results{
columns:220px auto;
column-gap:10px;
scroll-behavior: smooth;
}
.result{
display: inline-block;
width: 190px;
margin:0;
page-break-inside: avoid;
padding: 0 20px 0 20px;
transition: all 0.2s ease-in-out;
text-align:center;
z-index: 2;
}
.result strong.query{
display: block;
width: 100%;
height: 12em;
padding: 10em 6em 0;
margin:-9.7em 0 -10.5em -6em;
text-align: center;
}
.result .title{
font-family: 'mono';
font-size: 16px;
font-weight: normal;
-webkit-text-stroke: 0;
padding:10px;
margin:3em 0 10px 0;
}
.result .title a.contrast{
display: block;
margin-top: 15px;
}