Skip to content

fixed blogcard css #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/ctf-league.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: CTF League
layout: 'infopage'
---

![CTF League logo, starring a beaver with a lock](https://www.osusec.org/wp-content/uploads/2022/06/ctf_small_years1-300x300.png)
![CTF League logo, starring a beaver with a lock](/ctf-league_logo.png)

## Overview

Expand Down
31 changes: 10 additions & 21 deletions static/caseyhates.css
Original file line number Diff line number Diff line change
Expand Up @@ -189,35 +189,37 @@ body {
}
}

.infopage-content > p > a, .infopage-content>ul>li>a, .infopage-content>ol>li>a {
.infopage-content a, .blogcard-content a {
text-decoration: none;
color: var(--primary-color);
}

.infopage-content > p > a:hover {
.infopage-content a:hover, .blogcard-content a:hover, .blogcard-title:hover {
text-decoration: none;
color: var(--secondary-color);
}

.infopage-content>h1, .infopage-content>h2, .infopage-content>h3, .infopage-content>h4, .infopage-content>h5 {
.infopage-content h1, .infopage-content h2, .infopage-content h3, .infopage-content h4, .infopage-content h5
.blogcard-content h1, .blogcard-content h2, .blogcard-content h3, .blogcard-content h4, .blogcard-content h5 {
color: var(--subheading-color);
}

.infopage-content>p {
.infopage-content p, .blogcard-content p {
color: var(--text-color);
}

.infopage-content>p>img, .infopage-content>iframe {
.infopage-content img, .infopage-content iframe, .blogcard-content img {
max-width: 100%;
margin: auto;
display: block;
}

.infopage-content>embed {
.infopage-content embed {
width: 100%;
height: 100vh;
}

.infopage-content>ul, .infopage-content>ol {
.infopage-content ul, .infopage-content ol {
color: var(--text-color);
}

Expand All @@ -232,15 +234,6 @@ body {
width: 100%;
}

.blogcard-content>p>a {
text-decoration: none;
color: var(--primary-color);
}

.blogcard-content>p>a:hover {
text-decoration: none;
color: var(--secondary-color);
}

.blogcard-title {
text-decoration: none;
Expand All @@ -249,12 +242,8 @@ body {
font-weight: 600;
}

.blogcard-title:hover {
text-decoration: none;
color: var(--secondary-color);
}

.blogcard-content>time, .blog-subtext {
.blog-subtext {
color: var(--mutedtext-color);
font-size: 0.9rem;
}
Expand Down
Binary file modified static/ctf-league_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.