Page Updates using Grid
This commit is contained in:
parent
8d56511992
commit
2199a5a693
4 changed files with 48 additions and 34 deletions
|
|
@ -198,6 +198,7 @@ li {
|
||||||
|
|
||||||
.color-demo {
|
.color-demo {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
padding: 3rem;
|
||||||
|
|
||||||
&.red {
|
&.red {
|
||||||
background-color: $red;
|
background-color: $red;
|
||||||
|
|
|
||||||
|
|
@ -662,6 +662,7 @@ li {
|
||||||
|
|
||||||
.color-demo {
|
.color-demo {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
padding: 3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.color-demo.red {
|
.color-demo.red {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
78
index.html
78
index.html
|
|
@ -274,7 +274,7 @@
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="centered grid" style="max-width:30vw">
|
<div class="centered grid" style="max-width:50vw">
|
||||||
<div class="in-center">
|
<div class="in-center">
|
||||||
<button>Plain</button>
|
<button>Plain</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -304,28 +304,34 @@
|
||||||
<div class="in-center">
|
<div class="in-center">
|
||||||
<p class="code">
|
<p class="code">
|
||||||
<button class="small">Plain</button><br>
|
<button class="small">Plain</button><br>
|
||||||
|
<button class="small white">White</button><br>
|
||||||
<button class="small red">Red</button><br>
|
<button class="small red">Red</button><br>
|
||||||
<button class="small cyan">Cyan</button><br>
|
<button class="small cyan">Cyan</button><br>
|
||||||
<button class="small green">Green</button><br>
|
<button class="small green">Green</button><br>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<table class="centered">
|
<div class="centered grid" style="max-width:50vw">
|
||||||
<tr>
|
<div class="in-center">
|
||||||
<td>
|
<button class="small">Plain</button>
|
||||||
<button class="small">Plain</button>
|
</div>
|
||||||
</td>
|
|
||||||
<td>
|
<div class="in-center">
|
||||||
<button class="red small">Red</button>
|
<button class="small white">White</button>
|
||||||
</td>
|
</div>
|
||||||
<td>
|
|
||||||
<button class="cyan small">Cyan</button>
|
<div class="in-center">
|
||||||
</td>
|
<button class="small red">Red</button>
|
||||||
<td>
|
</div>
|
||||||
<button class="green small">Green</button>
|
|
||||||
</td>
|
<div class="in-center">
|
||||||
</tr>
|
<button class="small cyan">Cyan</button>
|
||||||
</table>
|
</div>
|
||||||
|
|
||||||
|
<div class="in-center">
|
||||||
|
<button class="small green">Green</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p class="centered" style="margin-top: 2rem; margin-bottom: .5rem;">
|
<p class="centered" style="margin-top: 2rem; margin-bottom: .5rem;">
|
||||||
Lastly, buttons can be just their outlines!
|
Lastly, buttons can be just their outlines!
|
||||||
|
|
@ -334,28 +340,34 @@
|
||||||
<div class="in-center">
|
<div class="in-center">
|
||||||
<p class="code">
|
<p class="code">
|
||||||
<button class="outlined">Plain</button><br>
|
<button class="outlined">Plain</button><br>
|
||||||
|
<button class="outlined white">White</button><br>
|
||||||
<button class="outlined red">Red</button><br>
|
<button class="outlined red">Red</button><br>
|
||||||
<button class="outlined cyan">Cyan</button><br>
|
<button class="outlined cyan">Cyan</button><br>
|
||||||
<button class="outlined green">Green</button><br>
|
<button class="outlined green">Green</button><br>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<table class="centered">
|
<div class="centered grid" style="max-width:50vw">
|
||||||
<tr>
|
<div class="in-center">
|
||||||
<td>
|
<button class="outlined">Plain</button>
|
||||||
<button class="outlined">Plain</button>
|
</div>
|
||||||
</td>
|
|
||||||
<td>
|
<div class="in-center">
|
||||||
<button class="red outlined">Red</button>
|
<button class="outlined white">White</button>
|
||||||
</td>
|
</div>
|
||||||
<td>
|
|
||||||
<button class="cyan outlined">Cyan</button>
|
<div class="in-center">
|
||||||
</td>
|
<button class="outlined red">Red</button>
|
||||||
<td>
|
</div>
|
||||||
<button class="green outlined">Green</button>
|
|
||||||
</td>
|
<div class="in-center">
|
||||||
</tr>
|
<button class="outlined cyan">Cyan</button>
|
||||||
</table>
|
</div>
|
||||||
|
|
||||||
|
<div class="in-center">
|
||||||
|
<button class="outlined green">Green</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="divider"></div>
|
<div class="divider"></div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue