Skip to content

Instantly share code, notes, and snippets.

@tvvocold
Created July 13, 2015 11:06
Show Gist options
  • Save tvvocold/8bef7eae0f9b4dcc5fc7 to your computer and use it in GitHub Desktop.
Save tvvocold/8bef7eae0f9b4dcc5fc7 to your computer and use it in GitHub Desktop.
CSS3 Mac Terminal
<div id="head"> HTML5 & CSS3 TERMINAL </div>
<div id="bar">
<div id="red">
</div>
<div id="yellow">
</div>
<div id="green">
</div>
</div>
<div id="screen">
<p class="font">[email protected]:~$ dnf config-manager --add-repo=http://repo.fdzh.org/FZUG/FZUG.repo</p>
<p class="font">[email protected]:~$ dnf install musicbox</p>
</div>
body {
background-color: #2B3D50;
}
#head {
font-family: monospace;
color: #fff;
margin: auto;
padding: 35px;
font-size: 40px;
text-align: center;
}
#bar {
text-align: center;
width: 750px;
height: 25px;
background-color: #DAD9D9;
margin: 0 auto;
font-family: monospace;
padding: auto;
float: none;
border-radius: 5px;
}
#red {
background-color: #E94B35;
border-radius: 100%;
width: 15px;
height: 15px;
margin: 0 auto;
left: -47%;
bottom: -20%;
position:relative;
}
#yellow {
background-color: #f0f000;
border-radius: 100%;
width: 15px;
height: 15px;
margin: 0 auto;
left: -44%;
bottom: 40%;
position:relative;
display: block;
}
#green {
background-color: #1AAF5C;
border-radius: 100%;
width: 15px;
height: 15px;
margin: 0 auto;
left: -41%;
bottom: 99%;
position:relative;
display: block;
}
#screen {
background-color: #33485E;
width: 750px;
height: 450px;
border-radius: 2%;
margin: 0 auto;
padding: 1px;
}
.font {
color: #fff;
font-family: monospace;
font-size: 15px;
text-align: left;
position: static;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment