-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
148 lines (136 loc) · 2.55 KB
/
style.css
File metadata and controls
148 lines (136 loc) · 2.55 KB
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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
min-height: 100vh;
background-color: #310D20;
font-family: "Spectral";
}
.main {
height: 100%;
width: 80%;
margin-left: 300px;
padding: 50px;
display: grid;
grid-template-columns: 300px 300px 300px;
grid-template-rows: 300px 300px 300px;
column-gap: 100px;
row-gap: 100px;
}
.sidebar {
height: 100%;
width: 15%;
position: absolute;
z-index: 1;
top: 0;
left: 0;
/*background-color: #264653;*/
background-size: 100% 200%;
background-image: linear-gradient(to bottom, #212431 50%, #264653 50%);
-webkit-transition: background-position .5s;
-moz-transition: background-position .5s;
transition: background-position .5s;
overflow-x: hidden;
overflow-x: hidden;
padding-top 20px;
opacity: .5;
}
.sidebar:hover {
background-position: 0 -100%;
}
.sidebar div {
padding: 20px;
color: #B26C7B;
}
.sidebar hr {
border: 1px solid #F9F5C8;
}
#skills {
list-style-type: none;
border: 2px;
}
#skills>li {
padding: 10px;
}
#skill-bar-1, #skill-bar-2, #skill-bar-3, #skill-bar-4, #skill-bar-5 {
background-color: #DDE9D8;
border-radius: 13px;
padding: 3px;
box-shadow: 5px 5px 4px 5px #0D181C;
}
#skill-bar-1>div {
background-color: #B26C7B;
width: 20%;
height: 10px;
border-radius: 10px;
padding: 3px;
}#skill-bar-2>div {
background-color: #B26C7B;
width: 40%;
height: 10px;
border-radius: 10px;
padding: 3px;
}#skill-bar-3>div {
background-color: #B26C7B;
width: 60%;
height: 10px;
border-radius: 10px;
padding: 3px;
}#skill-bar-4>div {
background-color: #B26C7B;
width: 80%;
height: 10px;
border-radius: 10px;
padding: 3px;
}#skill-bar-5>div {
background-color: #B26C7B;
width: 97%;
height: 10px;
border-radius: 10px;
padding: 3px;
}
.card {
perspective: 150rem;
position: relative;
height: 300px;
width: 300px;
box-shadow: none;
background: none;
}
.card-side {
height: 300px;
border-radius: 15px;
transition: all 0.8s ease;
backface-visibility: hidden;
position: absolute;
top: 0;
left: 0;
padding: 2rem;
width: 80%;
color: white;
}
.card-side.back {
transform: rotateY(-180deg);
background-color: #E6AACE;
background-image: linear-gradient(43deg,
#E6AACE 0%,
#869EC1 46%,
#E6AACE 100%);
}
.card-side.front {
background-color: #1A3038;
background-image: linear-gradient(
43deg,
#1A3038 0%,
#B26C7B 46%,
#336070 100%
);
}
.card:hover .card-side.front {
transform: rotateY(180deg);
}
.card:hover .card-side.back {
transform: rotateY(0deg);
}