2021-10-05 02:16:40 +08:00
|
|
|
<script setup lang="ts">
|
|
|
|
import { ref, reactive, computed } from 'vue'
|
2021-10-29 16:28:27 +08:00
|
|
|
import { useParallax, useThrottleFn, useEventListener } from '@vueuse/core'
|
2021-11-05 20:54:21 +08:00
|
|
|
import { useLang } from '../../composables/lang'
|
|
|
|
import homeLocale from '../../../i18n/pages/home.json'
|
|
|
|
import sponsorLocale from '../../../i18n/component/sponsors-home.json'
|
2021-10-05 02:16:40 +08:00
|
|
|
import type { CSSProperties } from 'vue'
|
|
|
|
|
|
|
|
const target = ref<HTMLElement | null>(null)
|
|
|
|
const parallax = reactive(useParallax(target))
|
2021-10-29 16:28:27 +08:00
|
|
|
const jumbotronRedOffset = ref(0)
|
|
|
|
const jumbotronRef = ref<HTMLElement | null>(null)
|
2021-11-05 20:54:21 +08:00
|
|
|
const lang = useLang()
|
|
|
|
const homeLang = computed(() => homeLocale[lang.value])
|
|
|
|
const sponsors = computed(() => sponsorLocale[lang.value])
|
2021-10-05 02:16:40 +08:00
|
|
|
|
|
|
|
const containerStyle: CSSProperties = {
|
|
|
|
display: 'flex',
|
|
|
|
flexDirection: 'column',
|
|
|
|
justifyContent: 'center',
|
|
|
|
alignItems: 'center',
|
|
|
|
transition: '.3s ease-out all',
|
|
|
|
|
|
|
|
position: 'relative',
|
|
|
|
|
|
|
|
perspective: '300px',
|
|
|
|
}
|
|
|
|
|
|
|
|
const cardStyle = computed(() => ({
|
|
|
|
background: '#fff',
|
|
|
|
minHeight: '30rem',
|
|
|
|
width: '50rem',
|
|
|
|
borderRadius: '5px',
|
|
|
|
transition: '.3s ease-out all',
|
|
|
|
boxShadow: '0 0 20px 0 rgba(255, 255, 255, 0.25)',
|
|
|
|
transform: `rotateX(${parallax.roll}deg) rotateY(${parallax.tilt}deg)`,
|
|
|
|
}))
|
|
|
|
|
|
|
|
const layerBase: CSSProperties = {
|
|
|
|
position: 'absolute',
|
|
|
|
width: '100%',
|
|
|
|
height: '100%',
|
|
|
|
transition: '.3s ease-out all',
|
|
|
|
}
|
|
|
|
|
|
|
|
const layer0 = computed(() => ({
|
|
|
|
...layerBase,
|
|
|
|
transform: `translateX(${parallax.tilt * 10}px) translateY(${
|
|
|
|
parallax.roll * 10
|
|
|
|
}px) scale(1)`,
|
|
|
|
}))
|
2021-10-29 16:28:27 +08:00
|
|
|
|
|
|
|
const jumbotronRedStyle = computed(() => ({
|
|
|
|
height: `${jumbotronRedOffset.value}px`,
|
|
|
|
}))
|
|
|
|
|
|
|
|
const handleScroll = useThrottleFn(() => {
|
|
|
|
const ele = jumbotronRef.value
|
|
|
|
if (ele) {
|
|
|
|
const rect = ele.getBoundingClientRect()
|
|
|
|
const eleHeight = ele.clientHeight + 55
|
|
|
|
let calHeight = (180 - rect.top) * 2
|
|
|
|
if (calHeight < 0) calHeight = 0
|
|
|
|
if (calHeight > eleHeight) calHeight = eleHeight
|
|
|
|
jumbotronRedOffset.value = calHeight
|
|
|
|
}
|
|
|
|
}, 10)
|
|
|
|
|
|
|
|
useEventListener(window, 'scroll', handleScroll)
|
2021-10-05 02:16:40 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<div ref="target" class="home-page">
|
|
|
|
<div class="banner">
|
|
|
|
<div class="banner-desc">
|
2021-11-05 20:54:21 +08:00
|
|
|
<h1>{{ homeLang['1'] }}</h1>
|
|
|
|
<p>{{ homeLang['2'] }}</p>
|
2021-10-05 02:16:40 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-10-29 16:28:27 +08:00
|
|
|
<div ref="jumbotronRef" class="jumbotron">
|
2021-10-05 02:16:40 +08:00
|
|
|
<div :style="containerStyle">
|
|
|
|
<div :style="cardStyle">
|
|
|
|
<div class="banner" :style="layer0">
|
|
|
|
<img src="/images/theme-index-blue.png" alt="banner" />
|
2021-10-29 16:28:27 +08:00
|
|
|
<div class="jumbotron-red" :style="jumbotronRedStyle">
|
|
|
|
<img src="/images/theme-index-red.png" alt="" />
|
|
|
|
</div>
|
2021-10-05 02:16:40 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-12-05 00:56:16 +08:00
|
|
|
<div class="sponsors-container">
|
|
|
|
<div class="sponsors-list">
|
|
|
|
<a
|
|
|
|
v-for="(sponsor, i) in sponsors"
|
|
|
|
:key="i"
|
|
|
|
:class="['sponsor', sponsor.className]"
|
|
|
|
:href="sponsor.url"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
<img width="45" :src="sponsor.img" :alt="sponsor.name" />
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Sponsored by
|
|
|
|
<span class="name">{{ sponsor.name }}</span>
|
|
|
|
</p>
|
|
|
|
<p>{{ sponsor.slogan }}</p>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="join">
|
|
|
|
<el-tooltip placement="top" hide-after="1000" offset="20">
|
|
|
|
<template #content>
|
|
|
|
{{ homeLang['21'] }}
|
|
|
|
<a href="mailto:element-plus@outlook.com" target="_blank">
|
|
|
|
element-plus@outlook.com
|
|
|
|
</a>
|
|
|
|
</template>
|
|
|
|
<a href="mailto:element-plus@outlook.com" target="_blank">
|
|
|
|
<el-button round>{{ homeLang['20'] }}</el-button>
|
|
|
|
</a>
|
|
|
|
</el-tooltip>
|
|
|
|
</div>
|
2021-10-05 02:16:40 +08:00
|
|
|
</div>
|
|
|
|
<div class="cards">
|
|
|
|
<ul class="container">
|
|
|
|
<li>
|
|
|
|
<div class="card">
|
|
|
|
<img src="/images/guide.png" alt="" />
|
2021-11-05 20:54:21 +08:00
|
|
|
<h3>{{ homeLang['3'] }}</h3>
|
|
|
|
<p>{{ homeLang['4'] }}</p>
|
|
|
|
<a :href="`/${lang}/guide/design.html`">{{ homeLang['5'] }}</a>
|
2021-10-05 02:16:40 +08:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<div class="card">
|
|
|
|
<img src="/images/component.png" alt="" />
|
2021-11-05 20:54:21 +08:00
|
|
|
<h3>{{ homeLang['6'] }}</h3>
|
|
|
|
<p>{{ homeLang['7'] }}</p>
|
|
|
|
<a :href="`/${lang}/component/layout.html`">
|
|
|
|
{{ homeLang['5'] }}
|
|
|
|
</a>
|
2021-10-05 02:16:40 +08:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<div class="card">
|
|
|
|
<img src="/images/resource.png" alt="" />
|
2021-11-05 20:54:21 +08:00
|
|
|
<h3>{{ homeLang['8'] }}</h3>
|
|
|
|
<p>{{ homeLang['9'] }}</p>
|
|
|
|
<a :href="`/${lang}/resource/index.html`"> {{ homeLang['5'] }} </a>
|
2021-10-05 02:16:40 +08:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<footer class="footer">
|
|
|
|
<div class="footer-main">
|
2021-11-05 20:54:21 +08:00
|
|
|
<h4>{{ homeLang['10'] }}</h4>
|
2021-10-05 02:16:40 +08:00
|
|
|
<a
|
|
|
|
href="https://github.com/element-plus/element-plus"
|
|
|
|
class="footer-main-link"
|
|
|
|
target="_blank"
|
|
|
|
>
|
2021-11-05 20:54:21 +08:00
|
|
|
{{ homeLang['11'] }}
|
2021-10-05 02:16:40 +08:00
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
href="https://github.com/element-plus/element-plus/releases"
|
|
|
|
class="footer-main-link"
|
|
|
|
target="_blank"
|
|
|
|
>
|
2021-11-05 20:54:21 +08:00
|
|
|
{{ homeLang['12'] }}
|
2021-10-05 02:16:40 +08:00
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
href="https://github.com/element-plus/element-plus-starter"
|
|
|
|
class="footer-main-link"
|
|
|
|
target="_blank"
|
|
|
|
>
|
2021-11-05 20:54:21 +08:00
|
|
|
{{ homeLang['13'] }}
|
2021-10-05 02:16:40 +08:00
|
|
|
</a>
|
|
|
|
<a
|
2021-11-05 20:54:21 +08:00
|
|
|
:href="`/${lang}/guide/theming`"
|
2021-10-05 02:16:40 +08:00
|
|
|
class="footer-main-link"
|
|
|
|
target="_blank"
|
|
|
|
>
|
2021-11-05 20:54:21 +08:00
|
|
|
{{ homeLang['14'] }}
|
2021-10-05 02:16:40 +08:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="footer-main">
|
2021-11-05 20:54:21 +08:00
|
|
|
<h4>{{ homeLang['19'] }}</h4>
|
2021-10-05 02:16:40 +08:00
|
|
|
<a
|
|
|
|
href="https://gitter.im/element-en/Lobby"
|
|
|
|
class="footer-main-link"
|
|
|
|
target="_blank"
|
|
|
|
>
|
2021-11-05 20:54:21 +08:00
|
|
|
{{ homeLang['15'] }}
|
|
|
|
</a>
|
2021-10-05 02:16:40 +08:00
|
|
|
<a
|
|
|
|
href="https://github.com/element-plus/element-plus/issues"
|
|
|
|
class="footer-main-link"
|
|
|
|
target="_blank"
|
|
|
|
>
|
2021-11-05 20:54:21 +08:00
|
|
|
{{ homeLang['16'] }}
|
2021-10-05 02:16:40 +08:00
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
href="https://github.com/element-plus/element-plus/blob/dev/.github/CONTRIBUTING.en-US.md"
|
|
|
|
class="footer-main-link"
|
|
|
|
target="_blank"
|
|
|
|
>
|
2021-11-05 20:54:21 +08:00
|
|
|
{{ homeLang['17'] }}
|
2021-10-05 02:16:40 +08:00
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
href="https://segmentfault.com/t/element-plus"
|
|
|
|
class="footer-main-link"
|
|
|
|
target="_blank"
|
|
|
|
>
|
2021-11-05 20:54:21 +08:00
|
|
|
{{ homeLang['18'] }}
|
2021-10-05 02:16:40 +08:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.home-page {
|
|
|
|
.banner {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.banner-desc {
|
|
|
|
padding-top: 30px;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 34px;
|
|
|
|
margin: 0;
|
|
|
|
line-height: 48px;
|
|
|
|
color: var(--text-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 28px;
|
|
|
|
color: var(--text-color-light);
|
|
|
|
margin: 20px 0 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-05 00:56:16 +08:00
|
|
|
.sponsors-container {
|
|
|
|
.join {
|
|
|
|
text-align: center;
|
|
|
|
margin: 0 0 50px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sponsors-list {
|
2021-10-05 02:16:40 +08:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2021-11-04 23:07:42 +08:00
|
|
|
// jnpf ad class
|
|
|
|
.jnpf > div > p:last-of-type {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2021-10-05 02:16:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.sponsor {
|
2021-12-05 00:56:16 +08:00
|
|
|
margin: 0 20px 10px;
|
2021-10-05 02:16:40 +08:00
|
|
|
display: inline-flex;
|
|
|
|
width: 300px;
|
|
|
|
height: 100px;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.name {
|
|
|
|
font-weight: bold;
|
|
|
|
color: var(--text-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
line-height: 1.8;
|
|
|
|
color: var(--text-color-light);
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.jumbotron {
|
|
|
|
width: 890px;
|
|
|
|
margin: 30px auto;
|
|
|
|
position: relative;
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.jumbotron-red {
|
|
|
|
transition: height 0.1s;
|
|
|
|
background: #fff;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.cards {
|
|
|
|
margin: 0 auto 110px;
|
|
|
|
width: 1140px;
|
|
|
|
|
|
|
|
.container {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 -11px;
|
|
|
|
width: auto;
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
display: table;
|
|
|
|
content: '';
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
width: 33.3%;
|
|
|
|
padding: 0 19px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
float: left;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 160px;
|
|
|
|
height: 120px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.card {
|
|
|
|
height: 430px;
|
|
|
|
width: 100%;
|
|
|
|
background: var(--bg-color);
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
border-radius: 5px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
text-align: center;
|
|
|
|
position: relative;
|
|
|
|
transition: all 0.3s ease-in-out;
|
|
|
|
bottom: 0;
|
|
|
|
|
|
|
|
img {
|
|
|
|
margin: 66px auto 60px;
|
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 18px;
|
|
|
|
color: #1f2f3d;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
font-size: 14px;
|
|
|
|
color: #99a9bf;
|
|
|
|
padding: 0 25px;
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
height: 53px;
|
|
|
|
line-height: 52px;
|
|
|
|
font-size: 14px;
|
|
|
|
color: var(--brand-color);
|
|
|
|
text-align: center;
|
|
|
|
border: 0;
|
|
|
|
border-top: 1px solid var(--border-color);
|
|
|
|
padding: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
width: 100%;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
background-color: var(--bg-color);
|
|
|
|
border-radius: 0 0 5px 5px;
|
|
|
|
transition: all 0.3s;
|
|
|
|
text-decoration: none;
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: #fff;
|
|
|
|
background: var(--brand-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
bottom: 6px;
|
|
|
|
box-shadow: 0 6px 18px 0 rgba(232, 237, 250, 0.5);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 1140px) {
|
|
|
|
.cards {
|
|
|
|
width: 100%;
|
|
|
|
.container {
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.banner .container {
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.banner img {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1000px) {
|
|
|
|
.banner .container {
|
|
|
|
img {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.jumbotron,
|
|
|
|
.banner {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
.cards {
|
|
|
|
li {
|
|
|
|
width: 80%;
|
|
|
|
margin: 0 auto 20px;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
.card {
|
|
|
|
height: auto;
|
|
|
|
padding-bottom: 54px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.banner-stars {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.banner-desc {
|
|
|
|
#line2 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
font-size: 32px;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.theme-intro-b {
|
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 200;
|
|
|
|
.intro-banner {
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
img {
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
.title {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
color: #fff;
|
|
|
|
text-align: center;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 20px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
p {
|
|
|
|
padding: 0;
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.theme-intro-a {
|
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 200;
|
|
|
|
.mask {
|
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background: #000;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
.intro-banner {
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
position: fixed;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
box-sizing: border-box;
|
|
|
|
text-align: center;
|
|
|
|
z-index: 100;
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.intro-text {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
p {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
font-size: 48px;
|
|
|
|
font-weight: bold;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.footer {
|
|
|
|
background-color: var(--bg-color);
|
|
|
|
width: 100%;
|
|
|
|
padding: 40px 150px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
height: 340px;
|
|
|
|
|
|
|
|
.container {
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer-main {
|
|
|
|
font-size: 0;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
margin-right: 110px;
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 1;
|
|
|
|
margin: 0 0 15px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer-main-link {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
line-height: 2;
|
|
|
|
font-size: 14px;
|
|
|
|
color: var(--text-color-light);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--text-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer-social {
|
|
|
|
float: right;
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
.footer-social-title {
|
|
|
|
color: var(--text-color-light);
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 1;
|
|
|
|
margin: 0 0 20px 0;
|
|
|
|
padding: 0;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ep-icon-github {
|
|
|
|
transition: 0.3s;
|
|
|
|
display: inline-block;
|
|
|
|
line-height: 32px;
|
|
|
|
text-align: center;
|
|
|
|
color: #c8d6e8;
|
|
|
|
background-color: transparent;
|
|
|
|
font-size: 32px;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-right: 20px;
|
|
|
|
&:hover {
|
|
|
|
transform: scale(1.2);
|
|
|
|
color: #8d99ab;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.doc-icon-gitter {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1140px) {
|
|
|
|
.footer {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1000px) {
|
|
|
|
.footer-social {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
.footer {
|
|
|
|
.footer-main {
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|