Added a lot more decorations and enhaced the appearance of the existing ones, solved various visual and browsers compatibility issues

master
meliurwen 7 years ago
parent 279de92750
commit 57d9456954
  1. 198
      css/theme.css
  2. 0
      font/Brotherhood_Script.ttf
  3. 0
      font/Wishing_Well.otf
  4. BIN
      font/elementary.ttf
  5. 7
      img/LICENSE_ghost-tile
  6. BIN
      img/ghost-tile.gif
  7. 64
      index.html

@ -1,11 +1,11 @@
@font-face {
font-family: 'Brotherhood-Script';
src: url('../fonts/Brotherhood_Script.ttf');
src: url('../font/Brotherhood_Script.ttf');
}
@font-face {
font-family: 'Wishing-Well';
src: url('../fonts/Wishing_Well.otf');
src: url('../font/Wishing_Well.otf');
}
body {
@ -152,41 +152,82 @@ span.caret {
background: #777;
}
.terminal a {
font-family:courier,fixed;
font-size: 13px;
color:#fff;
}
/*Base Mobile Layout*/
div.terminal, div.terminal a {
.terminal {
width: 90%;
margin: 0 auto;
margin: 2vh auto;
font-family:courier,fixed;
font-size: 13px;
color:#fff;
border: 1px solid black;
border-radius: 6px;
box-shadow: 0px 0px 20px black;
background: rgba(33, 33, 33, 0.85);
overflow: hidden;
}
#titlebar, #navbar {
background: #33373a;
}
#tab-left, #tab-right, #tab-bottom {
#tab-left, #tab-right, #tab-bottom, #titlebar, #navbar {
width: 100%;
float: left;
}
#tab-left-container {
height:100%;
border-bottom: 1px solid grey;
}
#tab-right-container {
height:100%;
border-top: 1px solid grey;
}
/*2 Column Layout*/
@media only screen and (min-width: 1024px) {
.terminal {
width: 1024px;
margin: 0 auto;
margin: 2vh auto;
overflow: hidden;
}
#titlebar {
width: 100%;
float: top;
height: 33px;
overflow: hidden;
}
#navbar {
width: 100%;
float: top;
height: 30px;
overflow: hidden;
height: 95vh;
}
#tab-left {
width: 50%;
float: left;
height: 92vh;
height: 80vh;
overflow: auto;
}
#tab-right {
width: 50%;
float: left;
height: 92vh;
height: 80vh;
overflow: auto;
}
@ -196,6 +237,19 @@ div.terminal, div.terminal a {
height: 3vh;
overflow: hidden;
}
#tab-left-container {
height:100%;
border-bottom: none;
border-right: 1px solid grey;
}
#tab-right-container {
height:100%;
border-top: none;
border-left: 1px solid grey;
}
}
/* TODO: Check if "@media only screen and" is still necessary*/
@ -203,9 +257,8 @@ div.terminal, div.terminal a {
@media only screen and (min-width: 1200px) {
.terminal {
width: 1140px;
margin: 0 auto;
margin: 2vh auto;
overflow: hidden;
height: 100vh;
}
}
@ -241,3 +294,126 @@ img.pixelated {
justify-content: center;
align-items: center;
}
#box-1 {
background-image: url("../img/ghost-tile.gif");
background-repeat: repeat;
min-height:100vh;
}
@font-face {
font-family: 'elementary';
src: url("font/elementary.eot");
src: url("../font/elementary.eot?#iefix") format("embedded-opentype"), url("../font/elementary.woff") format("woff"), url("../font/elementary.ttf") format("truetype"), url("../font/elementary.svg#elementary") format("svg");
font-weight: normal;
font-style: normal;
}
[class*="e-icon-"]:not(.octicon):not(.mega-octicon) {
font-family: 'elementary';
speak: none;
font-size: 16px;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
}
.e-icon-up:before { content: "\21" }
.e-icon-next:before { content: "\22" }
.e-icon-down:before { content: "\23" }
.e-icon-previous:before { content: "\24" }
.e-icon-top:before { content: "\25" }
.e-icon-last:before { content: "\26" }
.e-icon-bottom:before { content: "\27" }
.e-icon-first:before { content: "\28" }
.e-icon-home:before { content: "\29" }
.e-icon-folder:before { content: "\2a" }
.e-icon-harddisk:before { content: "\2b" }
.e-icon-delete:before { content: "\2c" }
.e-icon-camera:before { content: "\2d" }
.e-icon-camcorder:before { content: "\2e" }
.e-icon-minus:before { content: "\2f" }
.e-icon-plus:before { content: "\30" }
.e-icon-error:before { content: "\31" }
.e-icon-complete:before { content: "\32" }
.e-icon-close:before { content: "\33" }
.e-icon-clear-left:before { content: "\34" }
.e-icon-clear-right:before { content: "\35" }
.e-icon-twitter:before { content: "\36" }
.e-icon-facebook:before { content: "\37" }
.e-icon-starred:before { content: "\38" }
.e-icon-unstarred:before { content: "\39" }
.e-icon-phone:before { content: "\3a" }
.e-icon-music:before { content: "\3b" }
.e-icon-video:before { content: "\3c" }
.e-icon-pictures:before { content: "\3d" }
.e-icon-document:before { content: "\3e" }
.e-icon-globe:before { content: "\3f" }
.e-icon-accessibility:before { content: "\40" }
.e-icon-lock:before { content: "\41" }
.e-icon-unlock:before { content: "\42" }
.e-icon-lock-alt:before { content: "\43" }
.e-icon-unlock-alt:before { content: "\44" }
.e-icon-restore:before { content: "\45" }
.e-icon-fullscreen:before { content: "\46" }
.e-icon-contact:before { content: "\47" }
.e-icon-contact-new:before { content: "\48" }
.e-icon-contact-group:before { content: "\49" }
.e-icon-undo:before { content: "\4a" }
.e-icon-redo:before { content: "\4b" }
.e-icon-pane-left:before { content: "\4c" }
.e-icon-pane-right:before { content: "\4d" }
.e-icon-export:before { content: "\4e" }
.e-icon-text-smaller:before { content: "\4f" }
.e-icon-text-larger:before { content: "\50" }
.e-icon-justify-right:before { content: "\51" }
.e-icon-justify-center:before { content: "\52" }
.e-icon-justify-left:before { content: "\53" }
.e-icon-justify-fill:before { content: "\54" }
.e-icon-indent-left:before { content: "\55" }
.e-icon-indent-right:before { content: "\56" }
.e-icon-attachment:before { content: "\57" }
.e-icon-print:before { content: "\58" }
.e-icon-recent:before { content: "\59" }
.e-icon-refresh:before { content: "\5a" }
.e-icon-synchronize:before { content: "\5b" }
.e-icon-info:before { content: "\5c" }
.e-icon-jump:before { content: "\5d" }
.e-icon-download:before { content: "\5e" }
.e-icon-crop:before { content: "\5f" }
.e-icon-search:before { content: "\60" }
.e-icon-signal-none:before { content: "\61" }
.e-icon-signal-one:before { content: "\62" }
.e-icon-signal-two:before { content: "\63" }
.e-icon-signal-three:before { content: "\64" }
.e-icon-signal-four:before { content: "\65" }
.e-icon-play:before { content: "\66" }
.e-icon-pause:before { content: "\67" }
.e-icon-backward:before { content: "\68" }
.e-icon-forward:before { content: "\69" }
.e-icon-eject:before { content: "\6a" }
.e-icon-shuffle:before { content: "\6b" }
.e-icon-order:before { content: "\6c" }
.e-icon-repeat:before { content: "\6d" }
.e-icon-repeat-one:before { content: "\6e" }
.e-icon-wifi-off:before { content: "\6f" }
.e-icon-wifi:before { content: "\70" }
.e-icon-bluetooth:before { content: "\71" }
.e-icon-brightness:before { content: "\72" }
.e-icon-audio:before { content: "\73" }
.e-icon-toggles:before { content: "\74" }
.e-icon-gear:before { content: "\75" }
.e-icon-power:before { content: "\76" }
.e-icon-column:before { content: "\77" }
.e-icon-coverflow:before { content: "\78" }
.e-icon-filter:before { content: "\79" }
.e-icon-grid:before { content: "\7a" }
.e-icon-list-compact:before { content: "\7b" }
.e-icon-list:before { content: "\7c" }

Binary file not shown.

@ -0,0 +1,7 @@
License for ghost-tile.gif
Credits goes to: Evan (evaneckard.com | dinpattern.com)
More info to: dinpattern.com/about/
Tile free to use both commercially and non for the web and screen.
Credits to the creator not mandatory, but very well appreciated.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

@ -26,19 +26,63 @@
</video>
</div>
<div id="box-1" style="position: absolute; z-index: -5;margin: 0 auto;width:100%; opacity: 0;">
<div id="box-1" class="tab-center" style="position: absolute; z-index: -5;width:100%; opacity: 0;">
<div class="terminal">
<div id="tab-left" style="background:red">
<span id="typewriter-left" class="typewriter"></span>
<span class="caret">&nbsp;</span>
<div id="titlebar">
<div style="width:33.33%;float:left;">
<div class="tab-center" style="height:33px;width:33px;float:left;color:#b3b3b3;">
<span class="e-icon-close"></span>
</div>
</div>
<div style="width:33.33%;float:left;">
<div class="tab-center" style="height:33px;color:#b3b3b3;font-weight: 800;">
Terminal
</div>
</div>
<div style="width:33.33%;float:left;">
<div class="tab-center" style="height:33px;width:33px;float:right;color:#b3b3b3;">
<span class="e-icon-fullscreen"></span>
</div>
<div class="tab-center" style="height:33px;width:40px;float:right;color:#b3b3b3;">
<span class="e-icon-search"></span>
</div>
</div>
</div>
<div id="tab-right" style="background:blue;">
<span id="typewriter-right" class="typewriter"></span>
<span class="caret">&nbsp;</span>
<div id="navbar">
<div style="float:left;">
<div class="tab-center" style="height:30px;width:30px;float:left;color:#b3b3b3;">
<span class="e-icon-plus"></span>
</div>
<div style="height:30px;width:180px;float:left;color:#b3b3b3;border: 1px solid #232323;border-top-left-radius:4px;border-top-right-radius:4px;height:100%">
<div class="tab-center" style="width:30px;height:30px;float:left;">
<span class="e-icon-close"></span>
</div>
<div class="tab-center" style="width:178px;height:30px;float:left;position:absolute;">
<span>Start</span>
</div>
</div>
</div>
<div style="float:right;">
<div style="padding-top:8px;float:right;color:#b3b3b3;">
<span class="e-icon-recent" style="padding-right:8px;"></span>
</div>
</div>
</div>
<div id="tab-bottom" style='background:green;'>
<span style="float:left;margin-left:10px">[web-portfolio_0:bash*</span>
<span style="float:right;margin-right:10px">"meliurwen-web-server.remotedatacenter" 10:53 20-Feb-18</span>
<div id="tab-left">
<div id="tab-left-container">
<span id="typewriter-left" class="typewriter"></span>
<span class="caret">&nbsp;</span>
</div>
</div>
<div id="tab-right">
<div id="tab-right-container">
<span id="typewriter-right" class="typewriter"></span>
<span class="caret">&nbsp;</span>
</div>
</div>
<div id="tab-bottom" style='background:#859900;'>
<span style="float:left;margin-left:10px;">[web-portfolio_0:bash*</span>
<span style="float:right;margin-right:10px;">"meliurwen-web-server.remotedatacenter" 10:53 20-Feb-18</span>
</div>
</div>
</div>

Loading…
Cancel
Save