Improve style of comment & login forms
This commit is contained in:
@@ -55,17 +55,21 @@ th, td {
|
|||||||
}
|
}
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
width: 50em;
|
width: min(100%, 500px);
|
||||||
height: 15em;
|
height: 15em;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=text] {
|
input[type=text], input[type=password] {
|
||||||
width: 50em;
|
width: min(100%, 20em);
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
td > input[type=text], td > input[type=password] {
|
||||||
|
width: min(100%, 500px);
|
||||||
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
@@ -74,9 +78,13 @@ input[type=text] {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
form.form {
|
||||||
|
width: 90%;
|
||||||
|
}
|
||||||
|
|
||||||
table.form {
|
table.form {
|
||||||
border-collapse: unset;
|
border-collapse: unset;
|
||||||
width: auto;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.form > * > tr > td, th {
|
table.form > * > tr > td, th {
|
||||||
@@ -103,14 +111,6 @@ table.form > * > tr > td, th {
|
|||||||
padding: 8px;
|
padding: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login {
|
|
||||||
width: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.login input[type=text], .login input[type=password] {
|
|
||||||
width: 90%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Abuse checkboxes to collapse comments */
|
/* Abuse checkboxes to collapse comments */
|
||||||
.collapse {
|
.collapse {
|
||||||
appearance: none;
|
appearance: none;
|
||||||
|
|||||||
@@ -21,4 +21,4 @@ cd $base/..
|
|||||||
|
|
||||||
export DB=$db
|
export DB=$db
|
||||||
export SERVER=dev
|
export SERVER=dev
|
||||||
$FLASK --app main --debug run
|
$FLASK --app main --debug run $TEST_FLASK_ARGS
|
||||||
|
|||||||
Reference in New Issue
Block a user