Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| guild_css [2025/07/15 00:12] – created melon | guild_css [2026/07/15 15:29] (current) – melon | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | For Profile | + | <WRAP center round info 60%> |
| + | This is for Guild CSS, if you are looking to edit the CSS on your profile, | ||
| + | </ | ||
| ====== Guild Page CSS Tips ====== | ====== Guild Page CSS Tips ====== | ||
| Line 18: | Line 20: | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | ====== Guild Webring CSS ====== | ||
| + | |||
| + | ===== Default Style + Structure ===== | ||
| + | |||
| + | When you add your guild' | ||
| + | |||
| + | ==== HTML structure ==== | ||
| + | |||
| + | < | ||
| + | <div id=" | ||
| + | <a class=" | ||
| + | <div class=" | ||
| + | < | ||
| + | < | ||
| + | <div class=" | ||
| + | <a href=" | ||
| + | <img src=" | ||
| + | <a href=" | ||
| + | </ | ||
| + | </ | ||
| + | <a class=" | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ==== CSS Defaults ==== | ||
| + | |||
| + | **NOTE:** The webring script adds the following ''< | ||
| + | |||
| + | < | ||
| + | < | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | display: flex; | ||
| + | align-items: | ||
| + | flex-flow: row; | ||
| + | } | ||
| + | # | ||
| + | column-gap: 5px; | ||
| + | } | ||
| + | # | ||
| + | content: ' | ||
| + | margin-right: | ||
| + | } | ||
| + | # | ||
| + | content: ' | ||
| + | margin-left: | ||
| + | } | ||
| + | # | ||
| + | flex-flow: column; | ||
| + | } | ||
| + | # | ||
| + | display: block; | ||
| + | } | ||
| + | # | ||
| + | justify-content: | ||
| + | gap: 10px; | ||
| + | } | ||
| + | # | ||
| + | height: 32px; | ||
| + | } | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ===== Style Tips + Tricks ===== | ||
| + | |||
| + | The last line of the webring widget is an optional stylesheet, which can be viewed and edited by guild members at **forum.melonland.net/ | ||
| + | |||
| + | Like the default CSS in the last section, it's recommended to start all your CSS declarations with the ID selector `<ff monospace># | ||
| + | |||
| + | ==== Sizing + Responsiveness ==== | ||
| + | |||
| + | This will move the previous and next links underneath the info section when the webring is placed in a small container or disaplayed on a small screen. | ||
| + | |||
| + | < | ||
| + | # | ||
| + | max-width: 420px; /* you may want to adjust this! */ | ||
| + | margin: 0 auto; | ||
| + | flex-flow: row wrap; | ||
| + | justify-content: | ||
| + | container-type: | ||
| + | container-name: | ||
| + | } | ||
| + | # | ||
| + | # | ||
| + | width: 18%; | ||
| + | } | ||
| + | @container responsiveguild (width < 420px) { | ||
| + | # | ||
| + | width: 100%; | ||
| + | } | ||
| + | # | ||
| + | order: 2; | ||
| + | width: 40%; | ||
| + | } | ||
| + | # | ||
| + | order: 3; | ||
| + | width: 40%; | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | If your widget has backgrounds and borders, you may need to adjust the widget' | ||
| + | |||
| + | ==== Previous + Next Arrows ==== | ||
| + | |||
| + | This will remove the gap in the underline between the ring member names and the arrows. | ||
| + | |||
| + | < | ||
| + | # | ||
| + | content: ' | ||
| + | margin-right: | ||
| + | } | ||
| + | # | ||
| + | content: ' | ||
| + | margin-left: | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | The `<ff monospace> | ||
| + | |||
| + | |||

Leaky Webring