i m tired

This commit is contained in:
2023-11-19 03:22:59 +01:00
parent cdf81ed9f4
commit c3b5c6827f
3 changed files with 95 additions and 4 deletions

View File

@@ -23,8 +23,8 @@ div {
<source src="/assets/img.mp4"/>
</video>
<div>
<p>{{ Name }}</p>
<p>{{ Euro }}</p>
<p>{{ Message }}</p>
<p class="donation-name">{{ Name }}</p>
<p class="donation-amount">{{ Euro }}</p>
<p class="donation-test">{{ Message }}</p>
</div>
</div>

View File

@@ -1,4 +1,4 @@
<table>
<table class="rwd-table">
<thead>
<th>Nom</th>
<th>Montant</th>

View File

@@ -1 +1,92 @@
/* You can add global styles to this file, and also import other style files */
body {
color: white;
font-size: 24px;
font-family: fantasy;
}
.donation-name{
font-style: bold;
color: red;
}
.donation-text{
font-style: bold;
color: white;
}
.donation-amount{
font-style: bold;
color: blue;
}
.rwd-table {
margin: 1em 0;
min-width: 300px; // adjust to your needs
tr {
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
th {
display: none; // for accessibility, use a visually hidden method here instead! Thanks, reddit!
}
td {
display: block;
&:first-child {
padding-top: 0.5em;
}
&:last-child {
padding-bottom: 0.5em;
}
&:before {
content: attr(data-th) ": "; // who knew you could do this? The internet, that's who.
font-weight: bold;
// optional stuff to make it look nicer
width: 6.5em; // magic number :( adjust according to your own content
display: none;
}
}
th,
td {
text-align: left;
display: table-cell;
padding: 0.25em 0.5em;
&:first-c6ild {
padding-left: 0;
}
&:last-child {
padding-right: 0;
}
}
}
// presentational styling
.rwd-table {
// background: #34495e;
color: #fff;
border-radius: 0.4em;
overflow: hidden;
tr {
border-color: lighten(#34495e, 10%);
}
th,
td {
margin: 0.5em 1em;
//padding: 1em !important;
}
th,
td:before {
color: #dd5;
}
}