-
Notifications
You must be signed in to change notification settings - Fork 111
/
_personal-key.scss
70 lines (62 loc) · 1.26 KB
/
_personal-key.scss
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
.key-badge::before {
background-image: url('p-key.svg');
background-repeat: no-repeat;
content: '';
height: 60px;
left: 45%;
position: absolute;
top: -25px;
width: 60px;
}
.separator-text {
.separator-text__code {
font-size: 1.5rem;
}
> div {
&::after {
color: $silver;
content: '-';
padding: 0 0.25rem;
}
&:last-child::after {
content: none;
padding: 0;
}
}
}
@media #{$breakpoint-sm} {
.separator-text > div {
&::after {
color: #000;
padding: 0 0.5rem;
}
}
}
.bg-pk-box {
background-color: $blue-lightest;
background-image: url('personal-key/pkey-block.svg');
background-position: center;
background-repeat: no-repeat;
}
.bg-personal-key {
background: url('personal-key/shield.svg');
background-color: $blue-lightest;
background-position: center 3.3rem;
background-repeat: no-repeat;
background-size: 145px 145px;
border-bottom: 1px solid $border-color;
}
.full-width-box {
background-color: $blue-lightest;
border-top: 1px solid $border-color;
margin-left: -1rem;
width: 110%;
}
@media #{$breakpoint-sm} {
.full-width-box {
background-color: $blue-lightest;
border-top: 1px solid $border-color;
margin-left: -5rem;
width: 135%;
}
}