Skip to content

Commit 07c907a

Browse files
committed
redesSociales
1 parent e233978 commit 07c907a

File tree

6 files changed

+105
-0
lines changed

6 files changed

+105
-0
lines changed

redesSociales/font.css

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
@font-face {
2+
font-family: 'icomoon';
3+
src: url('fonts/icomoon.eot?i226ha');
4+
src: url('fonts/icomoon.eot?i226ha#iefix') format('embedded-opentype'),
5+
url('fonts/icomoon.ttf?i226ha') format('truetype'),
6+
url('fonts/icomoon.woff?i226ha') format('woff'),
7+
url('fonts/icomoon.svg?i226ha#icomoon') format('svg');
8+
font-weight: normal;
9+
font-style: normal;
10+
}
11+
12+
[class^="icon-"], [class*=" icon-"] {
13+
/* use !important to prevent issues with browser extensions that change fonts */
14+
font-family: 'icomoon' !important;
15+
speak: none;
16+
font-style: normal;
17+
font-weight: normal;
18+
font-variant: normal;
19+
text-transform: none;
20+
line-height: 1;
21+
22+
/* Better Font Rendering =========== */
23+
-webkit-font-smoothing: antialiased;
24+
-moz-osx-font-smoothing: grayscale;
25+
}
26+
27+
.icon-facebook:before {
28+
content: "\ea90";
29+
}
30+
.icon-instagram:before {
31+
content: "\ea92";
32+
}
33+
.icon-twitter:before {
34+
content: "\ea96";
35+
}
36+
.icon-youtube:before {
37+
content: "\ea9d";
38+
}
39+

redesSociales/fonts/icomoon.eot

2.18 KB
Binary file not shown.

redesSociales/fonts/icomoon.svg

+14
Loading

redesSociales/fonts/icomoon.ttf

2.02 KB
Binary file not shown.

redesSociales/fonts/icomoon.woff

2.09 KB
Binary file not shown.

redesSociales/main.css

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
html {
2+
font-size: 16px;
3+
}
4+
5+
.social-bar {
6+
position: fixed;
7+
right: 0;
8+
top: 35%;
9+
font-size: 1.5rem;
10+
display: flex;
11+
flex-direction: column;
12+
align-items: flex-end;
13+
z-index: 100;
14+
}
15+
16+
.icon {
17+
color: white;
18+
text-decoration: none;
19+
padding: .7rem;
20+
display: flex;
21+
transition: all .5s;
22+
}
23+
24+
.icon-facebook {
25+
background: #2E406E;
26+
}
27+
28+
.icon-twitter {
29+
background: #339DC5;
30+
}
31+
32+
.icon-youtube {
33+
background: #E83028;
34+
}
35+
36+
.icon-instagram {
37+
background: #be1299;
38+
}
39+
40+
.icon:first-child {
41+
border-radius: 1rem 0 0 0;
42+
}
43+
44+
.icon:last-child {
45+
border-radius: 0 0 0 1rem;
46+
}
47+
48+
.icon:hover {
49+
padding-right: 3rem;
50+
border-radius: 1rem 0 0 1rem;
51+
box-shadow: 0 0 .5rem rgba(0, 0, 0, 0.42);
52+
}

0 commit comments

Comments
 (0)