diff options
author | sijanec <anton@sijanec.eu> | 2021-04-03 23:15:48 +0200 |
---|---|---|
committer | sijanec <anton@sijanec.eu> | 2021-04-03 23:15:48 +0200 |
commit | bbf6fe2fd069ef89f73ecc3fe3ec2000833f05f4 (patch) | |
tree | f9960c7a43f7c0e1da6cb8e8656fcbda2129677a /src/hp.html | |
parent | initial commit (diff) | |
download | sear.c-bbf6fe2fd069ef89f73ecc3fe3ec2000833f05f4.tar sear.c-bbf6fe2fd069ef89f73ecc3fe3ec2000833f05f4.tar.gz sear.c-bbf6fe2fd069ef89f73ecc3fe3ec2000833f05f4.tar.bz2 sear.c-bbf6fe2fd069ef89f73ecc3fe3ec2000833f05f4.tar.lz sear.c-bbf6fe2fd069ef89f73ecc3fe3ec2000833f05f4.tar.xz sear.c-bbf6fe2fd069ef89f73ecc3fe3ec2000833f05f4.tar.zst sear.c-bbf6fe2fd069ef89f73ecc3fe3ec2000833f05f4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/hp.html | 49 |
1 files changed, 34 insertions, 15 deletions
diff --git a/src/hp.html b/src/hp.html index 64da49d..d2bc82f 100644 --- a/src/hp.html +++ b/src/hp.html @@ -10,30 +10,49 @@ <link rel=stylesheet href=//sijanec.eu/assets/css/styles.css?ref=sear.c /> <!-- TODO: direktno vstavljanje v dokument --> <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon"> <!-- prevents favicon lookups --> <link rel="icon" href="data:;base64,iVBORw0KGgo="> + <link rel=search" type="application/opensearchdescription+xml" href="/osdd.xml"> <style> input[type=password], input[type=text], input[type=submit], input[type=button] { - width: 100%%; - height: 1,5cm; - font-size: 18; - } - input .125 { - width: 125%%; - } - input .50 { - width: 50%%; + height: 1cm; + font-size: 18px; } .result:hover { background: var(--bgc2); } + .container { + display: flex; + flex-direction: row; + flex-wrap: nowrap; + justify-content: center; + align-items: stretch; + } + input[name=q] { + flex-grow: 4; + } + input[type=submit] { + flex-basis: 12.5%%; + } + .SC_LOG_ERROR { + color: red; + } + .SC_LOG_WARNING { + color: orange; + } + .SC_LOG_INFO { + color: lightgreen; + } + .SC_LOG_DEBUG { + color: magenta; + } </style> </head> <body> - <form> - <input type=text name=q class=50 value="{{ query }}" placeholder="sear.c ..." /> - <input type=submit class=125 value=🔍 /> <!-- magnifying glass emoji --> - <input type=submit class=125 name=f value=Ʊ /> <!-- horseshoe unicode character --> - <input type=submit class=125 name=i value=🖼 /> <!-- framed picture emoji --> - <input type=submit class=125 name=v value=🎬 /> <!-- that thing they use in movies to denote start of a scene emoji --> + <form class=container> + <input accesskey=4 type=text name=q value="%s" placeholder="sear.c ..." /> <!-- see www.standardaccesskeys.com --> + <input type=submit value=🔍 /> <!-- magnifying glass emoji --> + <input type=submit name=f value=Ʊ /> <!-- horseshoe unicode character --> + <input type=submit name=i value=🖼 hidden=hidden /> <!-- framed picture emoji - img search not implemented --> + <input type=submit name=v value=🎬 hidden=hidden /> <!-- that thing they use in movies - vid search N/I --> </form> <h3> %s |