diff options
Diffstat (limited to 'web-ui/src/login/login.css')
-rw-r--r-- | web-ui/src/login/login.css | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/web-ui/src/login/login.css b/web-ui/src/login/login.css new file mode 100644 index 00000000..9628932f --- /dev/null +++ b/web-ui/src/login/login.css @@ -0,0 +1,74 @@ +/* + * Copyright (c) 2017 ThoughtWorks, Inc. + * + * Pixelated is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Pixelated is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Pixelated. If not, see <http://www.gnu.org/licenses/>. + */ + +body { + font-family: "Open Sans", "Microsoft YaHei", "Hiragino Sans GB", "Hiragino Sans GB W3", "微软雅黑", "Helvetica Neue", Arial, sans-serif; + background-color: #EAEAEA; + height: 100vh; + color: #3E3A37; + + background-image: url("/public/images/hive-bg.png"); + background-repeat: repeat; +} + +#root { + margin-top: 3%; + margin-bottom: 3%; +} + +.disclaimer { + display: block; + width: 90%; + margin: auto; + max-width: 400px; + background-color: #2BA6CB; + color: #FFFFFF; + font-weight: 300; + font-size: 0.8rem; + margin-bottom: 20px; +} + +.disclaimer-content { + padding: 1em; +} + +.disclaimer li { + margin-top: 1em; +} + +@media only screen and (min-width : 500px) { + .disclaimer { + width: 60%; + } +} + +@media only screen and (min-width : 960px) { + body { + font-size: 1.2em; + } + + .disclaimer { + width: 70%; + max-width: 700px; + padding: 0; + font-size: 1em; + } + + .disclaimer-content { + font-size: 0.7em; + } +} |