-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.scss
152 lines (119 loc) · 2.91 KB
/
style.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
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
// import Google Webfont
@import url(http://fonts.googleapis.com/css?family=Raleway:200);
$height: 300px;
$width: 600px;
$borderRadius: 4px;
$profileWidth: 200px;
//
// Wrapper for the profile widget
#dribbble-profile {
width: $width;
height: $height;
margin: auto;
font-family: 'Raleway', Arial, sans-serif;
font-weight: 200;
&, b, h3, p {
font-weight: 200;
color: #fff;
}
//
// Player's profile (left side)
#dp-left-profile {
display: inline-block;
position: relative;
background-image: linear-gradient( 325deg, #FDD99F, #B8DDD4 );
border-radius: $borderRadius 0 0 $borderRadius;
width: $profileWidth;
height: $height;
text-align: center;
float: left;
// Top profile section with name and location
#dp-profile-top {
height: 65px;
h3 {
margin: 10px 0 5px;
font-size: 24px;
&.font-18 { font-size: 18px; }
&.font-16 { font-size: 16px; }
&.font-14 { font-size: 14px; }
&.font-10 { font-size: 10px; }
}
p {
font-size: 14px;
margin: 0;
&.font-12 { font-size: 12px; }
&.font-10 { font-size: 10px; }
&.font-8 { font-size: 8px; }
.fa-map-marker{
font-size: 14px;
padding-right: $borderRadius;
border: none;
}
}
}
// Mid profile section with photo
#dp-profile-mid {
position: relative;
height: 158px;
img {
border-radius: 100%;
border: 3px solid rgba(255, 255, 255, .7);
box-shadow: 0 0 0 40px rgba(255, 255, 255, .25);
-webkit-background-clip: padding-box; /* for Safari */
background-clip: padding-box;
height: 80px;
width: 80px;
position: absolute;
margin: auto;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
}
// Bottom profile section with statistics
#dp-profile-bottom {
margin: 12px 0 0;
padding: 0;
.dp-stat {
display: inline-block;
border-right: 1px dotted white;
width: 58px;
line-height: 1;
b {
font-size: 14px;
}
&:last-child {
border-right: none;
}
.fa {
font-size: 19px;
color: #fff;
border-bottom: 4px solid rgba(255, 255, 255, .4);
-webkit-background-clip: padding-box; /* for Safari */
padding-bottom: $borderRadius;
}
}
}
// Dribbble ball
#dp-ball{
position: absolute;
top: 70px;
color: rgba(255, 255, 255, .4);
font-size: 40px;
right: 10px;
margin: 0;
}
}
//
// Last Dribbble shot of this player (right side)
#dp-right-shot {
display: inline-block;
float: right;
img {
border-radius: 0 $borderRadius $borderRadius 0;
height: $height;
width: $width - $profileWidth;
}
}
}