This commit is contained in:
@@ -23,7 +23,7 @@ projects_list = [
|
|||||||
{
|
{
|
||||||
"title": "HackTheBox",
|
"title": "HackTheBox",
|
||||||
"description": "Site de pratique à la cybersécurité sous formes de \"box\" à pirater, avec exploitation réelles de failles existantes",
|
"description": "Site de pratique à la cybersécurité sous formes de \"box\" à pirater, avec exploitation réelles de failles existantes",
|
||||||
"image": "htb.png",
|
"image": "htb.jpg",
|
||||||
"link": "https://app.hackthebox.com/users/2374252",
|
"link": "https://app.hackthebox.com/users/2374252",
|
||||||
"button": ["Walkthroughs", "https://vavaas.dev/writeups"],
|
"button": ["Walkthroughs", "https://vavaas.dev/writeups"],
|
||||||
"align": "end"
|
"align": "end"
|
||||||
|
|||||||
@@ -89,6 +89,16 @@ footer img {
|
|||||||
.transparent-box {
|
.transparent-box {
|
||||||
background-color: rgba(33, 37, 41, 0.85); /* Bootstrap dark with 85% opacity */
|
background-color: rgba(33, 37, 41, 0.85); /* Bootstrap dark with 85% opacity */
|
||||||
}
|
}
|
||||||
|
.transparent-box {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.project-btn {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 15px;
|
||||||
|
right: 15px;
|
||||||
|
z-index: 20;
|
||||||
|
}
|
||||||
/* ======================================
|
/* ======================================
|
||||||
Links
|
Links
|
||||||
====================================== */
|
====================================== */
|
||||||
|
|||||||
@@ -27,10 +27,10 @@
|
|||||||
|
|
||||||
<!-- Button in bottom-right -->
|
<!-- Button in bottom-right -->
|
||||||
{% if project.button %}
|
{% if project.button %}
|
||||||
<button class="btn btn-primary project-btn"
|
<button class="btn btn-secondary project-btn"
|
||||||
onclick="window.location='{{ project.button[1] }}'">
|
onclick="event.stopPropagation(); window.location='{{ project.button[1] }}'">
|
||||||
{{ project.button[0] }}
|
{{ project.button[0] }}
|
||||||
</button>
|
</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user