Skip to content
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
9 changes: 9 additions & 0 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,15 @@
STATIC_ROOT = os.getenv("STATIC_ROOT")
MEDIA_ROOT = os.getenv("MEDIA_ROOT")

STORAGES = {
"default": {
"BACKEND": "django.core.files.storage.FileSystemStorage",
},
"staticfiles": {
"BACKEND": "django.contrib.staticfiles.storage.ManifestStaticFilesStorage",
},
}


# Default primary key field type

Expand Down
12 changes: 8 additions & 4 deletions static/css/fonts.css
Original file line number Diff line number Diff line change
@@ -1,31 +1,35 @@
/* Source Sans 3 - Self-hosted */
@font-face {
font-family: 'Source Sans 3';
src: url('../fonts/SourceSans3-Regular.ttf') format('truetype');
src: url('../fonts/SourceSans3-Regular.woff2') format('woff2'),
url('../fonts/SourceSans3-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Source Sans 3';
src: url('../fonts/SourceSans3-It.ttf') format('truetype');
src: url('../fonts/SourceSans3-It.woff2') format('woff2'),
url('../fonts/SourceSans3-It.ttf') format('truetype');
font-weight: 400;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: 'Source Sans 3';
src: url('../fonts/SourceSans3-Bold.ttf') format('truetype');
src: url('../fonts/SourceSans3-Bold.woff2') format('woff2'),
url('../fonts/SourceSans3-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Source Sans 3';
src: url('../fonts/SourceSans3-BoldIt.ttf') format('truetype');
src: url('../fonts/SourceSans3-BoldIt.woff2') format('woff2'),
url('../fonts/SourceSans3-BoldIt.ttf') format('truetype');
font-weight: 700;
font-style: italic;
font-display: swap;
Expand Down
Binary file added static/fonts/SourceSans3-Bold.woff2
Binary file not shown.
Binary file added static/fonts/SourceSans3-BoldIt.woff2
Binary file not shown.
Binary file added static/fonts/SourceSans3-It.woff2
Binary file not shown.
Binary file added static/fonts/SourceSans3-Regular.woff2
Binary file not shown.
4 changes: 4 additions & 0 deletions templates/presente/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
<meta name="twitter:description" content="Registre sua presença em atividades do IFRN!" />
<meta name="twitter:image" content="{% static 'img/presente-icon.svg' %}" />
<!--end::Meta Tags-->
<!--begin::Preconnect-->
<link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin />
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net" />
<!--end::Preconnect-->
<!--begin::Fonts-->
<link rel="stylesheet" href="{% static 'css/fonts.css' %}" />
<!--end::Fonts-->
Expand Down
Loading