-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
87 lines (76 loc) · 1.46 KB
/
styles.css
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
html {
background-image: url('bg_bigsur.jpg');
background-size: cover !important;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-position: fixed;
width: 100%;
height: 100%;
opacity: 1;
}
body {
font-size: 50px;
font-family: 'Poiret One', cursive;
font-weight: 100;
color: white;
}
.text {
font-size: 22px;
text-decoration: none;
text-align: center;
position: relative;
top: translateY(10%);
transform: translateY(10%);
-webkit-transform: translateY(10%);
opacity: 1;
line-height: 175%;
}
.name {
color: white;
font-size: 45px;
opacity: 1;
padding-bottom: 8px;
}
.hexagon {
position: relative;
width: 400px;
height: 230.94px;
background-color: rgba(191, 85, 236, 0.6);
margin: 115.47px 0;
margin-left: auto;
margin-right: auto;
margin-top: 20%;
}
.hexagon:before,
.hexagon:after {
content: '';
position: absolute;
width: 0;
border-left: 200px solid transparent;
border-right: 200px solid transparent;
}
.hexagon:before {
bottom: 100%;
border-bottom: 115.47px solid rgba(191, 85, 236, 0.6);
}
.hexagon:after {
top: 100%;
width: 0;
border-top: 115.47px solid rgba(191, 85, 236, 0.6);
}
a:link {
color: white;
text-decoration: none;
}
a:visited {
color: white;
}
a:hover {
color: rgba(255, 255, 255, 0.7);
text-decoration: none;
}
.shape {
shape-outside: polygon(10px 10px, 20px 20px, 30px 30px, 40px, 40px);
background-color: red;
}