This repository has been archived by the owner on Mar 10, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #5.
- Loading branch information
Showing
6 changed files
with
118 additions
and
118 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,30 @@ | ||
|
||
@import "./lib/bootstrap.less"; | ||
|
||
/* Override some defaults */ | ||
html, body { | ||
background-color: #eee; | ||
} | ||
|
||
body { | ||
padding-top: 40px; /* 40px to make the container go all the way to the bottom of the topbar */ | ||
} | ||
|
||
.container > footer p { | ||
text-align: center; /* center align it with the container */ | ||
} | ||
.container { | ||
width: 820px; /* downsize our container to make the content feel a bit tighter and more cohesive. NOTE: this removes two full columns from the grid, meaning you only go to 14 columns and not 16. */ | ||
} | ||
|
||
/* The white background content wrapper */ | ||
.content { | ||
background-color: #fff; | ||
padding: 20px; | ||
margin: 0 -20px; /* negative indent the amount of the padding to maintain the grid system */ | ||
-webkit-border-radius: 0 0 6px 6px; | ||
-moz-border-radius: 0 0 6px 6px; | ||
border-radius: 0 0 6px 6px; | ||
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15); | ||
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.15); | ||
box-shadow: 0 1px 2px rgba(0,0,0,.15); | ||
} | ||
|
||
/* Page header tweaks */ | ||
.page-header { | ||
background-color: #f5f5f5; | ||
padding: 20px 20px 10px; | ||
margin: -20px -20px 20px; | ||
} | ||
|
||
/* Styles you shouldn't keep as they are for displaying this base example only */ | ||
.content .span10, .content .span4 { | ||
min-height: 500px; | ||
} | ||
|
||
/* Give a quick and non-cross-browser friendly divider */ | ||
.content .span4, .topic-bar { | ||
margin-left: 0; | ||
padding-left: 19px; | ||
border-left: 1px solid #eee; | ||
} | ||
|
||
.topbar .btn { | ||
border: 0; | ||
padding-top: 60px; | ||
padding-bottom: 40px; | ||
} | ||
|
||
@import "./lib/responsive.less"; | ||
|
||
.jumbo { | ||
background-color: @heroUnitBackground; | ||
background-image: url("/images/grey.png"); | ||
background-repeat: repeat; | ||
|
||
.container(); | ||
padding-top: 40px; | ||
padding-bottom: 40px; | ||
margin-bottom: 30px; | ||
|
||
.border-radius(6px); | ||
h1 { | ||
margin-bottom: 0; | ||
font-size: 60px; | ||
line-height: 1; | ||
color: @heroUnitHeadingColor; | ||
letter-spacing: -1px; | ||
} | ||
|
||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
$(document).ready(function() { | ||
$("#go").submit(function() { | ||
var val = $("#topic").val() | ||
if(val.length > 0) { | ||
window.location = "/topics/" + val; | ||
} | ||
return false; | ||
}); | ||
}); |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<div class="row"> | ||
<div class="span13"> | ||
{{#markdown}} | ||
NetworkButton Example | ||
----- | ||
NetworkButton is a forest of network enabled leds that switch on and off on simultaneosly. | ||
It's also an example with MQTT-REST. | ||
Let's build your own! | ||
{{/markdown}} | ||
<img src="/images/schema.png"> | ||
{{#notest}} | ||
<script src="https://gist.github.com/1704547.js"> </script> | ||
{{/notest}} | ||
</div> | ||
</div> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.