Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tweaks

  • Loading branch information...
commit 9496054b982c0669dea515126a7ac325a7376274 1 parent 271ff94
Abban Dunne Abban authored
1  assets/css/style.css
View
@@ -64,6 +64,7 @@ select{width:100%;height:2.1em;margin-bottom:0.9em;border:1px solid #cccccc;font
input[type="range"],input[type="color"]{vertical-align:middle;height:1.5em;width:100%;font-family:"Open Sans","Helvetica Neue",Arial,Helvetica,Sans-Serif;}
input[type="range"]{height:1.4em;}
input[type="color"]{width:1.5em;font-family:"Open Sans","Helvetica Neue",Arial,Helvetica,Sans-Serif;}
+input[type="time"]{margin:0 0 0.55em;}
progress,meter{display:block;width:100%;height:1.5em;}
input[type="submit"],input[type="button"]{border:1px solid #cccccc;background:#ddd;padding:0.7em 2em;margin:0 20px 0 0;font-family:"Open Sans","Helvetica Neue",Arial,Helvetica,Sans-Serif;line-height:1.5em;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;}
table{margin-bottom:1.4em;width:100%;border:1px solid #cccccc;}
5 assets/less/baseline.less
View
@@ -245,6 +245,11 @@ input[type="color"]{
font-family:@body_family;
}
+// Time element is a little weird with the extra controls
+input[type="time"]{
+ margin: 0 0 0.55em;
+}
+
progress,
meter{
display:block;
5 assets/less/style.less
View
@@ -17,6 +17,9 @@
@columns: 12; // The amount of columns you want
@max_width: 1008px; // Set a maximum width of the site
+// Half the gutter for borders, margin, padding etc
+@gutter: @gutter_width*0.5;
+
/**
* Baseline
*
@@ -127,7 +130,7 @@ header#worlds_birth{
background: @green;
height: 3em;
margin-bottom: 1.5em;
- border: @gutter_width*0.5 solid #ddd;
+ border: @gutter solid #ddd;
border-top:0;
border-bottom:0;
}
13 index.html
View
@@ -316,15 +316,20 @@
<input name="form_week" id="form_week" type="week">
</li>
- <!--li>
+ <li>
<label for="form_time">Time:</label>
<input name="form_time" id="form_time" type="time">
- </li-->
+ </li>
- <!--li>
+ <li>
+ <label for="form_datetime">Datetime:</label>
+ <input name="form_datetime" id="form_datetime" type="datetime">
+ </li>
+
+ <li>
<label for="form_datetime_local">Local Time:</label>
<input name="form_datetime_local" id="form_datetime_local" type="datetime-local">
- </li-->
+ </li>
<li>
<label for="email">Email:</label>
Please sign in to comment.
Something went wrong with that request. Please try again.