/
style.sass
46 lines (41 loc) · 1.25 KB
/
style.sass
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
$primary-color: #f6828c
$secondary-color: #a03e99
$tertiary-color: #d0d4d9
$font-stack: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif
body
margin: 225px 20px 20px 20px
background: no-repeat center center/cover url('images/bg.jpg')
font-family: $font-stack
.avatar
width: 120px
border-radius: 80px
border: 5px solid $primary-color
transition: transform 0.9s ease-in, border 0.5s ease-in, width 0.5s ease-in
.card
width: 400px
margin: 0 auto
// margin-top: 225px
padding: 20px
display: flex
justify-content: space-around
align-items: center
text-align: center
background: transparent
backdrop-filter: blur(10px)
color: $tertiary-color
border-radius: 10px
border: 3px solid $primary-color
cursor: url("images/cursorss.png"), auto
-webkit-box-reflect: below 1px linear-gradient(transparent, $primary-color)
box-shadow: 2.5px 2.5px 5px #000000
transition: width 0.5s ease-in, letter-spacing 0.5s ease, backdrop-filter 0.5s ease-in, border 0.5s ease-in, box-shadow 0.5s ease-in
.card:hover
width: 500px
letter-spacing: 4px
backdrop-filter: blur(40px)
border: 3px solid $secondary-color
box-shadow: 1px 1px 7.5px 5px $tertiary-color
.card:hover .avatar
transform: rotateY(360deg)
border: 5px solid $secondary-color
width: 150px