Skip to content

Commit

Permalink
Cleanup CSS & readd KTrain's Bluesky (#2)
Browse files Browse the repository at this point in the history
* Fix up the CSS a bit more

* Readd KTrain's Bluesky using their domain
  • Loading branch information
Ampflower authored Dec 18, 2024
1 parent bc8623b commit c4bdbb2
Showing 2 changed files with 23 additions and 33 deletions.
3 changes: 3 additions & 0 deletions attributions.html
Original file line number Diff line number Diff line change
@@ -14,6 +14,9 @@ <h1>Attributions</h1>
<h2>KTrain5369</h2>
<p>One of the main mantainers of the Notessential website, and creator of this gallery.</p>
<div class="social-buttons">
<a href="https://bsky.app/profile/ktrain5369.me" target="_blank">
<button>Bluesky</button>
</a>
<a href="https://github.com/KTrain5169" target="_blank">
<button>GitHub</button>
</a>
53 changes: 20 additions & 33 deletions css/attributions.css
Original file line number Diff line number Diff line change
@@ -13,6 +13,10 @@ h1, h2 {
font-size: 2em;
}

h2 {
margin-top: 0.15em; /* Visually looks nicer */
}

p {
line-height: 1.6;
color: #cccccc;
@@ -21,35 +25,31 @@ p {
}

/* Attribution section styling */ /* wtf does this do here */
.maintainer {
margin-bottom: 30px;
.contributor, .maintainer {
padding: 20px;
/*border: 1px solid #00F; why */
background-color: #292929; /* Matching the dark theme */
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
background-color: #292929; /* Matching the dark theme */
max-width: 700px;
margin: 20px auto;
text-align: center;
}

.contributor {
margin-bottom: 30px;
padding: 20px;
border: 1px solid #333;
background-color: #292929;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
max-width: 700px;
margin: 20px auto;
text-align: center;
/*
.maintainer {
border: 1px solid #00F;
}
h2 {
color: #008cff; /* Blue accent color for people's names */
.contributor {
border: 1px solid #333;
}
*/

.social-buttons {
display: flex;
flex-flow: row;
justify-content: center;
gap: 10px;
margin-top: 10px;
}

@@ -58,7 +58,6 @@ h2 {
color: #fff;
border: none;
padding: 10px 20px;
margin: 5px;
cursor: pointer;
border-radius: 5px;
font-size: 1em;
@@ -69,24 +68,12 @@ h2 {
background-color: #0076d1; /* Slightly darker blue on hover */
}

.social-info {
display: none;
background-color: #2f2f2f;
padding: 15px;
border-radius: 5px;
margin-top: 10px;
color: #cccccc;
transition: opacity 0.3s ease;
.social-buttons a {
display: block;
}

.social-info a {
color: #008cff;
text-decoration: none;
}

.social-info a:hover {
color: #0076d1;
text-decoration: underline;
a > button {
margin: 0;
}

/* Mobile and responsive adjustments */

0 comments on commit c4bdbb2

Please sign in to comment.