Skip to content

Commit

Permalink
add f64 guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
3vorp committed Sep 27, 2023
1 parent a82f13b commit 560050f
Show file tree
Hide file tree
Showing 46 changed files with 256 additions and 156 deletions.
13 changes: 9 additions & 4 deletions src/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
html, body {
scroll-padding-top: 112px;
scroll-behavior: smooth;
font: 20px arial, sans-serif;
font-size: 20px;
padding: 0;
margin: 0;
background-color: var(--background-white-color);
Expand Down Expand Up @@ -195,6 +195,7 @@ main #container {
padding: 56px $main-padding calc($main-padding + 50px);
margin: 0 auto;
}

img {
max-width: 100%;
}
Expand Down Expand Up @@ -256,7 +257,7 @@ button {
@include menu-transition();
}
header.nav-open{
& + main, {
& + main {
padding-left: $menu_width;
}

Expand Down Expand Up @@ -316,8 +317,7 @@ blockquote {
.home:hover {
background-color: var(--shadow-black-30-color) !important;
}
.collapsible:after, .home:after, #DarkMode.light:after, #DarkMode.dark:after, #DarkMode.auto:after {
}

.collapsible:after, .home:after, #DarkMode.nav-link:after {
font-size: 13px;
margin-left: 5px;
Expand Down Expand Up @@ -424,6 +424,11 @@ a, a:hover, a:visited {
color: var(--text-color-green);
}

/* stupid workaround for making italics and bolds work without being wrapped by a <p> element */
i, b {
margin: 20px 0;
}

/* json coloration */
/* comment */
span.err, span.c {
Expand Down
2 changes: 1 addition & 1 deletion src/css/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
--link-color: #3E9BF5;
}

$texts: 'p, ul, ol, li, td';
$texts: 'p, i, b, ul, ol, li, td';

@mixin menu-transition($elements: all) {
transition: $elements .5s;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</script>

<Layout title="Home">
<p style="text-align: center;">
<p>
<img src="https://database.faithfulpack.net/images/branding/wordmarks/outlined/flat/faithful_flat_border.png" alt="Wordmark" width="100%" height="100%">
</p>

Expand Down
6 changes: 0 additions & 6 deletions src/routes/pages/dungeons/items-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ date: "09/09/2020"
archived: true
---

<style>
li, p {
text-align: justify;
}
</style>

<img class="center" src="/images/pages/dungeons/items-tutorial/header.png" alt="header" loading="lazy">

<div class="table-of-content">
Expand Down
30 changes: 15 additions & 15 deletions src/routes/pages/manuals/branding-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Logos work well for displaying our branding in places with limited space. This i
For most general-purpose applications, use our plain logo. This logo additionally encompasses Classic Faithful, but if you specifically want to refer to Classic Faithful, you can use its respective plain logo as well.

<img src="/images/pages/manuals/branding-guidelines/main_logos.png" loading="lazy">
<p class="center"><i>Left: Plain logo. Right: Classic Faithful plain logo.</i></p>
<i class="center">Left: Plain logo. Right: Classic Faithful plain logo.</i>

If you only want to refer to one project, such as in a card, use that project's respective logo. The Classic Faithful logos have different margins to the regular Faithful logo, so bear that in mind when adjusting sizes.

Expand All @@ -68,12 +68,12 @@ You can use a monochrome version of our logo in small spaces if using the regula
All our logos should always retain their pixel art form. Even when using the monochrome logo, don't simplify the shape into vectors.

<img src="/images/pages/manuals/branding-guidelines/no_vectors.png" class="center" loading="lazy">
<p class="center"><i>Left: Correct depiction of the Faithful monochrome logo. Right: Incorrect depiction.</i></p>
<i class="center">Left: Correct depiction of the Faithful monochrome logo. Right: Incorrect depiction.</i>

Finally, our logos should always be centered based on their main hexagonal part. The numbers and symbols in the bottom-right corner should not be taken into account when positioning.

<img src="/images/pages/manuals/branding-guidelines/centering.png" class="center" loading="lazy">
<p class="center"><i>Left: Correctly centered Faithful 32x logo. Right: An example of incorrect centering; Note that the logo on the right has been centered based on the whole image, and not just the hexagonal part.</i></p>
<i class="center">Left: Correctly centered Faithful 32x logo. Right: An example of incorrect centering; Note that the logo on the right has been centered based on the whole image, and not just the hexagonal part.</i>

## Part 3: Logotexts

Expand All @@ -82,12 +82,12 @@ Finally, our logos should always be centered based on their main hexagonal part.
Logotexts were designed for users to be able to use a logo and a wordmark at the same time without having a clash in resolution. Each logo has a corresponding logotext and this can be used if the Faithful name is not already well established.

<img src="https://database.faithfulpack.net/images/branding/logotexts/plain_logotext.png" class="center" loading="lazy">
<p class="center"><i>The Faithful logotext.</i></p>
<i class="center">The Faithful logotext.</i>

Always make sure to put logotexts on plain or low-contrast backgrounds — readability can be negatively impacted with noisy backgrounds. Please also note that the text and the logo that make up the logotexts are inseparable — don't use the pixel art text by itself.

<img src="/images/pages/manuals/branding-guidelines/logotext_comparison.png" class="center" loading="lazy">
<p class="center"><i>Top: Correct placement of a logotext that ensures it's easily readable. Bottom: Poorly placed logotext.</i></p>
<i class="center">Top: Correct placement of a logotext that ensures it's easily readable. Bottom: Poorly placed logotext.</i>

## Part 4: Wordmarks

Expand All @@ -96,24 +96,24 @@ Always make sure to put logotexts on plain or low-contrast backgrounds — read
Wordmarks tend to be pretty big and bold, so use them sparingly for large banners and other big areas. They're usually the preferred branding when placed over busy backgrounds such as screenshots.

<img src="https://database.faithfulpack.net/images/branding/social%20media/banners/universal_banner.png" class="center" loading="lazy">
<p class="center"><i>The Faithful banner.</i></p>
<i class="center">The Faithful banner.</i>

The plain Faithful wordmark is preferred for most purposes, but specific projects also have their own wordmarks, similarly to the project logos.

In addition, both cracked, flat, and outlined versions exist. As a rule of thumb, use the flat versions for referring to Faithful (or Classic Faithful) as a whole, the cracked versions for specific projects, and the outlined versions to help readability when necessary.

<img src="/images/pages/manuals/branding-guidelines/wordmarks.png" class="center" loading="lazy">
<p class="center"><i>Each Faithful wordmark variation.</i></p>
<i class="center">Each Faithful wordmark variation.</i>

Wordmarks don't tend to scale well, so refrain from using them in small spaces — consider using the logo or simply typing out the name when space is limited.

<img src="/images/pages/manuals/branding-guidelines/bad_wordmark_scaling.png" class="center" loading="lazy">
<p class="center"><i>An example of a wordmark not scaling well.</i></p>
<i class="center">An example of a wordmark not scaling well.</i>

However, don't mix logos and wordmarks, since that's what the logotexts are for. The reasoning is because the pixelated logos don't mix well with the high-resolution wordmarks.

<img src="/images/pages/manuals/branding-guidelines/wordmark_vs_logotext.png" class="center" loading="lazy">
<p class="center"><i>A logo next to a wordmark. A logotext is much better suited for this situation.</i></p>
<i class="center">A logo next to a wordmark. A logotext is much better suited for this situation.</i>

## Part 5: Typography

Expand All @@ -124,12 +124,12 @@ The Faithful font should be used for titles and headings, while any neutral sans
The individual pixels on a logotext also tend to blend at small resolutions so you're usually better off just typing the name out in a regular font.

<img src="/images/pages/manuals/branding-guidelines/bad_font.png" class="center" loading="lazy">
<p class="center"><i>Left: Good diversity in font sizing. Right: Blends together from the uniform size and font.</i></p>
<i class="center">Left: Good diversity in font sizing. Right: Blends together from the uniform size and font.</i>

The semibold Faithful font should be used for large headings and the regular Faithful font for sub-headings. Only use the bold Faithful font for top-level titles when more than two levels of nested titles are required, due to its low readability and large horizontal footprint.

<img src="/images/pages/manuals/branding-guidelines/font_scaling.png" class="center" loading="lazy">
<p class="center"><i>Each font weight and where it should be used.</i></p>
<i class="center">Each font weight and where it should be used.</i>

## Part 6: Scaling

Expand All @@ -140,12 +140,12 @@ In general, the hierarchy of branding elements to be used should be as following
Always leave padding around the edges of any logo, logotext, and wordmark. Specific ratios don't really matter as long as the padding is even on all sides and the respective branding doesn't appear too large.

<img src="/images/pages/manuals/branding-guidelines/padding.png" class="center" loading="lazy">
<p class="center"><i>Left: Correct padding and scaling of the logo. Right: Incorrect padding and sizing.</i></p>
<i class="center">Left: Correct padding and scaling of the logo. Right: Incorrect padding and sizing.</i>

Don't distort our branding to fit in a given space. Instead try using another suitable image or simply typing out the Faithful name using the format specified in part 1.

<img src="/images/pages/manuals/branding-guidelines/distortion.png" class="center" loading="lazy">
<p class="center"><i>Do not.</i></p>
<i class="center">Do not.</i>

## Part 7: Colors and Backgrounds

Expand All @@ -154,12 +154,12 @@ Faithful has a fairly limited color palette used throughout most of the branding
The main brand color is used for most accent colors, such as buttons or embeds. It works in combination with the "generic" background image.

<img src="/images/pages/manuals/branding-guidelines/faithful_color.png" class="center" loading="lazy">
<p class="center"><i>The main Faithful brand color and image.</i></p>
<i class="center">The main Faithful brand color and image.</i>

Each pack additionally has a unique color and background screenshot assigned to it.

<img src="/images/pages/manuals/branding-guidelines/colors.png" class="center" loading="lazy">
<p class="center"><i>All Faithful project colors with their respective images.</i></p>
<i class="center">All Faithful project colors with their respective images.</i>

A background image works well with a wordmark, decently with a logo, and not very well with a logotext. This placement hierarchy should be used to determine an element to go on top of a background image. If you absolutely have to use a logo or a logotext on a background image, it is recommended to add a drop shadow and/or blur the background.

Expand Down
Loading

0 comments on commit 560050f

Please sign in to comment.