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;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
margin: 0.3rem;
|
||||
}
|
||||
button:hover,
|
||||
.button:focus {
|
||||
|
|
6
css/normalize.css
vendored
6
css/normalize.css
vendored
|
@ -424,4 +424,10 @@ table {
|
|||
td,
|
||||
th {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.all-link-buttons {
|
||||
display: inline-flex;
|
||||
flex-flow: wrap;
|
||||
justify-content: center;
|
||||
}
|
|
@ -126,9 +126,6 @@ pre > code {
|
|||
|
||||
/* Spacing
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||
button,
|
||||
.button {
|
||||
margin-bottom: 1rem; }
|
||||
input,
|
||||
textarea,
|
||||
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.
|
||||
|
||||
-->
|
||||
<table>
|
||||
<tr>
|
||||
<th class="spacing tab-col">JODC</th>
|
||||
<th class="tab-col">OSDC</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="spacing">
|
||||
<div class="all-link-buttons">
|
||||
<!-- Github -->
|
||||
<a
|
||||
class="button button-github"
|
||||
|
@ -164,8 +158,7 @@
|
|||
/>Telegram</a
|
||||
>
|
||||
<br />
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<!-- Github -->
|
||||
<a
|
||||
class="button button-github"
|
||||
|
@ -221,9 +214,6 @@
|
|||
/>Telegram</a
|
||||
>
|
||||
<br />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
<br />
|
||||
|
@ -236,6 +226,8 @@
|
|||
❤️.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue