Skip to content

Commit a3a7ad2

Browse files
committed
some misc styling things, icons in footer, padding on mobile, and line height change
1 parent e9a84e2 commit a3a7ad2

File tree

5 files changed

+77
-14
lines changed

5 files changed

+77
-14
lines changed

config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The URL the site will be built for
22

3-
title = "The funkin.me Blog"
3+
title = "Friday Night Funkin' - The Funkin' Crew Inc."
44
description = "Blog posts about Friday Night Funkin' written by various members of The Funkin' Crew Inc.!"
55

66
base_url = "https://funkin.me"

package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/styles/style.css

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,6 +1107,32 @@ details summary{
11071107
mask-size: 100% 100%;
11081108
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M6.18 15.64a2.18 2.18 0 0 1 2.18 2.18C8.36 19 7.38 20 6.18 20C5 20 4 19 4 17.82a2.18 2.18 0 0 1 2.18-2.18M4 4.44A15.56 15.56 0 0 1 19.56 20h-2.83A12.73 12.73 0 0 0 4 7.27zm0 5.66a9.9 9.9 0 0 1 9.9 9.9h-2.83A7.07 7.07 0 0 0 4 12.93z'/%3E%3C/svg%3E");
11091109
}
1110+
.i-mdi-youtube{
1111+
display: inline-block;
1112+
width: 1em;
1113+
height: 1em;
1114+
background-color: currentColor;
1115+
-webkit-mask-image: var(--svg);
1116+
mask-image: var(--svg);
1117+
-webkit-mask-repeat: no-repeat;
1118+
mask-repeat: no-repeat;
1119+
-webkit-mask-size: 100% 100%;
1120+
mask-size: 100% 100%;
1121+
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='m10 15l5.19-3L10 9zm11.56-7.83c.13.47.22 1.1.28 1.9c.07.8.1 1.49.1 2.09L22 12c0 2.19-.16 3.8-.44 4.83c-.25.9-.83 1.48-1.73 1.73c-.47.13-1.33.22-2.65.28c-1.3.07-2.49.1-3.59.1L12 19c-4.19 0-6.8-.16-7.83-.44c-.9-.25-1.48-.83-1.73-1.73c-.13-.47-.22-1.1-.28-1.9c-.07-.8-.1-1.49-.1-2.09L2 12c0-2.19.16-3.8.44-4.83c.25-.9.83-1.48 1.73-1.73c.47-.13 1.33-.22 2.65-.28c1.3-.07 2.49-.1 3.59-.1L12 5c4.19 0 6.8.16 7.83.44c.9.25 1.48.83 1.73 1.73'/%3E%3C/svg%3E");
1122+
}
1123+
.i-mdi-twitter{
1124+
display: inline-block;
1125+
width: 1em;
1126+
height: 1em;
1127+
background-color: currentColor;
1128+
-webkit-mask-image: var(--svg);
1129+
mask-image: var(--svg);
1130+
-webkit-mask-repeat: no-repeat;
1131+
mask-repeat: no-repeat;
1132+
-webkit-mask-size: 100% 100%;
1133+
mask-size: 100% 100%;
1134+
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M22.46 6c-.77.35-1.6.58-2.46.69c.88-.53 1.56-1.37 1.88-2.38c-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29c0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15c0 1.49.75 2.81 1.91 3.56c-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.2 4.2 0 0 1-1.93.07a4.28 4.28 0 0 0 4 2.98a8.52 8.52 0 0 1-5.33 1.84q-.51 0-1.02-.06C3.44 20.29 5.7 21 8.12 21C16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56c.84-.6 1.56-1.36 2.14-2.23'/%3E%3C/svg%3E");
1135+
}
11101136
.collapse{
11111137
visibility: collapse;
11121138
}
@@ -1179,12 +1205,18 @@ details summary{
11791205
.items-center{
11801206
align-items: center;
11811207
}
1208+
.justify-center{
1209+
justify-content: center;
1210+
}
11821211
.gap-2{
11831212
gap: 0.5rem;
11841213
}
11851214
.gap-4{
11861215
gap: 1rem;
11871216
}
1217+
.gap-1{
1218+
gap: 0.25rem;
1219+
}
11881220
.truncate{
11891221
overflow: hidden;
11901222
text-overflow: ellipsis;
@@ -1209,6 +1241,10 @@ details summary{
12091241
.p-8{
12101242
padding: 2rem;
12111243
}
1244+
.px-2{
1245+
padding-left: 0.5rem;
1246+
padding-right: 0.5rem;
1247+
}
12121248
.px-4{
12131249
padding-left: 1rem;
12141250
padding-right: 1rem;
@@ -1224,6 +1260,9 @@ details summary{
12241260
.italic{
12251261
font-style: italic;
12261262
}
1263+
.leading-6{
1264+
line-height: 1.5rem;
1265+
}
12271266
.text-gray-100{
12281267
--tw-text-opacity: 1;
12291268
color: rgb(199 202 209 / var(--tw-text-opacity));
@@ -1533,3 +1572,10 @@ small p {
15331572
.hover\:no-underline:hover{
15341573
text-decoration-line: none;
15351574
}
1575+
@media (min-width: 640px){
1576+
1577+
.sm\:px-0{
1578+
padding-left: 0px;
1579+
padding-right: 0px;
1580+
}
1581+
}

templates/404.html

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
<head>
2-
<title>404 LOL</title>
3-
</head>
1+
{% extends "base.html" %}
42

5-
<body>
6-
<h1>
7-
404 SCREEN
8-
</h1>
9-
</body>
3+
{% block content %}
4+
<div class="container-fluid">
5+
<h1>
6+
404 SCREEN
7+
</h1>
8+
<p>Unforunately this page doesn't exist! Try again! </p>
9+
<a href="/">Return Home</a>
10+
</div>
11+
12+
{% endblock content %}

templates/base.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
<meta property="og:type" content="website" />
2525
<meta property="og:image"
2626
content="https://user-images.githubusercontent.com/22229331/213636577-8983e46c-fbf0-43e3-86e6-4797ae3ef59e.gif" />
27+
{%- if current_url -%}
2728
<meta property="og:url" content="{{ current_url }}" />
29+
{%- endif -%}
2830
<meta name="theme-color" content="#ff1cb0">
2931

3032
</head>
@@ -69,11 +71,22 @@
6971
</marquee>
7072
</div>
7173

72-
<main class="max-w-5xl w-full mx-auto prose prose-invert">
74+
<main class="max-w-5xl w-full mx-auto prose prose-invert px-2 sm:px-0 leading-6">
7375
{% block content %} {% endblock %}
7476
</main>
7577

7678
<footer class="my-8">
79+
<div class="flex flex-row justify-center gap-1">
80+
<a href="https://www.youtube.com/@FNF_Developers">
81+
<i class="i-mdi-youtube"></i>
82+
</a>
83+
<a href="https://x.com/fnf_developers">
84+
<i class="i-mdi-twitter"></i>
85+
</a>
86+
<a href="https://github.com/FunkinCrew">
87+
<i class="i-mdi-github"></i>
88+
</a>
89+
</div>
7790
<!--div align='center'>
7891
<a href='https://www.free-website-hit-counter.com'>
7992
<img src='https://www.free-website-hit-counter.com/c.php?d=9&id=145132&s=36' border='0'

0 commit comments

Comments
 (0)