wide/static/css/sign.css

227 lines
3.5 KiB
CSS

/*
* Copyright (c) 2014-present, b3log.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
body {
display: flex;
min-height: 100vh;
flex-direction: column;
}
.wrapper {
margin: 0 auto;
width: 980px;
display: flex;
align-items: center;
}
.header .logo {
float: left;
height: 32px;
margin-top: 3px;
}
.header {
margin: 8px 0;
}
.header li {
float: left;
margin-left: 25px;
}
.header a {
display: block;
font-weight: bold;
padding: 5px 0;
color: #333;
line-height: 30px;
text-decoration: none;
}
.header a:hover {
color: #4285f4;
}
.fn-left {
flex: 1;
}
.content {
border-top: 1px solid #A4A4A4;
border-bottom: 1px solid #919191;
background-color: #3b3e43;
flex: 1;
display: flex;
align-items: center;
}
.content h2 {
color: #FFF;
font-size: 70px;
margin: 0 0 60px;
}
.content h3 {
color: #4285f4;
font-size: 21px;
}
.content .form {
padding: 24px 15px;
background-color: #fff;
border-radius: 6px;
width: 320px;
position: relative;
}
.content a {
color: #4285f4;
}
.login__github {
cursor: pointer;
background-image: url("/static/images/github.png");
height: 200px;
width: 200px;
background-size: cover;
margin: 20px auto;
background-position: center center;
}
.login__github:hover {
background-image: url("/static/images/github.gif");
}
.btn {
width: 100%;
color: #fff;
background-color: #2ebc4f;
padding: 10px;
border-radius: 3px;
cursor: pointer;
border: 0;
display: block;
text-align: center;
}
.btn:hover {
text-decoration: none;
background-color: #28a745;
}
.btn:focus {
box-shadow: 0 0 0 0.2em rgba(40, 167, 69, .3);
}
.btn-blue {
background-color: #4285f4;
}
.btn-blue:hover {
background-color: #2a75f3;
}
.btn.btn-white,
.btn.btn-red {
color: #333;
background-color: #fff;
}
.btn.btn-red {
color: #d23f31;
}
.btn.btn-white:hover {
background-color: #ddd;
}
.btn.btn-red:hover {
color: #fff;
background-color: #d23f31;
}
.desc {
color: #6a737d;
font-size: 12px;
}
.more-detail {
display: none;
margin: 0 0 8px 60px;
}
.checkbox {
margin-top: 8px;
display: block;
}
.view-more {
cursor: pointer;
display: block;
text-align: center;
color: #4285f4;
margin-top: 8px;
}
.footer {
line-height: 30px;
color: #777;
font-size: 12px;
text-align: center;
position: relative;
}
.footer a {
text-decoration: none;
color: #4285f4;
}
.footer a:hover {
text-decoration: underline;
}
.footer .github-btns {
height: 25px;
position: absolute;
top: 5px;
right: 0;
}
/* start sign up */
.dir {
color: #4285f4;
font-size: 18px;
word-wrap: break-word;
margin-top: 20px;
}
#dir {
color: #999;
font-size: 13px;
}
.form.sign-up {
margin-top: -108px;
}
#loginBtn,
#signUpBtn {
margin-top: 20px;
font-size: 16px;
}
/* end sign up */