Init
This commit is contained in:
73
assets/scss/hugo-terminal.scss
Normal file
73
assets/scss/hugo-terminal.scss
Normal file
@@ -0,0 +1,73 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.terminal {
|
||||
border-radius: 5px 5px 0 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
margin: 25px auto;
|
||||
}
|
||||
|
||||
.terminal .top {
|
||||
background: #E8E6E8;
|
||||
color: black;
|
||||
padding: 5px;
|
||||
border-radius: 5px 5px 0 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.terminal .btns {
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.terminal .circle {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
border-radius: 50%;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.title {
|
||||
flex-grow: 1;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.red {
|
||||
background: #EC6A5F;
|
||||
border-color: #D04E42;
|
||||
}
|
||||
|
||||
.green {
|
||||
background: #64CC57;
|
||||
border-color: #4EA73B;
|
||||
}
|
||||
|
||||
.yellow {
|
||||
background: #F5C04F;
|
||||
border-color: #D6A13D;
|
||||
}
|
||||
|
||||
.terminal .body {
|
||||
padding: 8px;
|
||||
overflow: auto;
|
||||
flex-grow: 1;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.terminal .body .highlight {
|
||||
padding: 0 4rem 0 4rem;
|
||||
}
|
||||
|
||||
.shadow {
|
||||
box-shadow: 0px 0px 10px rgba(0,0,0,.4)
|
||||
}
|
||||
Reference in New Issue
Block a user