mirror of
https://github.com/flancian/garden.git
synced 2026-08-07 15:06:19 +00:00
Flex saves the day, perhaps.
This commit is contained in:
@@ -71,12 +71,44 @@ nav { font-family: sans-serif}
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mini-search{
|
.topline-node-wrapper {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="text"] {
|
||||||
|
-webkit-box-sizing: border-box; // Safari/Chrome, other WebKit
|
||||||
|
-moz-box-sizing: border-box; // Firefox, other Gecko
|
||||||
|
box-sizing: border-box; // Opera/IE 8+
|
||||||
|
}
|
||||||
|
|
||||||
|
.topline-search{
|
||||||
|
display: block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.topline-query {
|
||||||
|
flex: auto;
|
||||||
|
display: inline;
|
||||||
|
vertical-align: middle;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.topline-cli {
|
||||||
|
flex: auto;
|
||||||
|
vertical-align: middle;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#mini-cli {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@media screen and (min-width: 900px) {
|
@media screen and (min-width: 900px) {
|
||||||
.navigation {
|
.navigation {
|
||||||
|
|||||||
+17
-15
@@ -29,7 +29,7 @@
|
|||||||
<link rel="search" type="application/opensearchdescription+xml"
|
<link rel="search" type="application/opensearchdescription+xml"
|
||||||
title="Agora" href={{url_for('agora.search_xml')}}>
|
title="Agora" href={{url_for('agora.search_xml')}}>
|
||||||
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Merriweather:300,700,700italic,300italic|Open+Sans:700,400" />
|
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Merriweather:300,700,700italic,300italic|Open+Sans:700,400" />
|
||||||
<link rel="stylesheet" media="screen" type="text/css" href="{{ url_for('static',filename='css/screen-dark.css')}}?uncached19" id="theme-link" />
|
<link rel="stylesheet" media="screen" type="text/css" href="{{ url_for('static',filename='css/screen-dark.css')}}?uncached20" id="theme-link" />
|
||||||
<script type=text/javascript src="{{url_for('static', filename='js/main.js')}}"></script>
|
<script type=text/javascript src="{{url_for('static', filename='js/main.js')}}"></script>
|
||||||
<!-- considering this way of integrating hypothesis, although I like "standard" (sidebar) mode.
|
<!-- considering this way of integrating hypothesis, although I like "standard" (sidebar) mode.
|
||||||
<script type="application/json" class="js-hypothesis-config">
|
<script type="application/json" class="js-hypothesis-config">
|
||||||
@@ -65,27 +65,29 @@
|
|||||||
</div>
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<div class="topline-node"
|
<div class="topline-node">
|
||||||
<span class="cli-form">
|
<div class="topline-node-wrapper">
|
||||||
<form action="/exec" method="get">
|
<div class="topline-query">
|
||||||
<strong>node →</strong> <input id="mini-cli" type="text" value="{{qstr}}" name="q" autofocus>
|
<strong>query:</strong>
|
||||||
</form>
|
</div>
|
||||||
</span>
|
<div class="topline-cli">
|
||||||
|
<form action="/exec" method="get">
|
||||||
|
<input id="mini-cli" type="text" value="{{qstr}}" name="q" autofocus>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mini-search">
|
<div class="topline-search">
|
||||||
<strong>on the internet ↪</strong>
|
<strong>↳ search on:</strong>
|
||||||
<a href="https://www.google.com/search?q={{q}}">google</a>
|
<a href="https://www.google.com/search?q={{q}}">g</a>
|
||||||
| <a href="https://www.duckduckgo.com/{{q}}">ddg</a>
|
| <a href="https://www.duckduckgo.com/{{q}}">ddg</a>
|
||||||
| <a href="https://en.wikipedia.org/wiki/Special:Search/{{q}}">wp</a>
|
| <a href="https://en.wikipedia.org/wiki/Special:Search/{{q}}">wp</a>
|
||||||
| <a href="https://twitter.com/search/?f=live&q={{q}}">twitter</a>
|
| <a href="https://twitter.com/search/?f=live&q={{q}}">tw</a>
|
||||||
| <a href="https://github.com/search?q={{q}}">gh</a>
|
| <a href="https://github.com/search?q={{q}}">gh</a>
|
||||||
| <a href="http://encyclopedia.uia.org/en/problems?combine={{q}}">uia</a>
|
| <a href="http://encyclopedia.uia.org/en/problems?combine={{q}}">uia</a>
|
||||||
| <a href="https://www.pubpub.org/search?q={{q}}">pp</a>
|
| <a href="https://www.pubpub.org/search?q={{q}}">pp</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="mini-search">
|
|
||||||
<strong>in the agora ⬎</strong>
|
|
||||||
</div>
|
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|||||||
Reference in New Issue
Block a user