Saving & Sharing my terminal settings.
- TotalTerminal - for cool Quake like terminal
- Solarized theme - Very nice & subtle theme.
/* --------------------------------------------------- | |
Production Versions ( Minified ) | |
--------------------------------------------------- */ | |
/* Background */ | |
/**/ .baseline{font-size:1em;background:none;background-image:-webkit-linear-gradient(rgba(0,0,0,0.2) 1px,transparent 1px);background-image:-moz-linear-gradient(rgba(0,0,0,0.2) 1px,transparent 1px);background-image:linear-gradient(rgba(0,0,0,0.2) 1px,transparent 1px);background-size:100% 1.5em;background-origin:content-box;background-attachment:local} | |
/**/ .baseline *{background:none !important;outline:1px dashed rgba(100%,0%,0%,.5)} | |
/* Overlay + Hover switch */ | |
/**/ body{position:relative}body:hover:before{width:100%;height:100%;display:block;content:"";position:absolute;z-index:9999;pointer-events:none;background-size:100% .75em;background-origin:content-box;background-attachment:local;background-image:-webkit-linear-gradient(rgba(0,255,255,.75) 1px,transparent 1px);background-image:-moz-linear-gradient(rgba(0,255,255,.75) 1px,transparent 1px);bac |
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"><!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Typography Test</title> | |
<meta name="description" content=""> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | |
</head> | |
<body> | |
<div class="wrapper body"> |
/* Wrap Around - http://jsbin.com/agegux/2/ | |
--------------------------------------------------------------------------------- | |
The following code allows you to create the illusion an element | |
wrapping around a container. | |
While this technique has been around for a while. It reamins a very | |
interesting style that can help certain pieces of content pop-up. | |
Depending on the class you select the code will pull an element |
Saving & Sharing my terminal settings.
@media print { | |
/* data-print="print-me" | |
* ================================== | |
* Adding the data-print attribute to an element, will print the value after the element. | |
* This addresses elements that may contain information you want to see only when printed. | |
* | |
* This is a variation of the HTML5Boilerplate's solution to links | |
* [https://github.com/h5bp/html5-boilerplate/blob/master/doc/css.md#print-styles]. */ |
.guides { | |
div { | |
cursor: move; | |
content: ' '; | |
display: block; | |
position: fixed; } | |
#x { | |
top: 50%; | |
width: 100%; height: 1px; | |
background: cyan; } |
{# Convert hyphenated-string to camelCase #} | |
{{ string | regex ( '/-([a-z])/e', 'ucfirst("\\1")' ) }} | |
{# Convert camelCasedString to hyphenated-one #} | |
{{ string | regex( '/(^|[a-z])([A-Z])/e', 'strtolower( strlen("\\1") ? "\\1-\\2" : "\\2" )', (type.handle) ) }} |
I started this guide as I was building my web server but it was never finished. Nonetheless there's some valuable info for anyone starting a web server from scratch.