1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Fit to mobile

Former-commit-id: 01f88e62753d2a19d6a2c03fba76c26b473febfe [formerly 1810a3f470c9a4c1f1acb34dbef4092eebe15a54] [formerly 44cf7ff6313f92bc328107415b7d00ac9254e811 [formerly 515a27a9c6]]
Former-commit-id: b8c6bd7f1d3e1fcfd45bb1e2bec72be73f8ca3e2 [formerly 078e1d9356457cb6a057f73e09cb8c6e568fb808]
Former-commit-id: 6b65bc325a1cefa633c663acfc2deb90e9e3e93b
This commit is contained in:
Zack Scholl 2017-03-22 08:49:51 -06:00
parent d46fe9cb6a
commit 59284f2601

View File

@ -25,9 +25,9 @@
#wrap {
position: absolute;
top: 50px;
left: 48px;
right: 30px;
bottom: 20px;
left: 2%;
right: 2%;
bottom: 2%;
/* border: 3px double #f99;
*/
}
@ -254,14 +254,15 @@
<ul class="pure-menu-list">
<li></li>
<!-- Required to keep them level? -->
<li class="pure-menu-item"><a href="/" class="pure-menu-link">Cowyo</a></li>
<li class="pure-menu-item {{ with .EditPage }}pure-menu-selected{{ end }}"><a href="/{{ .Page }}/edit" class="pure-menu-link"><span id="saveEditButton">Edit</span></a></li>
<li class="pure-menu-item {{ with .ViewPage }}pure-menu-selected{{ end }}"><a href="/{{ .Page }}/view" class="pure-menu-link">View</a></li>
<li class="pure-menu-item {{ with .ListPage }}pure-menu-selected{{ end }}"><a href="/{{ .Page }}/list" class="pure-menu-link">List</a></li>
<li class="pure-menu-item"><a href="#" class="pure-menu-link" id="encryptPage">{{ if .IsEncrypted }}Decrypt{{ else }}Encrypt{{end}}</a></li>
<li class="pure-menu-item"><a href="#" class="pure-menu-link" id="lockPage">{{ if .IsLocked }}Unlock{{ else }}Lock{{end}}</a></li>
<li class="pure-menu-item pure-menu-has-children pure-menu-allow-hover">
<a href="#" id="menuLink1" class="pure-menu-link">Other</a>
<ul class="pure-menu-children">
<li class="pure-menu-item"><a href="#" class="pure-menu-link" id="encryptPage">{{ if .IsEncrypted }}Decrypt{{ else }}Encrypt{{end}}</a></li>
<li class="pure-menu-item"><a href="#" class="pure-menu-link" id="lockPage">{{ if .IsLocked }}Unlock{{ else }}Lock{{end}}</a></li>
<li class="pure-menu-item"><a href="/{{ .Page }}/raw" class="pure-menu-link">Raw</a></li>
<li class="pure-menu-item"><a href="/{{ .Page }}/history" class="pure-menu-link">History</a></li>
<hr>