wide/static/css/sign.css

244 lines
3.6 KiB
CSS
Raw Normal View History

2015-01-01 05:06:33 +03:00
/*
2019-05-17 06:28:50 +03:00
* Copyright (c) 2014-present, b3log.org
2015-01-01 05:06:33 +03:00
*
2014-11-12 18:13:14 +03:00
* 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
2015-01-01 05:06:33 +03:00
*
2018-03-12 07:28:33 +03:00
* https://www.apache.org/licenses/LICENSE-2.0
2015-01-01 05:06:33 +03:00
*
2014-11-12 18:13:14 +03:00
* 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.
2015-01-01 05:06:33 +03:00
*/
2014-11-12 18:13:14 +03:00
2019-05-17 06:29:15 +03:00
body {
display: flex;
min-height: 100vh;
flex-direction: column;
}
2014-10-30 11:25:57 +03:00
.wrapper {
margin: 0 auto;
width: 980px;
2019-05-17 07:02:35 +03:00
display: flex;
align-items: center;
2014-10-30 11:25:57 +03:00
}
.header .logo {
float: left;
height: 32px;
margin-top: 3px;
}
.header {
margin: 8px 0;
}
.header li {
float: left;
2014-12-19 10:44:49 +03:00
margin-left: 25px;
2014-10-30 11:25:57 +03:00
}
.header a {
display: block;
font-weight: bold;
2014-12-19 10:44:49 +03:00
padding: 5px 0;
2014-10-30 11:25:57 +03:00
color: #333;
line-height: 30px;
text-decoration: none;
}
.header a:hover {
2019-05-17 07:02:35 +03:00
color: #4285f4;
}
.fn-left {
flex: 1;
2014-10-30 11:25:57 +03:00
}
.content {
border-top: 1px solid #A4A4A4;
border-bottom: 1px solid #919191;
2019-05-17 06:29:15 +03:00
background-color: #3b3e43;
flex: 1;
display: flex;
align-items: center;
2014-10-30 11:25:57 +03:00
}
.content h2 {
color: #FFF;
font-size: 70px;
margin: 0 0 60px;
}
.content h3 {
2019-05-17 06:29:15 +03:00
color: #4285f4;
2014-10-30 11:25:57 +03:00
font-size: 21px;
}
.content .form {
2019-05-17 07:02:35 +03:00
padding: 24px 15px;
background-color: #fff;
border-radius: 6px;
2014-10-30 11:25:57 +03:00
width: 320px;
position: relative;
}
2019-05-17 07:02:35 +03:00
.content a {
color: #4285f4;
2014-10-30 11:25:57 +03:00
}
2019-05-17 07:02:35 +03:00
2019-12-14 12:10:40 +03:00
.login__icon {
2019-05-17 07:02:35 +03:00
height: 200px;
width: 200px;
margin: 20px auto;
2019-12-14 12:10:40 +03:00
transition: all .15s ease-in-out;
padding-right: 24px;
color: #3b3e43;
fill: currentColor;
2019-05-17 07:02:35 +03:00
}
2019-12-14 12:10:40 +03:00
.login__icon:hover {
transform: scale(1.1);
2014-10-30 11:25:57 +03:00
}
2014-12-19 10:44:49 +03:00
.btn {
2014-11-21 09:39:56 +03:00
width: 100%;
2019-05-17 08:50:15 +03:00
color: #fff;
2019-05-17 07:02:35 +03:00
background-color: #2ebc4f;
2014-11-21 09:39:56 +03:00
padding: 10px;
2014-12-19 10:44:49 +03:00
border-radius: 3px;
cursor: pointer;
2019-05-17 07:02:35 +03:00
border: 0;
display: block;
text-align: center;
2014-11-23 09:46:16 +03:00
}
2014-12-19 10:44:49 +03:00
.btn:hover {
2019-05-17 07:02:35 +03:00
text-decoration: none;
background-color: #28a745;
2014-11-23 09:46:16 +03:00
}
2019-05-17 07:02:35 +03:00
.btn:focus {
box-shadow: 0 0 0 0.2em rgba(40, 167, 69, .3);
2014-11-23 09:46:16 +03:00
}
2019-07-17 13:15:59 +03:00
.btn-blue {
background-color: #4285f4;
}
.btn-blue:hover {
background-color: #2a75f3;
}
2019-05-17 08:50:15 +03:00
.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;
}
2019-05-17 07:02:35 +03:00
.desc {
color: #6a737d;
font-size: 12px;
2014-12-19 10:44:49 +03:00
}
2019-05-17 07:02:35 +03:00
.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;
2014-10-30 11:25:57 +03:00
}
.footer {
line-height: 30px;
color: #777;
font-size: 12px;
text-align: center;
2015-03-23 16:15:21 +03:00
position: relative;
2014-10-30 11:25:57 +03:00
}
.footer a {
text-decoration: none;
2019-05-17 07:02:35 +03:00
color: #4285f4;
2014-10-30 11:25:57 +03:00
}
.footer a:hover {
text-decoration: underline;
}
2015-03-23 16:15:21 +03:00
.footer .github-btns {
height: 25px;
position: absolute;
top: 5px;
right: 0;
}
2014-10-30 11:25:57 +03:00
/* start sign up */
.dir {
2019-05-17 07:02:35 +03:00
color: #4285f4;
2014-10-30 11:25:57 +03:00
font-size: 18px;
word-wrap: break-word;
margin-top: 20px;
}
#dir {
2019-05-17 07:02:35 +03:00
color: #999;
2014-10-30 11:25:57 +03:00
font-size: 13px;
}
.form.sign-up {
2014-12-08 09:02:39 +03:00
margin-top: -108px;
2014-10-30 11:25:57 +03:00
}
2014-11-23 09:46:16 +03:00
2014-12-19 10:44:49 +03:00
#loginBtn,
2014-11-23 09:46:16 +03:00
#signUpBtn {
margin-top: 20px;
2014-12-19 10:44:49 +03:00
font-size: 16px;
2014-12-15 06:32:33 +03:00
}
2019-05-17 07:02:35 +03:00
2019-12-14 12:10:40 +03:00
.start {
text-align: center;
}
.start .btn {
color: #fff;
}
.start svg {
fill: currentColor;
}
.start__aciton {
display: flex;
align-items: center;
}
/* end sign up */