github.com/wanliu/go-oauth2-server@v0.0.0-20180817021415-f928fa1580df/public/styles/tooplate-style.css (about) 1 body { 2 font-family: 'Open Sans', Helvetica, Arial, sans-serif; 3 font-size: 19px; 4 font-weight: 300; 5 color:white; 6 position: relative; 7 background-color: #2c2a35; 8 } 9 10 h1 { font-size: 2.8rem; } 11 12 #tm-bg { 13 position: fixed; 14 top: 0; 15 left: 0; 16 width: 100%; 17 /* height: 100%; */ 18 height: 73.73%; 19 background-image: url(../img/pop-bg.jpg); 20 background-position: center; 21 background-size: cover; 22 background-repeat: no-repeat; 23 z-index: -1; 24 transition: all 0.3s ease; 25 /* filter: blur(2px); */ 26 /* filter: grayscale(100%); */ 27 filter: grayscale(50%); 28 } 29 30 #tm-bg:after { 31 content: ''; 32 display: block; 33 position: absolute; 34 top: 0; 35 left: 0; 36 width: 100%; 37 height: 100%; 38 } 39 40 #tm-wrap { 41 display: flex; 42 align-items: center; 43 height: 100%; 44 min-height: 100vh; 45 } 46 47 p { 48 line-height: 1.9; 49 letter-spacing: 1px; 50 } 51 .tm-site-header-container{ 52 position: absolute; 53 top: 30%; 54 /* left: 24.333%; */ 55 } 56 .tm-main-content { 57 display: flex; 58 align-items: center; 59 padding: 50px 15px; 60 position: absolute; 61 left: 0; 62 right: 0; 63 top: 0; 64 bottom: 0; 65 overflow: auto; 66 } 67 68 .tm-site-header-col { 69 display: flex; 70 align-items: center; 71 } 72 73 .tm-site-header { 74 margin: 10px; 75 text-align: right; 76 width: 100%; 77 } 78 79 .tm-nav ul { 80 padding-left: 0; 81 display: block; 82 } 83 84 .tm-nav li { 85 list-style: none; 86 display: inline-block; 87 border: 1px solid white; 88 float: left; 89 margin: 10px; 90 } 91 92 .tm-nav-link { 93 color: white; 94 display: flex; 95 flex-direction: column; 96 justify-content: center; 97 width: 165px; 98 height: 165px; 99 text-align: center; 100 border: 1px solid white; 101 cursor: pointer; 102 position: relative; 103 } 104 .tlinks{ 105 text-indent:-9999px; 106 height:0; 107 line-height:0; 108 font-size:0 109 ;overflow:hidden; 110 } 111 .tm-nav-text { 112 position: absolute; 113 left: 0; 114 right: 0; 115 bottom: 10px; 116 } 117 118 .fa-3x { font-size: 2.5em; } 119 120 .product { 121 background: transparent; 122 transition: all 0.3s ease; 123 } 124 125 .product:hover { 126 background: #2c2a35; 127 color: #a9a9a9; 128 } 129 130 .tm-nav-icon { 131 display: block; 132 margin-bottom: 25px; 133 } 134 135 /* Expanding Grid Items from Codrops */ 136 .tm-page-title { font-weight: 300; } 137 .content { max-width: 370px; } 138 .grid { 139 display: flex; 140 flex-wrap: wrap; 141 } 142 .grid__item { margin: 10px; } 143 .product { 144 position: relative; 145 cursor: pointer; 146 } 147 148 .product__bg { 149 width: 100%; 150 height: 100%; 151 top: 0px; 152 } 153 154 .product__bg, 155 .product__description { 156 opacity: 0; 157 position: absolute; 158 } 159 160 .product__description { 161 width: 100%; 162 height: 100%; 163 top: 0; 164 left: 0; 165 display: none; 166 } 167 168 .tm-fa-close { font-size: 30px; } 169 170 .details { 171 font-size: 1rem; 172 width: 100%; 173 height: 100%; 174 bottom: 0; 175 left: 0; 176 z-index: 1000; 177 display: flex; 178 flex-direction: column; 179 justify-content: center; 180 pointer-events: none; 181 padding: 15px; 182 display: none; 183 } 184 185 .details > * { 186 position: relative; 187 opacity: 0; 188 } 189 190 .details--open { pointer-events: auto; } 191 192 .details__bg { 193 width: 100%; 194 max-width: 900px; 195 left: 0; 196 right: 0; 197 margin-left: auto; 198 margin-right: auto; 199 } 200 201 .details__bg--down { background: #2c2a35 } 202 /* .details__bg--down { background: #a9a9a9;} */ 203 .details__bg { 204 padding: 50px; 205 transform-origin: 0 0; 206 } 207 208 .details__close { 209 position: absolute; 210 top: 5px; 211 right: 0; 212 border: 0; 213 background: none; 214 margin: 1em; 215 cursor: pointer; 216 font-size: 0.85em; 217 color: white; 218 z-index: 1001; 219 } 220 221 /* Team */ 222 .tm-reverse-sm { flex-direction: row; } 223 224 /* Our Work */ 225 .tm-slider-img { 226 padding-left: 10px; 227 padding-right: 10px; 228 } 229 230 .slick-dots li button:before { 231 font-size: 20px; 232 color: white; 233 opacity: 1; 234 } 235 236 .slick-dots { 237 position: absolute; 238 bottom: -40px; 239 display: block; 240 width: 100%; 241 padding: 0; 242 list-style: none; 243 text-align: center; 244 } 245 246 .slick-dots li.slick-active button:before { 247 opacity: .75; 248 color: deepskyblue; 249 } 250 251 /* Contact */ 252 .form-control { 253 font-size: 1.1rem; 254 border-radius: 0; 255 border: none; 256 background-color: #353541; 257 color: white; 258 padding: .75rem; 259 } 260 261 .form-control:focus { 262 color: #cecece; 263 background-color: #4d4c59; 264 border-color: transparent; 265 } 266 267 .tm-col-email { padding-left: 0; } 268 269 .tm-btn-submit { background-color: #006599; } 270 271 .tm-btn-gray { 272 background-color: #494752; 273 color: white; 274 } 275 276 .tm-btn-gray:hover { 277 background-color: #77757d; 278 color: white; 279 } 280 281 .btn { 282 padding: .5rem 2.4rem; 283 font-size: 1.2rem; 284 border-radius: 0; 285 } 286 287 .btn-primary { border-color: transparent; } 288 289 .btn-primary:hover { 290 background-color: #0e7fb9; 291 border-color: transparent; 292 } 293 header{ 294 position: absolute; 295 top: 20px; 296 right: 60px; 297 } 298 header button{ 299 margin-left: 20px; 300 cursor: pointer 301 } 302 303 /* Footer */ 304 footer { 305 position: absolute; 306 bottom: -250px; 307 /* text-align: center; */ 308 left: 0; 309 right: 0; 310 } 311 312 .tm-text-highlight { color: white; } 313 .tm-text-highlight:hover { color: red; } 314 .tm-main-content.tm-footer-relative { flex-direction: column; } 315 .tm-main-content.tm-footer-relative footer { 316 position: relative; 317 bottom: 0; 318 margin-top: 50px; 319 } 320 321 .tm-copyright-text { 322 background-color: rgba(0,0,0,0.6); 323 display: inline-block; 324 padding: 10px 30px; 325 } 326 327 a, button { transition: all 0.3s ease; } 328 a:hover, 329 a:focus { 330 text-decoration: none; 331 outline: none; 332 } 333 334 p:last-child { margin-bottom: 0; } 335 336 @media (min-width: 767px) and (max-width: 991px), (max-width: 440px) { 337 .tm-nav-link { 338 width: 145px; 339 height: 145px; 340 } 341 .services-block-one{ 342 font-size: 12px; 343 } 344 .tm-site-header-container{ 345 left: 7.3333%; 346 } 347 } 348 349 @media (min-width: 900px) { 350 .container { max-width: 900px; } 351 352 } 353 @media (min-width:1200px) { 354 .tm-site-header-container{ 355 left: 23.3333%; 356 } 357 } 358 @media (min-width:1800px) { 359 .tm-site-header-container{ 360 left: 24.3333%; 361 } 362 } 363 364 @media (max-width: 767px) { 365 .container { max-width: 450px; } 366 .content { 367 margin-left: auto; 368 margin-right: 0; 369 } 370 .tm-nav ul { 371 display: flex; 372 flex-wrap: wrap; 373 justify-content: flex-end; 374 } 375 .grid { justify-content: flex-end; } 376 .tm-col-email { padding-left: 15px; } 377 .tm-reverse-sm { flex-direction: column-reverse;} 378 /* .introduce{ margin-top: 75px; } */ 379 .services-block-one{ font-size: 12px; } 380 } 381 382 @media (max-width: 419px) { 383 .tm-nav-link { 384 width: 120px; 385 height: 120px; 386 } 387 388 .fa-3x { font-size: 2.2em; } 389 } 390 391 /* 特征 features */ 392 393 .features{ 394 position: relative; 395 margin-left: auto; 396 margin-right: auto; 397 398 } 399 .flex-box{ 400 display: flex; 401 justify-content: center; 402 flex-direction: row; 403 flex-wrap: wrap; 404 } 405 .services-block-one{ 406 position: relative; 407 margin-bottom: -180px; 408 z-index: 99; 409 width: 33.33333%; 410 } 411 /* .services-block-one:hover{ 412 background: #2c2a35; 413 color: #a9a9a9; 414 415 } */ 416 .services-block-one .inner-box{ 417 position: relative; 418 padding: 6px 50px; 419 text-align: center; 420 421 } 422 .services-block-one .inner-box .icon-box{ 423 position: relative; 424 font-size: 60px; 425 margin-bottom: 16px; 426 background-repeat: no-repeat; 427 background-position: center; 428 } 429 .icon-img{ 430 width: 90px; 431 height: 90px; 432 } 433 434 435 436 437 438 439 /* 右侧固定 */ 440 441 ul { 442 list-style: none; 443 } 444 445 .right-fixed { 446 position: fixed; 447 right: 0px; 448 z-index: 999; 449 } 450 451 .fixed-ul li { 452 position: relative; 453 line-height: 60px; 454 border: 1px solid #ffffff; 455 cursor: pointer; 456 } 457 458 .fixed-image { 459 position: absolute; 460 left: 50px; 461 bottom: 2px; 462 height: 40px; 463 line-height: 40px; 464 -webkit-transition: all 0.8s; 465 -ms-transition: all 0.8s; 466 -moz-transition: all 0.8s; 467 z-index: 1; 468 opacity: 0; 469 } 470 .fixed-ul li:hover .fixed-image { 471 left: -300px; 472 opacity: 1; 473 } 474 .img-item{ 475 width: 50px; 476 height: 50px; 477 } 478 .fixed-image img{ 479 width: 300px; 480 height: 300px; 481 } 482 483 .index-profile { 484 float: right; 485 } 486 487 .index-profile .profile-userpic { 488 display: inline-block; 489 max-width: 35px; 490 max-height: 35px; 491 } 492 493 .index-profile .profile-usertitle { 494 display: inline-block; 495 }