Compare commits
No commits in common. "4c1b56c9d8e8f9cb5b5546c7974754510bccce69" and "4ffc1e631d188830100a85f59373bcd9fb95937b" have entirely different histories.
4c1b56c9d8
...
4ffc1e631d
73
index.html
73
index.html
|
@ -2,14 +2,72 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<style>
|
||||
body {
|
||||
background: black;
|
||||
}
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.bezel {
|
||||
position: relative;
|
||||
display: block;
|
||||
margin: 25px auto;
|
||||
border-bottom: 300px solid beige;
|
||||
border-left: 80px solid transparent;
|
||||
border-right: 80px solid transparent;
|
||||
height: 0;
|
||||
width: 390px;
|
||||
}
|
||||
.border {
|
||||
position: absolute;
|
||||
display: block;
|
||||
top: 10px;
|
||||
left: -70px;
|
||||
border-bottom: 280px solid #3d3d3d;
|
||||
border-left: 75px solid transparent;
|
||||
border-right: 75px solid transparent;
|
||||
height: 0;
|
||||
width: 380px;
|
||||
}
|
||||
.gradient {
|
||||
position: absolute;
|
||||
display: block;
|
||||
height: 300px;
|
||||
width: 550px;
|
||||
top: -10px;
|
||||
left: -85px;
|
||||
background: radial-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.0));
|
||||
}
|
||||
.screen-cutout {
|
||||
position: absolute;
|
||||
display: block;
|
||||
height: 220px;
|
||||
width: 320px;
|
||||
top: 40px;
|
||||
left: 115px;
|
||||
border-radius: 20px;
|
||||
background: linear-gradient(#202020, #262626);
|
||||
}
|
||||
.screen {
|
||||
position: absolute;
|
||||
display: block;
|
||||
height: 210px;
|
||||
width: 310px;
|
||||
top: 5px;
|
||||
left: 5px;
|
||||
border-radius: 20px;
|
||||
background: radial-gradient(#808080, #666666);
|
||||
box-shadow: 0 0 20px 10px #2B3030 inset;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="bezel">
|
||||
<div class="bezel-gradient">
|
||||
<div class="border">
|
||||
<div class="border-gradient">
|
||||
<div class="gradient">
|
||||
<div class="screen-cutout">
|
||||
<div class="screen">
|
||||
</div>
|
||||
|
@ -17,15 +75,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="monitor-stand">
|
||||
</div>
|
||||
<div class="chassis-top">
|
||||
<div class="chassis-top-gradient">
|
||||
<div class="chassis-top-labels">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
124
style.css
124
style.css
|
@ -1,124 +0,0 @@
|
|||
body {
|
||||
background: black;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Monitor */
|
||||
|
||||
.bezel {
|
||||
z-index: 2;
|
||||
position: relative;
|
||||
display: block;
|
||||
margin: 25px auto 0 auto;
|
||||
border-bottom: 300px solid beige;
|
||||
border-left: 80px solid transparent;
|
||||
border-right: 80px solid transparent;
|
||||
height: 0;
|
||||
width: 390px;
|
||||
box-shadow: 0px 10px 30px;
|
||||
}
|
||||
|
||||
.bezel-gradient {
|
||||
position: absolute;
|
||||
display: block;
|
||||
height: 300px;
|
||||
width: 550px;
|
||||
top: 0px;
|
||||
left: -80px;
|
||||
background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.24));
|
||||
}
|
||||
|
||||
.border {
|
||||
position: absolute;
|
||||
display: block;
|
||||
top: 10px;
|
||||
left: 10px;
|
||||
border-bottom: 280px solid #3d3d3d;
|
||||
border-left: 75px solid transparent;
|
||||
border-right: 75px solid transparent;
|
||||
height: 0;
|
||||
width: 380px;
|
||||
}
|
||||
|
||||
.border-gradient {
|
||||
position: absolute;
|
||||
display: block;
|
||||
height: 300px;
|
||||
width: 550px;
|
||||
top: -10px;
|
||||
left: -85px;
|
||||
background: radial-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.0));
|
||||
}
|
||||
|
||||
.screen-cutout {
|
||||
position: absolute;
|
||||
display: block;
|
||||
height: 220px;
|
||||
width: 320px;
|
||||
top: 40px;
|
||||
left: 115px;
|
||||
border-radius: 20px;
|
||||
background: linear-gradient(#202020, #262626);
|
||||
}
|
||||
|
||||
.screen {
|
||||
position: absolute;
|
||||
display: block;
|
||||
height: 210px;
|
||||
width: 310px;
|
||||
top: 5px;
|
||||
left: 5px;
|
||||
border-radius: 18px;
|
||||
background: radial-gradient(#808080, #666666);
|
||||
box-shadow: 0 0 20px 10px #2B3030 inset;
|
||||
}
|
||||
|
||||
.monitor-stand {
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
display: block;
|
||||
margin: 0px auto;
|
||||
height: 20px;
|
||||
width: 380px;
|
||||
background: #b8b8a5;
|
||||
/* background: #7a7a6e; */
|
||||
}
|
||||
|
||||
/* Chassis */
|
||||
|
||||
.chassis-top {
|
||||
position: relative;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
border-bottom: 100px solid beige;
|
||||
border-left: 30px solid transparent;
|
||||
border-right: 30px solid transparent;
|
||||
height: 0;
|
||||
width: 700px;
|
||||
}
|
||||
|
||||
.chassis-top-gradient {
|
||||
position: absolute;
|
||||
display: block;
|
||||
height: 100px;
|
||||
width: 760px;
|
||||
top: 0px;
|
||||
left: -30px;
|
||||
background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.24));
|
||||
}
|
||||
|
||||
.chassis-top-labels {
|
||||
position: absolute;
|
||||
display: block;
|
||||
border-bottom: 70px solid #2b2b2b;
|
||||
border-left: 20px solid transparent;
|
||||
border-right: 20px solid transparent;
|
||||
height: 0;
|
||||
top: 15px;
|
||||
left: 40px;
|
||||
width: 640px;
|
||||
}
|
Loading…
Reference in New Issue