forked from yousinix/portfolYOU
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_skills.scss
73 lines (61 loc) · 1.02 KB
/
_skills.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
71
72
73
.skill {
margin-bottom: 35px;
position: relative;
overflow: hidden;
> p {
margin: 0;
font-size: 18px;
}
&:before {
width: 100%;
height: 5px;
content: "";
display: block;
position: absolute;
background: $light;
bottom: 0;
}
}
.skill-bar {
width: 100%;
height: 5px;
background: $primary;
display: block;
position: relative;
span {
position: absolute;
border-top: 5px solid inherit;
top: -30px;
padding: 0;
font-size: 18px;
padding: 3px 0;
font-weight: 500;
right: 0;
}
}
.skill-bar.skill-bar-secondary {
background: $secondary;
}
.skill-bar.skill-bar-success {
background: $success;
}
.skill-bar.skill-bar-info {
background: $info;
}
.skill-bar.skill-bar-warning {
background: $warning;
}
.skill-bar.skill-bar-danger {
background: $danger;
}
.skill-bar.skill-bar-light {
background: $light;
}
.skill-bar.skill-bar-dark {
background: $dark;
}
@for $i from 0 through 100 {
.skill-#{$i} {
width: percentage($i/100);
}
}