232 lines
4.3 KiB
SCSS
232 lines
4.3 KiB
SCSS
.homepage-container {
|
|
position: relative;
|
|
z-index: 10;
|
|
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
|
|
padding-top: 200px;
|
|
|
|
@include media-up(lg) {
|
|
position: absolute;
|
|
bottom: 28%;
|
|
width: 100%;
|
|
}
|
|
|
|
> div {
|
|
display: grid;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
@include media-up(lg) {
|
|
justify-content: left;
|
|
}
|
|
|
|
&:first-child {
|
|
@include media-up(lg) {
|
|
justify-content: right;
|
|
}
|
|
}
|
|
}
|
|
|
|
@include media-up(md) {
|
|
grid-template-columns: 1fr auto 1fr;
|
|
}
|
|
|
|
@include media-down(lg) {
|
|
padding-top: 50px;
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
.monitor-stand {
|
|
position: absolute;
|
|
background: none;
|
|
box-shadow: none;
|
|
bottom: -80px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 120px;
|
|
height: 80px;
|
|
z-index: -1;
|
|
}
|
|
|
|
.secondary-screen {
|
|
position: relative;
|
|
display: block;
|
|
border-radius: 8px;
|
|
z-index: 6;
|
|
padding: 8px 10px 20px 10px;
|
|
margin: auto;
|
|
text-decoration: none !important;
|
|
background: linear-gradient(145deg, #d8d0b8, #b8b098);
|
|
box-shadow:
|
|
0 8px 20px rgba(0, 0, 0, 0.7),
|
|
inset 0 2px 4px rgba(255, 255, 255, 0.3),
|
|
inset 0 -2px 4px rgba(0, 0, 0, 0.3);
|
|
padding: 6px 8px 18px 8px;
|
|
}
|
|
|
|
.updates-monitor {
|
|
width: 200px;
|
|
height: 200px;
|
|
padding: 5px 7px 15px 7px;
|
|
|
|
@include media-up(lg) {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
&::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: 4px;
|
|
right: 7px;
|
|
width: 4px;
|
|
height: 4px;
|
|
background: #0f0;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 6px #0f0;
|
|
animation: pulse 2s ease-in-out infinite;
|
|
}
|
|
}
|
|
|
|
.wall-monitor-4 {
|
|
width: 300px;
|
|
height: 225px;
|
|
transform: rotate(-1deg);
|
|
}
|
|
|
|
.wall-monitor-4::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: 4px;
|
|
right: 7px;
|
|
width: 4px;
|
|
height: 4px;
|
|
background: #fa0;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 6px #fa0;
|
|
animation: pulse 2.1s ease-in-out infinite;
|
|
}
|
|
|
|
.wall-monitor-2 {
|
|
width: 300px;
|
|
height: 245px;
|
|
transform: rotate(-1deg);
|
|
}
|
|
|
|
.wall-monitor-2::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: 5px;
|
|
right: 8px;
|
|
width: 5px;
|
|
height: 5px;
|
|
background: #0ff;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 6px #0ff;
|
|
animation: pulse 1.8s ease-in-out infinite;
|
|
}
|
|
|
|
.blog-monitor {
|
|
width: 195px;
|
|
height: 140px;
|
|
transform: rotate(1deg);
|
|
|
|
@include media-up(lg) {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.screen-display {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
&::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: 5px;
|
|
right: 8px;
|
|
width: 5px;
|
|
height: 5px;
|
|
background: #f00;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 6px #f00;
|
|
animation: pulse 2.3s ease-in-out infinite;
|
|
}
|
|
|
|
&:hover pre {
|
|
animation: text-glitch-cycle 3s ease infinite;
|
|
}
|
|
}
|
|
}
|
|
|
|
.navigation {
|
|
position: relative;
|
|
|
|
z-index: 999;
|
|
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
@include media-up(lg) {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
position: absolute;
|
|
bottom: 5%;
|
|
width: 100%;
|
|
}
|
|
|
|
> div {
|
|
width: 100%;
|
|
margin: 20px auto 20px auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.time-display {
|
|
width: 150px;
|
|
margin: auto;
|
|
padding: 0.5em;
|
|
background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
|
|
border: 1px solid #333;
|
|
box-shadow:
|
|
0 2px 8px rgba(0, 0, 0, 0.5),
|
|
inset 0 1px 2px rgba(255, 255, 255, 0.1);
|
|
border-radius: 1em;
|
|
cursor: pointer;
|
|
|
|
&::after {
|
|
content: "Interests and Tools";
|
|
position: absolute;
|
|
width: 150px;
|
|
color: white;
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
z-index: 8000;
|
|
transform: rotate(-10deg);
|
|
border: 1px solid #0f0;
|
|
padding: 2px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
border-radius: 5px;
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
text-align: center;
|
|
|
|
@include media-down(lg) {
|
|
margin-left: -0.5em;
|
|
opacity: 1;
|
|
bottom: 0;
|
|
font-size: 20px;
|
|
}
|
|
}
|
|
|
|
&:hover::after {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|