-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathApp.css
171 lines (156 loc) · 4.39 KB
/
App.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
body {
margin: 0;
padding: 0; }
ul {
list-style: none;
margin: 0;
padding: 0; }
h1 {
margin: 0; }
a {
color: inherit;
text-decoration: none; }
@media screen and (min-width: 1200px) {
.responsive-width, .App-header, .jumbotron {
max-width: 900px; } }
@media screen and (min-width: 1440px) {
.responsive-width, .App-header, .jumbotron {
max-width: 1100px; } }
@media screen and (min-width: 1920px) {
.responsive-width, .App-header, .jumbotron {
max-width: 1300px; } }
.App {
color: #303D49;
background: #f8f8f9;
min-height: 100vh;
font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimSun, sans-serif; }
.clearfix::after {
display: block;
content: ".";
clear: both;
line-height: 0;
visibility: hidden; }
.App-header {
width: 100%;
position: fixed;
padding-top: 40px;
color: #1c1b1b;
transition: .2s;
z-index: 99; }
@media screen and (min-width: 1200px) {
.App-header {
max-width: 900px;
padding-left: calc((100% - 900px) / 2);
padding-right: calc((100% - 900px) / 2); } }
@media screen and (min-width: 1440px) {
.App-header {
max-width: 1100px;
padding-left: calc((100% - 1100px) / 2);
padding-right: calc((100% - 1100px) / 2); } }
@media screen and (min-width: 1920px) {
.App-header {
max-width: 1300px;
padding-left: calc((100% - 1300px) / 2);
padding-right: calc((100% - 1300px) / 2); } }
.App-header.header-docked {
padding-top: 0;
background-color: #fff;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); }
.App-header.header-docked .slogan {
display: none; }
.navbar-brand {
float: left; }
.navbar-brand .logo {
height: 40px;
line-height: 40px;
padding-top: 20px;
font-size: 24px; }
.navbar-brand .slogan {
height: 20px;
line-height: 20px;
font-size: 14px;
font-weight: 300;
margin-top: -3px; }
.navbar-right {
float: right;
font-weight: 500; }
.navbar-right .nav-item {
height: 80px;
line-height: 80px;
float: left;
margin-left: 30px; }
.navbar-right .nav-item a {
position: relative; }
.navbar-right .nav-item a::after {
content: "";
display: block;
position: absolute;
top: calc(100% + 8px);
left: 0;
right: 0;
height: 2px;
-webkit-transform: scaleX(0);
transform: scaleX(0);
transition: -webkit-transform 0.15s ease-in;
transition-transform: .15s ease-in;
transition-transform: .15s ease-in,-webkit-transform .15s ease-in;
-webkit-transform-origin: right center;
transform-origin: right center; }
.navbar-right .nav-item a:hover::after {
-webkit-transform: scale(1);
transform: scale(1);
-webkit-transform-origin: left center;
transform-origin: left center; }
.navbar-right .nav-item a::after {
background: #1c1b1b; }
.navbar-right .nav-item:first-child {
margin-left: 0; }
.jumbotron {
height: 300px;
margin: 0 auto;
padding-top: 210px; }
.jumbotron h1 {
margin-bottom: 30px; }
.jumbotron h1 span {
display: block;
font-size: 46px;
font-weight: 100; }
.jumbotron .download-link {
color: #42c5d8;
font-size: 14px;
text-transform: uppercase;
position: relative; }
.jumbotron .download-link::after {
content: "";
display: block;
position: absolute;
top: calc(100% + 8px);
left: 0;
right: 0;
height: 2px;
-webkit-transform: scaleX(0);
transform: scaleX(0);
transition: -webkit-transform 0.15s ease-in;
transition-transform: .15s ease-in;
transition-transform: .15s ease-in,-webkit-transform .15s ease-in;
-webkit-transform-origin: right center;
transform-origin: right center; }
.jumbotron .download-link:hover::after {
-webkit-transform: scale(1);
transform: scale(1);
-webkit-transform-origin: left center;
transform-origin: left center; }
.jumbotron .download-link::after {
background: #42c5d8; }
.presentation {
width: 850px;
height: 525px;
margin: 0 auto; }
.main {
height: 600px;
margin-top: -160px;
background-color: #fff; }
.footer {
height: 500px;
margin-top: 400px;
background: linear-gradient(90deg, #1c1b1b 0, #1c1b1b 50%, transparent 0, transparent); }