Skip to content

Commit

Permalink
Code reformatting/cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mottie committed Sep 13, 2015
1 parent c93caff commit 42f4e78
Show file tree
Hide file tree
Showing 5 changed files with 706 additions and 648 deletions.
362 changes: 362 additions & 0 deletions css/demo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,362 @@
body {
color: #000;
background: #fff;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
overflow: hidden;
padding: 0;
margin: 0;
}

footer {
position: absolute;
right: 0;
width: 100%;
font-weight: bold;
background: #ccc;
padding: 10px 0;
text-align: center;
}

blockquote {
font-style: italic;
color: #999;
}

pre {
display: block;
padding: 9.5px;
margin: 0 0 10px;
font-size: 13px;
line-height: 20px;
word-break: break-all;
word-wrap: break-word;
white-space: pre;
white-space: pre-wrap;
background-color: #f5f5f5;
border: 1px solid #ccc;
border: 1px solid rgba(0,0,0,0.15);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
color: #333;
}

.comment {
font-style: italic;
color: #666;
}

a {
text-decoration: none;
color: #08c;
}

a:hover {
color: #005580;
}

a.top {
font-size: 10px;
padding-left: 40px;
}

h1, h2, h3, h4, h5, h6 {
margin: 10px 0;
font-weight: bold;
line-height: 20px;
text-rendering: optimizelegibility;
}

h1, h2, h3 {
line-height:40px
}

h1 {
font-size: 60px;
line-height: 60px;
letter-spacing: -1px;
margin-bottom: 0;
}

h2 {
font-size:31.5px
}

h3 {
font-size:24.5px;
}

h4 {
font-size:17.5px
}

.navigation {
color: #fff;
font-size: 18px;
margin-bottom: 20px;
background: #34495e;
height: 60px;
overflow: hidden;
}

.navigation ul {
list-style-type: none;
padding: 0;
margin: 0;
}

.navigation ul,
.navigation ul li,
.navigation ul li a {
color: #fff;
display: inline;
padding: 0 10px;
}

.navigation li:hover,
.navigation li a:hover {
color: #1abc9c;
}

.navigation .right {
position: absolute;
top: 10px;
right: 20px;
}

.navigation .brand {
padding-left: 10px;
padding-top: 10px;
}

.navigation .brand a {
color: #1abc9c;
}

.navigation .brand a:hover {
color: #fff;
}

.content {
margin: auto auto;
width: 80%;
}

.banner {
background-color: #eee;
border-radius: 6px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
font-weight: bold;
line-height: 30px;
margin-bottom: 30px;
padding: 60px;
}

.timer {
font-size: 200%;
font-weight: bold;
color: #1abc9c;
}

.cell {
display: table-cell;
min-width: 50%;
padding: 10px;
vertical-align: top;
}

table.arguments,
table.arguments th,
table.arguments td {
border-collapse: collapse;
border: 1px solid #ccc;
}

table.arguments th,
table.arguments td {
background: #fff;
padding: 10px;
vertical-align: top;
}

table.arguments tbody tr:nth-child(odd),
table.arguments tbody tr:nth-child(odd) td {
background: #eee;
}

#notificationcentericon {
cursor: pointer;
display: inline-block;
}

/* From Bootstrap for buttons only */
.btn {
display: inline-block;
*display: inline;
*zoom: 1;
padding: 4px 12px;
margin-bottom: 0;
font-size: 14px;
line-height: 20px;
text-align: center;
vertical-align: middle;
cursor: pointer;
color: #333;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
background-color: #f5f5f5;
background-image: -moz-linear-gradient(top, #fff, #e6e6e6);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));
background-image: -webkit-linear-gradient(top, #fff, #e6e6e6);
background-image: -o-linear-gradient(top, #fff, #e6e6e6);
background-image: linear-gradient(to bottom, #fff, #e6e6e6);
background-repeat: repeat-x;
filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
*background-color: #e6e6e6;
filter: progid: DXImageTransform.Microsoft.gradient(enabled = false);
border: 1px solid #ccc;
*border: 0;
border-bottom-color: #b3b3b3;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
*margin-left: .3em;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
}

.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.btn.disabled,
.btn[disabled] {
color: #333;
background-color: #e6e6e6;
*background-color: #d9d9d9;
}

.btn:active,
.btn.active {
background-color: #ccc \9;
}

.btn:first-child {
*margin-left: 0;
}

.btn:hover,
.btn:focus {
color: #333;
text-decoration: none;
background-position: 0 -15px;
-webkit-transition: background-position .1s linear;
-moz-transition: background-position .1s linear;
-o-transition: background-position .1s linear;
transition: background-position .1s linear;
}

.btn:focus {
outline: thin dotted #333;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}

.btn.active,
.btn:active {
background-image: none;
outline: 0;
-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, .15), 0 1px 2px rgba(0, 0, 0, .05);
-moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, .15), 0 1px 2px rgba(0, 0, 0, .05);
box-shadow: inset 0 2px 4px rgba(0, 0, 0, .15), 0 1px 2px rgba(0, 0, 0, .05);
}

.btn.disabled,
.btn[disabled] {
cursor: default;
background-image: none;
opacity: .65;
filter: alpha(opacity=65);
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}

.btn-primary.active,
.btn-warning.active,
.btn-danger.active,
.btn-success.active,
.btn-info.active,
.btn-inverse.active {
color: rgba(255, 255, 255, 0.75);
}

.btn-primary {
color: #fff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
background-color: #006dcc;
background-image: -moz-linear-gradient(top, #08c, #04c);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#04c));
background-image: -webkit-linear-gradient(top, #08c, #04c);
background-image: -o-linear-gradient(top, #08c, #04c);
background-image: linear-gradient(to bottom, #08c, #04c);
background-repeat: repeat-x;
filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
border-color: #04c #04c #002a80;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
*background-color: #04c;
filter: progid: DXImageTransform.Microsoft.gradient(enabled = false);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
color: #fff;
background-color: #04c;
*background-color: #003bb3;
}

.btn-primary:active,
.btn-primary.active {
background-color: #039 \9;
}

.btn-success {
color: #fff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
background-color: #5bb75b;
background-image: -moz-linear-gradient(top, #62c462, #51a351);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
background-image: -webkit-linear-gradient(top, #62c462, #51a351);
background-image: -o-linear-gradient(top, #62c462, #51a351);
background-image: linear-gradient(to bottom, #62c462, #51a351);
background-repeat: repeat-x;
filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);
border-color: #51a351 #51a351 #387038;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
*background-color: #51a351;
filter: progid: DXImageTransform.Microsoft.gradient(enabled = false);
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.btn-success.disabled,
.btn-success[disabled] {
color: #fff;
background-color: #51a351;
*background-color: #499249;
}

.btn-success:active,
.btn-success.active {
background-color: #408140 \9;
}
Loading

0 comments on commit 42f4e78

Please sign in to comment.