/* BACKGROUND SPARKLES CSS */
html,
body {
margin: 0 0;
padding: 0 0;
text-align: center;
font-size: 0;
background: url(../assets/bg/bg.gif);
cursor: url(../assets/images/smiley\ face\ cursor.cur), default;
}
/* ORINGINAL SITE CSS */
html {
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: transparent;
}
*,
*:before,
*:after {
-webkit-box-sizing: inherit;
box-sizing: inherit;
}
html,
body {
height: 100%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
}
body {
font: normal 20px/1.4 'Inter', sans-serif;
margin: 0 1em;
padding: 1em 0;
color: red;
background: none;
}
main {
/* margin: auto; ** This is only needed for mobile */
font-size: 6vh;
line-height: 1.2;
max-width: 75vh;
}
.links a {
background-color: yellow;
}
.email a:hover,
.email a:focus {
background: url(../assets/images/Email2.gif);
color: #fff;
}
.twitter a:hover,
.twitter a:focus {
background: url(../assets/images/bullet.png);
color: #fff;
}
.github a:hover,
.github a:focus {
background: url(../assets/images/geoshape.gif);
color: #fff;
}
/* NAVIGATION MENU */
.navigation-bar {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 1;
-ms-flex: 1 0 100%;
flex: 1 0 100%;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.nav {
overflow: hidden;
max-width: 100%;
background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
padding: 0 20px;
position: absolute;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.nav-item {
color: none;
padding: 20px;
margin: 0 6px;
font-weight: 500;
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.nav-item:before {
content: "";
position: absolute;
bottom: -6px;
left: 0;
width: 100%;
height: 70px;
background: url(../assets/images/cd-rom.gif);
opacity: 0;
}
.nav-item:not(.is-active):hover:before {
opacity: 1;
bottom: 0;
}