warning box for javascript

This commit is contained in:
nek0 2016-12-03 22:07:17 +01:00
parent 18ea2e708b
commit dedb8c70d5
3 changed files with 8 additions and 2 deletions

View file

@ -201,6 +201,12 @@ ul, ol {
display: none; display: none;
} }
.redbox {
padding: 1em;
border-radius: 5px;
background-color: red;
}
@media (max-width: 755px) { @media (max-width: 755px) {
#main { #main {
margin-top: 120px; margin-top: 120px;

View file

@ -1,6 +1,6 @@
$newline always $newline always
<div .medium> <div .medium>
<div .noscript .btn .btn-danger>You need to have Javascript enabled<br/> <div .noscript .redbox>You need to have Javascript enabled<br/>
<form .js-hidden> <form .js-hidden>
<h3>Activate your account <h3>Activate your account
<div .form-group .required> <div .form-group .required>

View file

@ -1,6 +1,6 @@
$newline always $newline always
<div .medium> <div .medium>
<div .noscript .btn .btn-danger>Please enable Javascript to log in<br/> <div .noscript .redbox>Please enable Javascript to log in<br/>
<form .js-hidden> <form .js-hidden>
<h3>Login <h3>Login
<div .form-group .required> <div .form-group .required>