Minimum width for petname

main
Bob Mottram 2020-11-10 20:51:51 +00:00
parent f040bdbc38
commit bff8c1b228
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,7 @@
--follow-text-size2: 40px; --follow-text-size2: 40px;
--follow-text-entry-width: 90%; --follow-text-entry-width: 90%;
--focus-color: white; --focus-color: white;
--petname-width-chars: 16ch;
} }
@font-face { @font-face {
@ -139,6 +140,7 @@ a:focus {
input[type=text] { input[type=text] {
width: var(--follow-text-entry-width); width: var(--follow-text-entry-width);
clear: both; clear: both;
min-width: var(--petname-width-chars);
font-size: 24px; font-size: 24px;
text-align: center; text-align: center;
color: var(--text-entry-foreground); color: var(--text-entry-foreground);
@ -216,6 +218,7 @@ a:focus {
clear: both; clear: both;
font-size: 40px; font-size: 40px;
text-align: center; text-align: center;
min-width: var(--petname-width-chars);
color: var(--text-entry-foreground); color: var(--text-entry-foreground);
background-color: var(--text-entry-background); background-color: var(--text-entry-background);
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;