-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_main-screen.styl
130 lines (126 loc) · 2.21 KB
/
_main-screen.styl
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
.main-screen
min-height 819px
background url('../img/layer-1.png') 0 0 no-repeat
background-size cover
@media (max-width 1024px)
background-position bottom
&__content
min-height calc(819px - 62px)
display flex
flex-direction column
justify-content center
@media (max-width 767px)
min-height 100%
padding 70px 0
&__title
color #fff
font-size 24px
font-weight 500
margin-bottom 20px
&__subtitle
max-width 600px
font-size 36px
color green
line-height 1.2
font-weight 700
margin-bottom 20px
@media (max-width 767px)
font-size 28px
&__description
max-width 711px
color #424242
font-size 18px
font-weight 300
line-height 24px
margin-bottom 35px
&__btn
display inline-block
width 390px
max-width 100%
height 48px
text-align center
line-height 48px
border 2px solid violet
color violet
background transparent
font-size 16px
font-weight 700
&:hover
color #fff
background violet
.header
display flex
justify-content space-between
align-items center
padding-top 45px
@media (max-width 820px)
flex-direction column
padding-top 20px
&__logo
img
max-width 100%
height auto
display block
@media (max-width 820px)
margin-bottom 15px
&__content
display flex
align-items center
@media (max-width 820px)
flex-direction column
&__nav
margin-right 60px
@media (max-width 820px)
margin-bottom 15px
margin-right 0
.nav
&__list
@media (max-width 500px)
display flex
flex-direction column
align-items center
&__item
margin-right 25px
font-size 11px
color #fff
font-weight: 700
@media (max-width 500px)
margin-right 0
margin-bottom 15px
&:last-of-type
margin-bottom 0
&:hover
color violet
&:last-of-type
margin-right 0
&--active
position relative
&:after
content ''
position absolute
width 100%
height 2px
background violet
left 0
bottom -10px
@media (max-width 500px)
bottom -5px
.social
&__list
display flex
align-items center
&--footer
justify-content center
.social__item:hover
a
color #fff
&__item
margin-right 10px
&:last-of-type
margin-right 0
&:hover
a
color violet
a
color green
font-size 24px