Skip to content

Commit e4c93cf

Browse files
committed
Re-added commented out Hashgrid JS & CSS which is used during development.
1 parent 406dd07 commit e4c93cf

File tree

3 files changed

+64
-0
lines changed

3 files changed

+64
-0
lines changed

css/basic.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import url('../css/advanced.css');
2+
/* @import url('../css/hashgrid.css'); */
23

34
body {
45
font-family: Verdana, Arial, sans-serif;

css/hashgrid.css

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
/**
2+
* Grid
3+
*/
4+
#grid{
5+
6+
/* Dimensions - same width as your grid with gutters */
7+
width: 864px;
8+
9+
/* Grid (left-aligned)
10+
position: absolute;
11+
top: 0;
12+
left: 0;
13+
*/
14+
15+
/* Grid (centered) */
16+
position: absolute;
17+
top: 0;
18+
left: 50%;
19+
margin-left: -432px;
20+
21+
}
22+
23+
/**
24+
* Vertical grid lines
25+
*
26+
* Set the column width taking the borders into consideration,
27+
* and use margins to set column gutters.
28+
*/
29+
#grid div.vert{
30+
31+
width: 143px;
32+
border: solid darkturquoise;
33+
border-width: 0 1px;
34+
margin-right: 23px;
35+
36+
}
37+
38+
#grid div.vert.first-line{
39+
40+
margin-left: 23px;
41+
42+
}
43+
44+
45+
/**
46+
* Horizontal grid lines, defined by your base line height
47+
*
48+
* Remember, the CSS properties that define the box model:
49+
* visible height = height + borders + margins + padding
50+
*/
51+
#grid div.horiz{
52+
53+
/* 24px line height */
54+
height: 23px;
55+
border-bottom: 1px dotted darkgray;
56+
margin: 0;
57+
padding: 0;
58+
59+
}

index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
<link rel="stylesheet" type="text/css" href="css/basic.css" />
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;" />
8+
<!--
9+
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
10+
<script type="text/javascript" src="https://rawgithub.com/dotjay/hashgrid/v8/hashgrid.js"></script>
11+
-->
812
</head>
913
<body>
1014
<h1>NewtonScript</h1>

0 commit comments

Comments
 (0)