mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-12-13 05:50:27 +00:00
Fix some layout things
This commit is contained in:
parent
eb22cf206c
commit
6241350e8b
@ -104,7 +104,6 @@ textarea {font-size:16px; font-family: 'PT Sans', 'Liberation Sans', sans-serif;
|
|||||||
.edit-form__message { width: 100%; margin: 0.25em 0; }
|
.edit-form__message { width: 100%; margin: 0.25em 0; }
|
||||||
.edit-form__save { font-weight: bold; }
|
.edit-form__save { font-weight: bold; }
|
||||||
.edit-toolbar__buttons, .edit-toolbar__ad { margin: .5rem; }
|
.edit-toolbar__buttons, .edit-toolbar__ad { margin: .5rem; }
|
||||||
.edit-toolbar__btn { font-size: .75rem; margin-bottom: .125rem; }
|
|
||||||
|
|
||||||
.icon {margin-right: .25rem; vertical-align: bottom; }
|
.icon {margin-right: .25rem; vertical-align: bottom; }
|
||||||
|
|
||||||
@ -471,6 +470,7 @@ kbd {
|
|||||||
* Buttons
|
* Buttons
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
::-webkit-file-upload-button,
|
||||||
.btn {
|
.btn {
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -519,6 +519,11 @@ kbd {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.edit-toolbar__btn {
|
||||||
|
font-size: .75rem;
|
||||||
|
margin-bottom: .125rem;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Recent changes
|
* Recent changes
|
||||||
*/
|
*/
|
||||||
@ -655,6 +660,10 @@ kbd {
|
|||||||
padding: 0 .5rem;
|
padding: 0 .5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.top-bar__search-bar {
|
||||||
|
vertical-align: text-top;
|
||||||
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
.top-bar a {
|
.top-bar a {
|
||||||
color: #ddd;
|
color: #ddd;
|
||||||
@ -714,7 +723,7 @@ kbd {
|
|||||||
}
|
}
|
||||||
.top-bar__wrapper {
|
.top-bar__wrapper {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
grid-template-columns: 1fr 2fr 1fr;
|
grid-template-columns: 1fr 1fr 1fr;
|
||||||
}
|
}
|
||||||
.top-bar__section_home {
|
.top-bar__section_home {
|
||||||
grid-column: 1 / span 1;
|
grid-column: 1 / span 1;
|
||||||
|
@ -126,18 +126,18 @@ Telegram auth widget was requested by Yogurt. As you can see, we don't offer use
|
|||||||
<p class="locked-notice__lock">🔒</p>
|
<p class="locked-notice__lock">🔒</p>
|
||||||
<h1 class="locked-notice__title">Locked</h1>
|
<h1 class="locked-notice__title">Locked</h1>
|
||||||
<form class="locked-notice__login-form" method="post" action="/login-data" id="login-form" enctype="multipart/form-data" autocomplete="on">
|
<form class="locked-notice__login-form" method="post" action="/login-data" id="login-form" enctype="multipart/form-data" autocomplete="on">
|
||||||
<label for="login-form__username">Username</label>
|
<label for="login-form__username">Username</label>
|
||||||
<br>
|
<br>
|
||||||
<input type="text" required autofocus id="login-form__username" name="username" autocomplete="username">
|
<input type="text" required autofocus id="login-form__username" name="username" autocomplete="username">
|
||||||
<br>
|
<br>
|
||||||
<label for="login-form__password">Password</label>
|
<label for="login-form__password">Password</label>
|
||||||
<br>
|
<br>
|
||||||
<input type="password" required name="password" autocomplete="current-password">
|
<input type="password" required name="password" autocomplete="current-password">
|
||||||
<br>
|
<br>
|
||||||
<input class="btn" type="submit" value="Log in">
|
<input class="btn" type="submit" value="Log in">
|
||||||
</form>
|
</form>
|
||||||
|
{%= telegramWidgetHTML() %}
|
||||||
</section>
|
</section>
|
||||||
{%= telegramWidgetHTML() %}
|
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -221,7 +221,7 @@ func streamtelegramWidgetHTML(qw422016 *qt422016.Writer) {
|
|||||||
if cfg.TelegramEnabled {
|
if cfg.TelegramEnabled {
|
||||||
//line views/auth.qtpl:71
|
//line views/auth.qtpl:71
|
||||||
qw422016.N().S(`
|
qw422016.N().S(`
|
||||||
<p>You can log in using Telegram. It only works if you have set your @username in Telegram and this username is free on this wiki.</p>
|
<p class="telegram-notice">You can log in using Telegram. It only works if you have set your @username in Telegram and this username is free on this wiki.</p>
|
||||||
<script async src="https://telegram.org/js/telegram-widget.js?15" data-telegram-login="`)
|
<script async src="https://telegram.org/js/telegram-widget.js?15" data-telegram-login="`)
|
||||||
//line views/auth.qtpl:73
|
//line views/auth.qtpl:73
|
||||||
qw422016.E().S(cfg.TelegramBotName)
|
qw422016.E().S(cfg.TelegramBotName)
|
||||||
@ -427,35 +427,40 @@ func StreamLockHTML(qw422016 *qt422016.Writer) {
|
|||||||
<input class="btn" type="submit" value="Log in">
|
<input class="btn" type="submit" value="Log in">
|
||||||
</form>
|
</form>
|
||||||
</section>
|
</section>
|
||||||
|
`)
|
||||||
|
//line views/auth.qtpl:140
|
||||||
|
streamtelegramWidgetHTML(qw422016)
|
||||||
|
//line views/auth.qtpl:140
|
||||||
|
qw422016.N().S(`
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
`)
|
`)
|
||||||
//line views/auth.qtpl:143
|
//line views/auth.qtpl:144
|
||||||
}
|
}
|
||||||
|
|
||||||
//line views/auth.qtpl:143
|
//line views/auth.qtpl:144
|
||||||
func WriteLockHTML(qq422016 qtio422016.Writer) {
|
func WriteLockHTML(qq422016 qtio422016.Writer) {
|
||||||
//line views/auth.qtpl:143
|
//line views/auth.qtpl:144
|
||||||
qw422016 := qt422016.AcquireWriter(qq422016)
|
qw422016 := qt422016.AcquireWriter(qq422016)
|
||||||
//line views/auth.qtpl:143
|
//line views/auth.qtpl:144
|
||||||
StreamLockHTML(qw422016)
|
StreamLockHTML(qw422016)
|
||||||
//line views/auth.qtpl:143
|
//line views/auth.qtpl:144
|
||||||
qt422016.ReleaseWriter(qw422016)
|
qt422016.ReleaseWriter(qw422016)
|
||||||
//line views/auth.qtpl:143
|
//line views/auth.qtpl:144
|
||||||
}
|
}
|
||||||
|
|
||||||
//line views/auth.qtpl:143
|
//line views/auth.qtpl:144
|
||||||
func LockHTML() string {
|
func LockHTML() string {
|
||||||
//line views/auth.qtpl:143
|
//line views/auth.qtpl:144
|
||||||
qb422016 := qt422016.AcquireByteBuffer()
|
qb422016 := qt422016.AcquireByteBuffer()
|
||||||
//line views/auth.qtpl:143
|
//line views/auth.qtpl:144
|
||||||
WriteLockHTML(qb422016)
|
WriteLockHTML(qb422016)
|
||||||
//line views/auth.qtpl:143
|
//line views/auth.qtpl:144
|
||||||
qs422016 := string(qb422016.B)
|
qs422016 := string(qb422016.B)
|
||||||
//line views/auth.qtpl:143
|
//line views/auth.qtpl:144
|
||||||
qt422016.ReleaseByteBuffer(qb422016)
|
qt422016.ReleaseByteBuffer(qb422016)
|
||||||
//line views/auth.qtpl:143
|
//line views/auth.qtpl:144
|
||||||
return qs422016
|
return qs422016
|
||||||
//line views/auth.qtpl:143
|
//line views/auth.qtpl:144
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user