switched the html table view to css flexbox. now it turns into 2 rows if the screen is big enough.
This commit is contained in:
parent
4fb3ce82a4
commit
ee22ec643e
4 changed files with 11 additions and 15 deletions
|
@ -44,6 +44,7 @@ button {
|
||||||
white-space: wrap;
|
white-space: wrap;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
margin: 0.3rem;
|
||||||
}
|
}
|
||||||
button:hover,
|
button:hover,
|
||||||
.button:focus {
|
.button:focus {
|
||||||
|
|
6
css/normalize.css
vendored
6
css/normalize.css
vendored
|
@ -425,3 +425,9 @@ td,
|
||||||
th {
|
th {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.all-link-buttons {
|
||||||
|
display: inline-flex;
|
||||||
|
flex-flow: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
|
@ -126,9 +126,6 @@ pre > code {
|
||||||
|
|
||||||
/* Spacing
|
/* Spacing
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
button,
|
|
||||||
.button {
|
|
||||||
margin-bottom: 1rem; }
|
|
||||||
input,
|
input,
|
||||||
textarea,
|
textarea,
|
||||||
select,
|
select,
|
||||||
|
|
16
index.html
16
index.html
|
@ -102,13 +102,7 @@
|
||||||
3.) alt="Example Logo" | This alt attribute helps provides alternate text for an image, this can assist users who use screen readers.
|
3.) alt="Example Logo" | This alt attribute helps provides alternate text for an image, this can assist users who use screen readers.
|
||||||
|
|
||||||
-->
|
-->
|
||||||
<table>
|
<div class="all-link-buttons">
|
||||||
<tr>
|
|
||||||
<th class="spacing tab-col">JODC</th>
|
|
||||||
<th class="tab-col">OSDC</th>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="spacing">
|
|
||||||
<!-- Github -->
|
<!-- Github -->
|
||||||
<a
|
<a
|
||||||
class="button button-github"
|
class="button button-github"
|
||||||
|
@ -164,8 +158,7 @@
|
||||||
/>Telegram</a
|
/>Telegram</a
|
||||||
>
|
>
|
||||||
<br />
|
<br />
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<!-- Github -->
|
<!-- Github -->
|
||||||
<a
|
<a
|
||||||
class="button button-github"
|
class="button button-github"
|
||||||
|
@ -221,9 +214,6 @@
|
||||||
/>Telegram</a
|
/>Telegram</a
|
||||||
>
|
>
|
||||||
<br />
|
<br />
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
@ -236,6 +226,8 @@
|
||||||
❤️.
|
❤️.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue