审查视图

public/assets/css/index.css 3.6 KB
郭盛 authored
1 2 3 4 5
html,
body {
    height: 100%;
    width: 100%;
}
何书鹏 authored
6
郭盛 authored
7 8 9 10 11 12
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
}
何书鹏 authored
13
郭盛 authored
14 15 16 17
a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
何书鹏 authored
18
    color: #474157;
郭盛 authored
19
}
何书鹏 authored
20
郭盛 authored
21 22
a:hover,
a:focus {
何书鹏 authored
23
    color: #474157;
郭盛 authored
24
}
何书鹏 authored
25
郭盛 authored
26 27 28 29 30 31
hr {
    max-width: 100px;
    margin: 25px auto 0;
    border-width: 1px;
    border-color: rgba(34, 34, 34, 0.1);
}
何书鹏 authored
32
郭盛 authored
33 34 35
hr.light {
    border-color: white;
}
何书鹏 authored
36
郭盛 authored
37 38 39 40 41 42 43 44 45
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 200;
    letter-spacing: 1px;
}
何书鹏 authored
46
郭盛 authored
47 48 49 50 51
p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}
何书鹏 authored
52
郭盛 authored
53 54 55 56
.navbar-default {
    font-weight: 200;
    letter-spacing: 1px;
}
何书鹏 authored
57
郭盛 authored
58 59 60
.navbar-default .navbar-header .navbar-brand {
    font-weight: 200;
    letter-spacing: 1px;
何书鹏 authored
61
    color: #474157;
郭盛 authored
62
}
何书鹏 authored
63
郭盛 authored
64 65
.navbar-default .navbar-header .navbar-brand:hover,
.navbar-default .navbar-header .navbar-brand:focus {
何书鹏 authored
66
    color: #474157;
郭盛 authored
67
}
何书鹏 authored
68
郭盛 authored
69 70
.navbar-default .navbar-header .navbar-toggle {
    font-size: 12px;
何书鹏 authored
71
    color: #474157;
郭盛 authored
72 73
    padding: 8px 10px;
}
何书鹏 authored
74
郭盛 authored
75 76 77 78
.navbar-default .nav > li > a {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
何书鹏 authored
79
    color: #7a798c;
郭盛 authored
80
}
何书鹏 authored
81
郭盛 authored
82 83
.navbar-default .nav > li > a:hover,
.navbar-default .nav > li > a:focus:hover {
何书鹏 authored
84
    color: #474157;
郭盛 authored
85
}
何书鹏 authored
86
郭盛 authored
87 88
.navbar-default .nav > li.active > a,
.navbar-default .nav > li.active > a:focus {
何书鹏 authored
89
    color: #474157 !important;
郭盛 authored
90 91
    background-color: transparent;
}
何书鹏 authored
92
郭盛 authored
93 94 95 96
.navbar-default .nav > li.active > a:hover,
.navbar-default .nav > li.active > a:focus:hover {
    background-color: transparent;
}
何书鹏 authored
97 98

#mainbody {
郭盛 authored
99 100 101 102
    position: relative;
    width: 100%;
    min-height: auto;
    overflow-y: hidden;
何书鹏 authored
103 104 105
    background: #f1f6fd;
    color: #474157;
    height: calc(100vh - 61px);
郭盛 authored
106
}
何书鹏 authored
107 108 109 110

#mainbody .index-text {
    text-align: center;
    padding: 250px 0 50px;
郭盛 authored
111
    position: relative;
何书鹏 authored
112
    height: 100vh;
郭盛 authored
113
}
何书鹏 authored
114 115 116 117 118

#mainbody .index-text h1 {
    font-size: 50px;
    font-weight: bold;
    color: #171347
郭盛 authored
119
}
何书鹏 authored
120 121 122 123 124

#mainbody .index-gallery {
    text-align: center;
    padding: 200px 0 50px;
    position: relative;
郭盛 authored
125
}
何书鹏 authored
126 127 128 129 130

@media (max-height: 500px) {
    #mainbody {
        height: inherit;
    }
郭盛 authored
131
}
何书鹏 authored
132
郭盛 authored
133
@media (min-width: 768px) {
何书鹏 authored
134 135 136
    .navbar-default {
        background-color: transparent;
        border-color: transparent;
郭盛 authored
137
    }
何书鹏 authored
138 139 140

    #mainbody .index-text {
        text-align: left;
郭盛 authored
141
    }
何书鹏 authored
142 143 144 145 146 147 148
}

@media (max-width: 767px) {

    .navbar-default {
        background-color: #f1f6fd;
        border-color: #f1f6fd;
郭盛 authored
149
    }
何书鹏 authored
150 151 152 153

    .navbar-default .navbar-collapse {
        background: #f1f6fd;
        box-shadow: 5px 9px 5px rgba(0, 0, 0, 0.07);
郭盛 authored
154
    }
何书鹏 authored
155 156 157

    #mainbody {
        height: unset;
郭盛 authored
158
    }
何书鹏 authored
159 160 161 162

    #mainbody .index-text {
        padding: 130px 0 0 0;
        height: calc(100vh - 261px);
郭盛 authored
163 164
    }
何书鹏 authored
165 166 167 168 169
    #mainbody .index-gallery {
        padding: 30px 0 50px 0;
    }

    #mainbody .index-text h1 {
郭盛 authored
170
        font-size: 50px;
何书鹏 authored
171
        margin-bottom: 20px;
郭盛 authored
172 173
    }
}
何书鹏 authored
174
郭盛 authored
175 176
footer {
    background-color: #222222;
何书鹏 authored
177
    padding: 20px 0;
郭盛 authored
178 179 180
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}
何书鹏 authored
181
郭盛 authored
182
footer p {
何书鹏 authored
183
    font-size: 14px;
郭盛 authored
184 185
    margin: 0;
}
何书鹏 authored
186
郭盛 authored
187 188 189 190 191
.bg-primary {
    background: #fdcc52;
    background: -webkit-linear-gradient(#fdcc52, #fdc539);
    background: linear-gradient(#fdcc52, #fdc539);
}
何书鹏 authored
192
郭盛 authored
193 194 195 196 197
.btn {
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 300px;
}
何书鹏 authored
198
郭盛 authored
199
.btn-xl {
何书鹏 authored
200
    margin-top: 20px;
郭盛 authored
201 202 203
    padding: 10px 45px;
    font-size: 14px;
}