1- $color : #fff ;
2-
31body {
4- background-color : $color ;
5- }
2+ font-size : 12px ;
3+ color : #345274 ;
4+ height : 100vh ;
5+ background : #f2f2f2 lin ear- gradient(to bottom , rgba(255 ,255 ,255 ,1 ) 0% , rgba(242 ,242 ,242 ,1 ) 100% );
6+ }
7+
8+ .container {
9+ height : 100% ;
10+ width : 100% ;
11+ display : flex ;
12+ align-items : center ;
13+ justify-content : center ;
14+ flex-direction : column ;
15+ transition : all 1s ;
16+ background : #ccc ;
17+ overflow-y : scroll ;
18+ position: relative;
19+ .btn {
20+ transition : all .5s ;
21+ opacity : 0 ;
22+ margin-top : 2em ;
23+ display : none ;
24+ font-size : 2em ;
25+ animation : fadeInTop 1.5s ;
26+ i {
27+ left : 1em ;
28+
29+ }
30+ }
31+
32+ .btn :hover {
33+ background-color : #53dbff ;
34+ background-image : lin ear- gradient(19deg , #65bbf7 0% , #98d2fa 100% );
35+ box-shadow : 5px 5px 12px rgba(194 , 195 , 195 , 0.75 );
36+ }
37+ }
38+
39+ .container.block , .about.block {
40+ display : block ;
41+ text-align : center ;
42+ }
43+
44+ .intro {
45+ font-family : ' Quicksand' , sans-serif ;
46+ font-weight : 300 ;
47+ height : 100vh ;
48+ width : 100% ;
49+ display : flex ;
50+ align-items : center ;
51+ justify-content : center ;
52+ font-size : 5em ;
53+ color : #111 ;
54+ animation : fadeInTop 2s ease-out ;
55+ background : #fff ;
56+ transition : all 1.5s ;
57+
58+ span {
59+ opacity : 1 ;
60+ transition : opacity .5s ;
61+ }
62+ }
63+
64+ .intro.active {
65+ height : 3em ;
66+ width : 3em ;
67+ border-radius : .5em ;
68+ margin : auto ;
69+ margin-top : 3em ;
70+ span {
71+ opacity : 0 ;
72+ }
73+ }
74+
75+ .logo {
76+ width : 80% ;
77+ animation : fadeInTop 1.5s ;
78+ }
79+
80+
81+ .about {
82+ margin-top : 15vh ;
83+ display : none ;
84+
85+ & -name {
86+ font-family : ' Quicksand' , sans-serif ;
87+ font-size : 5.5em ;
88+ font-weight : 600 ;
89+ animation : fadeInTop 1.5s ;
90+ text-shadow : 5px 5px 5px rgba(194 , 195 , 195 , 0.75 );
91+ color : #fff ;
92+ letter-spacing : 1px ;
93+ transition : all 2s ;
94+ margin-bottom : .25em ;
95+ }
96+
97+ & -name .reveal {
98+ text-shadow : 5px 5px 5px rgba(194 , 195 , 195 , 0 );
99+ }
100+
101+ & -title {
102+ font-size : 1.25em ;
103+ font-weight : bold ;
104+ font-family : ' Quicksand' , sans-serif ;
105+ color : #0a80d2 ;
106+ animation : fadeInTop .5s ;
107+ }
108+
109+
110+ }
111+
112+ @keyframes fadeInTop {
113+ from {
114+ opacity : 0 ;
115+ transform : translateY(-15px );
116+ }
117+ to {
118+ opacity : 1 ;
119+ transform : translateY(0px );
120+ }
121+ }
122+
123+ .bs {
124+ box-shadow:
125+ inset 0 7em 10em -5em rgba(255,255,255,0.6 ),
126+ 0 0.3em 0.5em -0.2em rgba(100,100,100,1),
127+ 0 1em 2em -0.75em rgba(100,100,100,0.75 ),
128+ 0 1em 3em -0.5em rgba(100,100,100,0.5 ),
129+ 0 3em 3em -0.25em rgba(100,100,100,0.2 );
130+ }
131+
132+ .bg-white {
133+ background-color : #fff ;
134+ }
135+
136+ .bg-blue {
137+ background : rgba(53 ,166 ,245 ,1 );
138+ box-shadow:
139+ inset 0 7em 10em -5em rgba(255,255,255,0.6 ),
140+ 0 0.3em 0.5em -0.2em rgba(47,131,189,1),
141+ 0 1em 2em -0.75em rgba(47,131,189,0.75 ),
142+ 0 1em 3em -0.5em rgba(47,131,189,0.5 ),
143+ 0 3em 3em -0.25em rgba(47,131,189,0.2 );
144+ }
145+
146+ .bg-grey {
147+ background : rgba(150 ,150 ,150 ,1 );
148+ box-shadow:
149+ inset 0 7em 10em -5em rgba(255,255,255,0.6 ),
150+ 0 0.3em 0.5em -0.2em rgba(100,100,100,1),
151+ 0 1em 2em -0.75em rgba(100,100,100,0.75 ),
152+ 0 1em 3em -0.5em rgba(100,100,100,0.5 ),
153+ 0 3em 3em -0.25em rgba(100,100,100,0.2 );
154+ }
155+
156+
0 commit comments