a flask exercise and search machine prototype
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.
 
 
 

81 lines
1.2 KiB

body{
background-color: rgba(220,220,220,0.6);
margin:20px;
font-family: sans-serif;
font-size: 14px;
}
h1, h2, h3{
font-size: 100%;
margin:30px 0 0 0;
}
h2{
font-size: 12px;
font-weight: normal;
border-bottom:1px solid;
}
#logo, #search{
display: inline-block;
}
#logo{
margin:15px 0;
}
#search{
position: relative;
width: 300px;
margin:0 0 0 20px;
top:-3px;
}
#search input#query{
width: 100%;
height: 42px;
padding:0px 10px;
border:1px solid rgba(190,190,190,1);
vertical-align: baseline;
}
#search #submit{
position: absolute;
width: 26px;
height: 26px;
right: -12px;
top:9px;
border:0;
border-radius: 100%;
background-color:transparent;
text-align: center;
}
#search #submit:hover{
cursor: pointer;
}
#results, #intro{
width:calc(100% - 371px);
margin:10px 0 0 0;
}
.result{
margin:10px 0 0 0;
}
.sentence{
margin:10px 0 0 0;
}
.sentence strong{
color:#800000;
}
#txt-list{
position: absolute;
width:200px;
right: 0px;
top:-7px;
margin:20px;
font-size: 12px;
color:#800000;
}
#txt-list ul{
margin:0;
padding:0;
}
#txt-list ul li{
margin:0;
padding:0;
text-indent: -38px;
list-style: none;
word-break: break-all;
}