Skip to content

Commit

Permalink
sync elements.css with nekoweb
Browse files Browse the repository at this point in the history
  • Loading branch information
ammon-m authored Oct 18, 2024
1 parent fd339b5 commit 8e0916a
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions src/elements.css
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
/*
Don't use this file to edit your site style! Create a different CSS file for that.
This file defines how custom elements (like sitebox) will look like.
Setting CSS that breaks main nekoweb site on purpose is prohibited and may result in ban and site deletion!
*/

/* Must start with ".site-box". Change how your website will appear on main nekoweb site: https://lune.dimden.dev/405a44b7e5.png */
.site-box {
background-color: #1f1f1f;
background-image: none;
border-radius: 0.5em;
box-shadow: inset 0 1px 0 1px rgba(255, 255, 255, 0.025), 0 5px 10px 5px rgba(0,0,0,0.05);
text-align: center;
background-image: url(/static/assets/cookiebox.png); /* Only nekoweb URLs allowed, use full url to your site like https://example.nekoweb.org/images/coolbg.png */
background-repeat: no-repeat;
color: #b08271;
font-size: 12px;
font-family: "Consolas", "Cuisine", "Courier New", monospace;
}
.site-box > a > p {
color: var(--darkbrown);
.site-box > a > p { /*site*/
color: #ccc;
font-weight: bold;
}
.site-box > a > span {
color: var(--darkbrown);
.site-box > a > span { /*index title*/
color: #ccc;
}

/* Style for your 'Follow on Nekoweb' button (<iframe src="https://nekoweb.org/frame/follow" frameborder="0" width="170" height="28"></iframe>) */
Expand Down

0 comments on commit 8e0916a

Please sign in to comment.