CSS
语言:
CSSSCSS
确定
@import "https://fonts.googleapis.com/css?family=Inconsolata|Merriweather";
html {
background-color: #028090;
}
html h1,
html h2,
html h3,
html h4,
html h5 {
font-family: 'Merriweather', serif;
color: #00FF00;
}
html p,
html input,
html select,
html button {
font-family: 'Inconsolata', monospace;
color: #00FF00;
}
.container {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
}
.container .shell-container {
margin: auto;
background-color: #000000;
width: 900px;
height: 500px;
box-shadow: 0 0 10px #000000;
display: flex;
flex-direction: column;
}
.container .shell-container .header-shell {
margin: auto;
background-color: white;
width: 100%;
height: 35px;
display: flex;
}
.container .shell-container .header-shell .cli-img {
margin: auto 5px;
width: 20px;
height: 20px;
}
.container .shell-container .header-shell .shell-title {
font-size: 13px;
margin: auto 0;
color: #000000;
}
.container .shell-container .header-shell .minimize {
margin: 1px 1px 1px auto;
width: 35px;
height: 33px;
display: flex;
}
.container .shell-container .header-shell .minimize:hover {
background-color: #DFDFDF;
color: #FFFFFF;
}
.container .shell-container .header-shell .minimize:after {
content: '';
transform: rotate(90deg);
margin: auto;
border: 1px solid gray;
height: 10px;
}
.container .shell-container .header-shell .minimize:hover:after {
border-color: #000000;
}
.container .shell-container .header-shell .maximize {
display: flex;
margin: 1px 0;
width: 35px;
height: 33px;
content: "-";
}
.container .shell-container .header-shell .maximize:hover {
background-color: #DFDFDF;
color: #FFFFFF;
}
.container .shell-container .header-shell .maximize:after {
content: '';
transform: rotate(90deg);
margin: auto;
border: 1.5px solid gray;
height: 7.5px;
width: 7.5px;
}
.container .shell-container .header-shell .maximize:hover:after {
border-color: #000000;
}
.container .shell-container .header-shell .close {
display: flex;
margin: 1px;
width: 35px;
height: 33px;
content: "-";
}
.container .shell-container .header-shell .close:hover {
background-color: #FF0000;
color: #FFFFFF;
}
.container .shell-container .header-shell .close:before {
content: '';
transform: rotate(-135deg) translate(-50%, 0%);
margin: auto 0 auto auto;
border: 1px solid gray;
height: 11px;
}
.container .shell-container .header-shell .close:hover:before {
border-color: #FFFFFF;
}
.container .shell-container .header-shell .close:after {
content: '';
transform: rotate(135deg) translate(50%, 0%);
margin: auto auto auto 0;
border: 1px solid gray;
height: 11px;
}
.container .shell-container .header-shell .close:hover:after {
border-color: #FFFFFF;
}
.container .shell-container .body-shell {
margin: auto;
overflow-y: scroll;
height: 470px;
width: 100%;
line-height: 0px;
display: flex;
flex-direction: column;
font-size: 14px;
}
.container .shell-container .body-shell .microsoft-label {
margin: 9px 0;
}
.container .shell-container .body-shell .input {
margin-top: 25px;
display: flex;
}
.container .shell-container .body-shell .input .ping {
margin: auto 2px -5px;
width: 7px;
height: 4px;
animation: pong 1s infinite;
}
@keyframes pong {
0% {
background-color: #DFDFDF;
}
50% {
background-color: #DFDFDF;
}
51% {
background-color: #000000;
}
}