diff options
| author | Neku <neku@pomf.se> | 2013-12-15 10:17:54 +0100 |
|---|---|---|
| committer | Neku <neku@pomf.se> | 2013-12-15 10:17:54 +0100 |
| commit | ca784b878869279c95deaaadb754f17646e172dc (patch) | |
| tree | cc3194868d76c968203924d4d3a7bcbd07ceac78 /moe/css | |
| parent | a0544a9b609e0fa96d11ddbbe46c8e22d56ca1cc (diff) | |
some changes
Diffstat (limited to 'moe/css')
| -rw-r--r-- | moe/css/style.css | 179 |
1 files changed, 179 insertions, 0 deletions
diff --git a/moe/css/style.css b/moe/css/style.css new file mode 100644 index 0000000..2ee2921 --- /dev/null +++ b/moe/css/style.css @@ -0,0 +1,179 @@ +@charset "utf-8"; +/* CSS Document */ + +/* ---------- GENERAL ---------- */ + +body { + background: #eaeaea; + color: #999; + font: 100%/1.5em sans-serif; + margin: 0; +} + +h3 { margin: 0; } + +a { + color: #999; + text-decoration: none; +} + +a:hover { color: #1dabb8; } + +fieldset { + border: none; + margin: 0; +} + +input { + border: none; + font-family: inherit; + font-size: inherit; + margin: 0; + -webkit-appearance: none; +} + +input:focus { + outline: none; +} + +input[type="submit"] { cursor: pointer; } + +.clearfix { *zoom: 1; } +.clearfix:before, .clearfix:after { + content: ""; + display: table; +} +.clearfix:after { clear: both; } + +/* ---------- LOGIN-FORM ---------- */ + +#login-form { + margin: 50px auto; + width: 300px; +} + +#login-form h3 { + background-color: #282830; + border-radius: 5px 5px 0 0; + color: #fff; + font-size: 14px; + padding: 20px; + text-align: center; + text-transform: uppercase; +} + +#login-form fieldset { + background: #fff; + border-radius: 0 0 5px 5px; + padding: 20px; + position: relative; +} + +#login-form fieldset:before { + background-color: #fff; + content: ""; + height: 8px; + left: 50%; + margin: -4px 0 0 -4px; + position: absolute; + top: 0; + -webkit-transform: rotate(45deg); + -moz-transform: rotate(45deg); + -ms-transform: rotate(45deg); + -o-transform: rotate(45deg); + transform: rotate(45deg); + width: 8px; +} + +#login-form input { + font-size: 14px; +} + +#login-form input[type="email"], +#login-form input[type="password"] { + border: 1px solid #dcdcdc; + padding: 12px 10px; + width: 238px; +} + +#login-form input[type="email"] { + border-radius: 3px 3px 0 0; +} + +#login-form input[type="password"] { + border-top: none; + border-radius: 0px 0px 3px 3px; +} + +#login-form input[type="submit"] { + background: #1dabb8; + border-radius: 3px; + color: #fff; + float: right; + font-weight: bold; + margin-top: 20px; + padding: 12px 20px; +} + +#login-form input[type="submit"]:hover { background: #198d98; } + +#login-form footer { + font-size: 12px; + margin-top: 16px; +} + +.info { + background: #e5e5e5; + border-radius: 50%; + display: inline-block; + height: 20px; + line-height: 20px; + margin: 0 10px 0 0; + text-align: center; + width: 20px; +} + +#fail { +display: none; +} +#fail:target { +display: block; +} + +#fail:target { + margin: 50px auto; + width: 300px; +} + +#fail:target h3 { + background-color: #282830; + border-radius: 5px 5px 0 0; + color: #fff; + font-size: 14px; + padding: 20px; + text-align: center; + text-transform: uppercase; +} + +#fail:target fieldset { + background: #fff; + border-radius: 0 0 5px 5px; + padding: 20px; + position: relative; +} + +#fail:target fieldset:before { + background-color: #fff; + content: ""; + height: 8px; + left: 50%; + margin: -4px 0 0 -4px; + position: absolute; + top: 0; + -webkit-transform: rotate(45deg); + -moz-transform: rotate(45deg); + -ms-transform: rotate(45deg); + -o-transform: rotate(45deg); + transform: rotate(45deg); + width: 8px; +}
\ No newline at end of file |
