This repository has been archived by the owner on Jul 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 113
/
Copy pathindex.html
208 lines (174 loc) · 4.86 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<title>CSS Gridish</title>
<meta name="description" content="CSS Gridish takes design specs of your product’s grid and builds out all the resources needed for your team.">
<meta property="og:title" content="CSS Gridish">
<meta property="og:description" content="CSS Gridish takes design specs of your product’s grid and builds out all the resources needed for your team.">
<meta property="og:image" content="./graphics/gridish.png">
<meta property="og:type" content="website">
<meta property="og:url" content="https://ibm.github.io/css-gridish/">
<meta name="twitter:card" content="summary_large_image">
<link href="./examples/carbon/css-gridish/css/bx-grid-legacy.min.css" rel="stylesheet">
<style>
body {
font-family: Helvetica, Arial, sans-serif;
}
p,
li {
line-height: 1.3;
margin-top: 0;
max-width: 20rem;
}
a {
color: inherit;
}
a p {
max-width: 12rem;
}
li {
margin-bottom: .5rem;
}
ul {
list-style: none;
padding-left: 0;
}
.title {
grid-column: span 12;
grid-row: span 14;
}
.title__logo {
max-height: var(--bx-height-21, 168px);
max-width: 459.75px;
width: 100%;
}
.description {
grid-column: 2 / span 10;
grid-row: 17 / span 32;
}
.link-container--1 {
grid-column: span 4;
grid-row: 52 / span 2;
}
.link-container--2 {
grid-column: 7 / span 6;
grid-row-start: 60;
}
.link-container--3 {
grid-column: span 5;
grid-row-start: 80;
}
.link {
background: black;
color: white;
text-decoration: none;
}
.link:hover {
background: #0064FF;
}
.link--1 {
grid-column: span 4;
grid-row: span 4;
}
.link--2 {
grid-column: span 6;
grid-row: span 6;
}
.link--3 {
grid-column: span 5;
grid-row: span 5;
}
@media (min-width: 600px) {
.link-container--1 {
grid-row: 18 / span 2;
grid-column: 10 / span 3;
}
.link--1 {
grid-column: span 3;
grid-row: span 3;
}
.link--2 {
grid-column: span 5;
grid-row: span 5;
}
.link--3 {
grid-column: span 4;
grid-row: span 4;
}
}
@media (min-width: 800px) {
.description {
grid-column: 6 / span 6;
grid-row: 20 / span 32;
}
.link-container--1 {
grid-column: 2 / span 2;
}
.link--1 {
grid-column: span 2;
grid-row: 3 / span 2;
}
.link--2 {
grid-column: 3 / span 4;
grid-row: span 4;
}
.link--3 {
grid-column: 2 / span 3;
grid-row: span 3;
}
}
@media (min-width: 1200px) {
.description {
grid-column: 1 / span 6;
grid-row: 20 / span 32;
}
.link-container--1 {
grid-column: 8 / span 4;
}
.link--1 {
grid-column: span 1;
grid-row: span 1;
}
.link--2 {
grid-column: 3 / span 3;
grid-row: span 3;
}
.link--3 {
grid-column: 2 / span 2;
grid-row: span 2;
}
}
</style>
</head>
<body class="bx-container bx-grid">
<div class="title">
<img alt="CSS Gridish" class="title__logo" src="./graphics/gridish_3times.gif">
</div>
<section class="bx-padding description">
<p>CSS Gridish takes design specs of your product’s grid and builds out several resources for your team to use:</p>
<ul>
<li>- Sketch file with artboards and grid/layout settings for designers</li>
<li>- CSS/SCSS code using CSS Grid with a CSS Flexbox fallback for developers</li>
<li>-
<a rel="noopener noreferrer" href="https://chrome.google.com/webstore/detail/css-gridish/ebhcneoilkamaddhlphlehojpcooobgc"
target="_blank">Google Chrome extension</a> for anyone to check a webpage’s alignment</li>
</ul>
</section>
<div class="bx-grid bx-grid--fluid-rows link-container--1">
<a class="bx-padding link link--1" rel="noopener noreferrer" href="https://github.com/ibm/css-gridish" target="_blank">
<p>Get started!</p>
</a>
</div>
<div class="bx-grid bx-grid--fluid-rows link-container--2">
<a class="bx-padding link link--2" rel="noopener noreferrer" href="./examples/material/index.html" target="_blank">
<p>Check out examples using grid designs from popular design systems.</p>
</a>
</div>
<div class="bx-grid bx-grid--fluid-rows link-container--3">
<a class="bx-padding link link--3" rel="noopener noreferrer" href="./examples/material/example.html" target="_blank">
<p>Try this example that uses the CSS Flexbox fallback.</p>
</a>
</div>
</body>
</html>