git-flow-cheatsheet/css/style.css
2012-08-09 12:52:39 +02:00

370 lines
7.9 KiB
CSS

/*---------------------------------------- Text */
body {
background-color: powderblue;
font-family: Georgia, Times New Roman, Times, serif;
font-weight: bold;
font-size: 30px;
text-align: center;
transition: background-color 1s linear;
-moz-transition: background-color 1s linear; /* FF3.7+ */
-o-transition: background-color 1s linear; /* Opera 10.5 */
-webkit-transition: background-color 1s linear; /* Saf3.2+, Chrome */
adding: 0;
margin: 0;
}
header {
box-shadow: 0px 5px 7px #8db7bd;
-webkit-box-shadow: 0px 5px 7px #8db7bd;
-moz-box-shadow: 0px 5px 7px #8db7bd;
height: 400px;
background-color: #8db7bd;
border-bottom: 1px solid #698b91
}
footer {
box-shadow: 0px -5px 7px #8db7bd;
-webkit-box-shadow: 0px -5px 7px #8db7bd;
-moz-box-shadow: 0px -5px 7px #8db7bd;
background-color: #8db7bd;
border-top: 1px solid #698b91;
position:relative;
}
h1 {
font-size: 120px;
font-weight: normal;
margin: 0;
font-family: 'Sansita One', cursive;
color: #3a7eff;
text-shadow: 0 2px 1px #000;
line-height: 1;
}
h2 {
font-size: 80px;
font-weight: normal;
margin: 0;
text-shadow: 0 2px 1px #000;
color: #FFB000;
font-family: 'Sansita One', cursive;
}
h3 {
font-size: 40px;
font-weight: normal;
margin: 0;
color: #D92B00;
text-shadow: 0 2px 1px #000;
font-family: 'Sansita One', cursive;
}
p {
width: 95%;
margin: 20px auto;
text-shadow: 0 2px 1px #fff;
color: #222438;
}
a, a:visited {
color: #D92B00;
font-weight: bold;
font-style: italic;
}
ul {
list-style: none;
margin-left: 0;
padding-left: 1em;
text-indent: -1em;
text-shadow: 0 2px 1px #fff;
line-height: 1.4;
}
ul li:before {
content: "\2605\a0"
}
/** coding block */
blockquote {
text-align: left;
margin: 10px auto;
background: #131420;
border-bottom: 2px solid #30334F;
border-right: 2px solid #30334F;
border-radius: 10px;
padding: 5px 20px;
}
code {
font-style: normal;
padding-left: 5px;
border-radius: 10px;
color: white;
padding: 5px 15px;
font-family: menlo, monospace;
background: #131420;
text-shadow: none;
font-size: 0.8em;
}
/*---------------------------------------- Images */
.initialize {
background: url("../img/initialize.png") no-repeat scroll center center transparent;
height: 300px;
width: 100%;
position: relative;
z-index: 99;
margin-left: 10px;
}
.lines-small {
width: 500px;
height: 150px;
background-repeat: repeat-y;
background: url("../img/lines-small.png");
position: relative;
}
.lines-small-end {
width: 500px;
height: 500px;
background-repeat: repeat-y;
background: url("../img/lines-small.png");
position: absolute;
}
.lines-big {
width: 500px;
height: 5620px;
background-repeat: repeat-y;
background: url("../img/lines-big.png");
position: absolute;
left: 697px;
}
.lines-open {
width: 500px;
height: 86px;
background: url("../img/lines-open.png");
}
.lines-close {
width: 500px;
height: 86px;
background: url("../img/lines-close.png");
}
.hotfix-end, .hotfix-start, .release-end, .release-start, .feature-end, .feature-start {
display: inline-block;
background-repeat: no-repeat;
background-image: url('../img/flow-sprites.png');
background-color: rgba(173, 215, 223, 0.8);
border: 2px dashed #008098;
border-radius: 25px;
width: 500px;
height: 370px;
position: relative;
z-index: 99;
box-shadow: 5px 5px 7px #8db7bd;
-webkit-box-shadow: 5px 5px 7px #8db7bd;
-moz-box-shadow: 5px 5px 7px #8db7bd;
}
.feature-publish {
display: inline-block;
background-repeat: no-repeat;
background-color: rgba(173, 215, 223, 0.8);
border: 2px dashed #008098;
border-radius: 25px;
width: 500px;
height: 370px;
position: relative;
box-shadow: 5px 5px 7px #8db7bd;
-webkit-box-shadow: 5px 5px 7px #8db7bd;
-moz-box-shadow: 5px 5px 7px #8db7bd;
background-image: url('../img/feature-publish.png');
background-position:center;
}
.feature-pull {
display: inline-block;
background-repeat: no-repeat;
background-color: rgba(173, 215, 223, 0.8);
border: 2px dashed #008098;
border-radius: 25px;
width: 500px;
height: 370px;
position: relative;
z-index: 99;
box-shadow: 5px 5px 7px #8db7bd;
-webkit-box-shadow: 5px 5px 7px #8db7bd;
-moz-box-shadow: 5px 5px 7px #8db7bd;
background-image: url('../img/feature-pull.png');
background-position:center;
}
.hotfix-end {
background-position: 0px 0px;
}
.hotfix-start {
background-position: 0px -370px;
}
.release-end {
background-position: 0px -740px;
}
.release-start {
background-position: 0px -1110px;
}
.feature-end {
background-position: 0px -1480px;
}
.feature-start {
background-position: 0px -1850px;
}
/*---------------------------------------- BLOCKS */
.col-1 {
float: left;
width: 600px;
}
.col-2 {
float: right;
width: 500px;
margin-left: 30px;
}
#main {
margin: 0 auto;
position: relative;
width: 1200px;
}
.scrollblock {
width: 100%;
padding-top: 100px;
min-height: 450px;
position: relative;
}
.divider, .accent {
color: #69697A;
text-shadow: none;
}
#title {
margin: auto;
padding-top: 40px;
width: 1150px;
position: relative;
z-index: 99;
}
#author {
width: 640px;
position: absolute;
top: 180px;
right: 15%;
font-size: 20px;
text-align: right;
font-style: italic;
color: #D92B00;
z-index: 100;
}
.twitter-share-button {
position: relative;
top: 8px;
left: 4px;
}
#desc {
position: absolute;
top: 250px;
width: 100%;
}
#disqus_thread {
width: 800px;
text-align: left;
margin-left: auto;
margin-right: auto;
}
/*---------------------------------------- Github Banner */
#banner {
height: 149px;
width: 149px;
overflow: hidden;
padding: 0;
margin: 0;
position: absolute;
right: 0;
}
#banner a {
display: block;
width: 190px;
font-size: 14px;
font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans serif;
background-color: #333;
color: #FFF;
word-spacing: 2px;
text-decoration: none;
padding: 5px 15px 5px 25px;
position: relative;
left: 20px;
top: -37px;
text-align: center;
-moz-transform-origin: 0 0;
-moz-transform: rotate(45deg);
-moz-box-shadow: 1px 1px 5px 1px #666;
-webkit-transform-origin: 0 0;
-webkit-transform: rotate(45deg);
-webkit-box-shadow: 1px 1px 5px 1px #666;
-ms-transform-origin: 0 0;
-ms-transform: rotate(45deg);
-ms-box-shadow: 1px 1px 5px 1px #666;
transform-origin: 0 0;
transform: rotate(45deg);
box-shadow: 1px 1px 5px 1px #666;
background-image: linear-gradient(bottom, #000000 3%, #666666 5%, #000000 7%, #000000 93%, #666666 95%, #000000 97%);
background-image: -o-linear-gradient(bottom, #000000 3%, #666666 5%, #000000 7%, #000000 93%, #666666 95%, #000000 97%);
background-image: -moz-linear-gradient(bottom, #000000 3%, #666666 5%, #000000 7%, #000000 93%, #666666 95%, #000000 97%);
background-image: -webkit-linear-gradient(bottom, #000000 3%, #666666 5%, #000000 7%, #000000 93%, #666666 95%, #000000 97%);
background-image: -ms-linear-gradient(bottom, #000000 3%, #666666 5%, #000000 7%, #000000 93%, #666666 95%, #000000 97%);
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.03, #000000), color-stop(0.05, #666666), color-stop(0.07, #000000), color-stop(0.93, #000000), color-stop(0.95, #666666), color-stop(0.97, #000000));
}