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:
Noam 2021-09-18 01:30:08 +03:00
parent 4fb3ce82a4
commit ee22ec643e
4 changed files with 11 additions and 15 deletions

View file

@ -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
View file

@ -424,4 +424,10 @@ table {
td,
th {
padding: 0;
}
.all-link-buttons {
display: inline-flex;
flex-flow: wrap;
justify-content: center;
}

View file

@ -126,9 +126,6 @@ pre > code {
/* Spacing
*/
button,
.button {
margin-bottom: 1rem; }
input,
textarea,
select,

View file

@ -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>