-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathportfoliohome.css
More file actions
224 lines (198 loc) · 4.2 KB
/
portfoliohome.css
File metadata and controls
224 lines (198 loc) · 4.2 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
html {
background: linear-gradient(to top right, #196CA6, #0026ffc2, #059E98) no-repeat center center fixed;
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
}
*, *:before, *:after {
box-sizing: border-box;
}
/* Fade in tabs */
@-webkit-keyframes fadeEffect {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadeEffect {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
div.top_container {
display: block;
padding: 2px 6px;
background-color: #4419A6;
flex-direction: row;
flex-wrap: nowrap;
border-radius: .5em;
transition-duration: 2s;
box-shadow: 0 5px 10px rgba(0,0,0,0.8), 0 0px 0px rgba(0,0,0,0.25);
align-content: center;
}
/* Style the tab */
.tab {
display: flex;
border: 1px solid #ccc;
background-color: lightblue;
border-radius: 25px;
margin: 2px;
padding: 2px;
align-content: center;
align-self: center;
}
/* Style the buttons that are used to open the tab content */
.tab button {
display: flex;
background-color: rgb(0, 144, 155);
flex-wrap: nowrap;
border: none;
color: rgb(255, 255, 255);
justify-content: center;
padding: 10px 20px;
font-size: 120%;
margin: 4px 2px;
transition: 0.8s;
width: 98%;
overflow: hidden;
align-content: center;
box-shadow: 0 2px 5px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
border-radius: 25px;
outline: none;
}
/* Change background color of buttons on hover */
.tab button:hover {
background-color: #7C179C;
display: flex;
transition-duration: 1s;
outline: none;
}
/* Create an active/current "tab button" class */
.tab button.active {
display: flex;
opacity: 0;
transition-duration: 0.4s;
background-color: yellow;
outline: none;
}
/* Style the tab content */
.tabcontent {
width: 95vw;
border: 1px solid #ccc;
border-radius: 25px;
display: none;
box-shadow: 0px 0px 0px 0px 10px rgba(0,0,0,0.6);
/* transition-duration: 2s; */
color: white;
-webkit-animation: fadeEffect 1.2s;
animation: fadeEffect 1.2s;
padding: 10px;
}
.row {
display: -ms-flexbox; /* IE10 */
display: flex;
-ms-flex-wrap: wrap; /* IE10 */
flex-wrap: wrap;
padding: 0 4px;
}
.web_dev_row {
display: -ms-flexbox;
/* IE10 */
display: block;
width: 80%;
-ms-flex-wrap: wrap;
/* IE10 */
flex-wrap: nowrap;
padding: 0 4px;
}
/* Create four equal columns that sit next to each other */
.column {
-ms-flex: 25%; /* IE10 */
flex: 24%;
max-width: 25%;
padding: 0 4px;
}
.web_dev_column{
display: block;
text-align: left;
width: 80%;
}
.bio_column {
-ms-flex: 25%; /* IE10 */
flex: 30%;
max-width: 33%;
display: block;
margin: 10px;
}
.column img {
margin-top: 8px;
vertical-align: middle;
width: 100%;
}
/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
.column {
-ms-flex: 50%;
flex: 50%;
max-width: 50%;
}
.bio_column {
-ms-flex: 50%;
flex: 100%;
max-width: 100%;
}
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
.column {
-ms-flex: 100%;
flex: 100%;
max-width: 100%;
}
.bio_column {
-ms-flex: 100%;
flex: 100%;
max-width: 100%;
margin: auto;
}
div.top_container {
padding: 2px;
}
.tab {
font-size: 60%;
padding: 1px;
align-self: center;
margin: 1px;
}
.tab button {
padding: 1px;
margin: 1px;
width: 95%;
}
}
.clearfix::after{
content: "";
clear: both;
display: table;
}
div.container{
display: flex;
}
.img {
margin-top: 8px;
vertical-align: middle;
width: 100%;
}
/* Style the tab content */
/* .tabcontent {
display: none;
padding: 6px 12px;
-webkit-animation: fadeEffect 1.2s;
animation: fadeEffect 1.2s;
} */