1
0
This commit is contained in:
Chicory ☕ 2024-07-13 18:34:11 +03:00
commit f03e1c50ec
Signed by: chicory
GPG Key ID: AC95A793F70BEDCD
5 changed files with 132 additions and 0 deletions

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 chicory@fossee.net
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

6
README.md Normal file
View File

@ -0,0 +1,6 @@
## Info
CSS template of terminal window. I have no idea how you can use it.
But I need it for my homepage & can't find it. I know i'm idiot.
## Screenshot
![CSS temlate screenshot](./screenshot.png)

25
index.html Normal file
View File

@ -0,0 +1,25 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="pub/main.css">
<title>css-terminal</title>
</head>
<body>
<div class="window">
<div class="window_header">
<div class="window_title">css-terminal</div>
<div class="window_close_button"></div>
<div class="window_maximize_button"></div>
<div class="window_minimize_button"></div>
</div>
<div class="window_content">
CSS template of terminal window. <br>
I have no idea how you can use it. ¯\_(ツ)_/¯<br>
<b>user@localhost:~$</b> <span class="blink">_</span><br>
</div>
</div>
</body>
</html>

80
pub/main.css Normal file
View File

@ -0,0 +1,80 @@
* {
padding: 0;
margin: 0;
}
@font-face {
font-family: "RobotoMono";
src: url("RobotoMono-Light.ttf") format("woff");
}
body {
font-family: RobotoMono, monospace;
font-size: 14px;
color: #c8cfd8;
background: #343944;
margin: auto;
padding-top: 60px;
line-height: 1.3em;
}
a {
color: #5294e2;
}
b{
color: #6a9e41;
}
.window {
background: #404552;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
border-radius: 5px;
border: 2px solid #2e333f;
width: 480px;
margin: auto;
}
.window_header {
background: #2e333f;
color: #c8cfd8;
padding: 7px;
}
.window_title {
display: inline-block;
}
.window_minimize_button, .window_maximize_button, .window_close_button {
border-radius: 7px;
width: 12px;
height: 12px;
display: inline-block;
float: right;
margin-left: 6px;
}
.window_minimize_button {
background: #2cc640;
border: 1px solid #51a75c;
}
.window_maximize_button {
background: #fdbf2e;
border: 1px solid #d6a839;
}
.window_close_button {
background: #fe6256;
border: 1px solid #ca5f59;
}
.window_content {
padding: 7px;
}
.blink {
animation: blinking 1s infinite;
}
@keyframes blinking {
0% { clear: both; }
50%{ color: transparent; }
}
@media screen and (max-width: 800px) {
body {
padding: 15px;
margin-top: 15px;
}
}

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB