This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NAT interface routing | |
*nat | |
# Setup | |
:PREROUTING ACCEPT [0:0] | |
:INPUT ACCEPT [2:128] | |
:OUTPUT ACCEPT [2:120] | |
:POSTROUTING ACCEPT [2:120] | |
# Redirect port 80 to port 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Scrolling shadows by @kizmarh and @leaverou | |
* Only works in browsers supporting background-attachment: local; & CSS gradients | |
* Degrades gracefully | |
*/ | |
html { | |
background: white; | |
font: 120% sans-serif; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Playing with background-attachment | |
*/ | |
pre { | |
max-height: 150px; | |
border: 1px solid silver; | |
overflow: auto; | |
background: url('http://placekitten.com/200/200'); | |
color: white; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background: #333; | |
padding: 50px; | |
} | |
.img img { | |
border-radius: 100px; | |
width: 100px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background: #333; | |
padding-top: 100px; | |
text-align: center | |
} | |
.img img { | |
border-radius: 1000px; | |
width: 100px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
margin: 200px; | |
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; | |
} | |
.btn-sq{ | |
font-size:size; | |
border:solid 1px #349eac; | |
background-color:#4ebbca; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* CSS text-shadows - Example 2 | |
*/ | |
/* page styles */ | |
@font-face { | |
font-family: 'ChunkFiveRegular'; | |
src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/chunkfive-webfont.eot'); | |
src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/chunkfive-webfont.eot?iefix') format('eot'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
margin: 100px; | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
} | |
.close { | |
display: block; | |
text-decoration: none; | |
border: 1px solid black; | |
width: 56px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
margin: 100px; | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
} | |
.close { | |
display: block; | |
text-decoration: none; | |
border: 1px solid black; | |
width: 56px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
margin: 100px; | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
} | |
.va { | |
display: block; | |
text-decoration: none; | |
border: 1px solid black; | |
width: 56px; |