update to be compatible with gitea 1.22
This commit is contained in:
@ -1,41 +1,136 @@
|
||||
<style>
|
||||
.ui.cards-column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
width: 100%;
|
||||
max-width: 700px;
|
||||
margin: auto;
|
||||
padding: 2rem 1rem;
|
||||
}
|
||||
|
||||
.ui.card {
|
||||
width: 100%;
|
||||
margin: 0 !important;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
transition: transform 0.2s, box-shadow 0.2s;
|
||||
background-color: rgba(255, 255, 255, 0.03);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.ui.card:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
||||
background-color: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.ui.card .content {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
.ui.card h3 {
|
||||
color: #2185d0;
|
||||
margin-bottom: 1rem;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.ui.card .description {
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.ui.card .description p {
|
||||
margin: 0;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.button-container {
|
||||
text-align: center;
|
||||
margin: 3rem 0;
|
||||
}
|
||||
|
||||
.ui.button.primary {
|
||||
background-color: #2185d0;
|
||||
color: white;
|
||||
padding: 1em 2em;
|
||||
border-radius: 4px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
width: auto;
|
||||
display: inline-block;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.ui.button.primary:hover {
|
||||
background-color: #1678c2;
|
||||
}
|
||||
|
||||
.ui.button.primary a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.ui.cards-column {
|
||||
padding: 2rem 1rem;
|
||||
}
|
||||
|
||||
.ui.card .content {
|
||||
padding: 1.25rem;
|
||||
}
|
||||
|
||||
.ui.card h3 {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.ui.card .description {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.ui.button.primary {
|
||||
font-size: 1rem;
|
||||
padding: 0.8em 1.5em;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="ui cards-column stackable">
|
||||
<div class="ui card">
|
||||
<div class="content">
|
||||
<a href="{{AppSubUrl}}/zeldon/mineping">
|
||||
<h3>Mineping</h3>
|
||||
</a>
|
||||
<div class="description">
|
||||
<p>Javascript library for pinging Minecraft servers</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ui card">
|
||||
<div class="content">
|
||||
<a href="{{AppSubUrl}}/zeldon/zeldon-site">
|
||||
<h3>Website</h3>
|
||||
</a>
|
||||
<div class="description">
|
||||
<p>Sources of my personal website</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ui card">
|
||||
<div class="content">
|
||||
<a href="{{AppSubUrl}}/zeldon/http-proxy-server">
|
||||
<h3>http-proxy-server</h3>
|
||||
</a>
|
||||
<div class="description">
|
||||
<p>Simple http proxy server implemented in Go</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui card">
|
||||
<div class="content">
|
||||
<a href="{{ AppSubUrl }}/zeldon/mineping">
|
||||
<h3>Mineping</h3>
|
||||
</a>
|
||||
<div class="description">
|
||||
<p>Javascript library for pinging Minecraft servers.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui card">
|
||||
<div class="content">
|
||||
<a href="{{ AppSubUrl }}/zeldon/razer-battery-report">
|
||||
<h3>Razer Battery Report</h3>
|
||||
</a>
|
||||
<div class="description">
|
||||
<p>Razer Mouse Battery Level Tray Indicator.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui card">
|
||||
<div class="content">
|
||||
<a href="{{ AppSubUrl }}/zeldon/zeldon-site">
|
||||
<h3>Website</h3>
|
||||
</a>
|
||||
<div class="description">
|
||||
<p>Sources of my personal website.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="button-container">
|
||||
<button class="ui button primary">
|
||||
<a class="item" rel="nofollow" href="{{ AppSubUrl }}/explore/repos">
|
||||
Explore other!
|
||||
</a>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="ui center stackable">
|
||||
<button class="ui button primary">
|
||||
<a class="item" rel="nofollow" style="text-decoration: none;color: inherit;"
|
||||
href="{{AppSubUrl}}/explore/repos">Explore other!</a>
|
||||
</button>
|
||||
</div>
|
Reference in New Issue
Block a user