80 lines
1.2 KiB
CSS
80 lines
1.2 KiB
CSS
/*
|
|
* Globals
|
|
*/
|
|
|
|
|
|
/* Custom default button */
|
|
.btn-light,
|
|
.btn-light:hover,
|
|
.btn-light:focus {
|
|
text-shadow: none; /* Prevent inheritance from `body` */
|
|
}
|
|
|
|
|
|
/*
|
|
* Base structure
|
|
*/
|
|
|
|
body {
|
|
text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
|
|
/* box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5); */
|
|
}
|
|
|
|
.cover-container {
|
|
max-width: 42em;
|
|
}
|
|
|
|
|
|
/*
|
|
* Header
|
|
*/
|
|
|
|
.nav-masthead .nav-link {
|
|
color: rgba(255, 255, 255, .5);
|
|
border-bottom: .25rem solid transparent;
|
|
}
|
|
|
|
.nav-masthead .nav-link:hover,
|
|
.nav-masthead .nav-link:focus {
|
|
border-bottom-color: rgba(255, 255, 255, .25);
|
|
}
|
|
|
|
.nav-masthead .nav-link + .nav-link {
|
|
margin-left: 1rem;
|
|
}
|
|
|
|
.nav-masthead .active {
|
|
color: #fff;
|
|
border-bottom-color: #fff;
|
|
}
|
|
|
|
.wrapper {
|
|
/*This part is important for centering*/
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
|
|
.typing {
|
|
width: 22ch;
|
|
animation: typing 2s steps(22), blink .5s step-end infinite alternate;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
border-right: 3px solid;
|
|
font-size: 2em;
|
|
}
|
|
|
|
@keyframes typing {
|
|
from {
|
|
width: 0
|
|
}
|
|
}
|
|
|
|
@keyframes blink {
|
|
50% {
|
|
border-color: transparent
|
|
}
|
|
}
|
|
|
|
.project-iframe {
|
|
border: 0;
|
|
} |