Skip to content

Commit

Permalink
feat: 2h of blueprint per day, day 12
Browse files Browse the repository at this point in the history
  • Loading branch information
prplwtf committed Dec 31, 2024
1 parent 2d70dd8 commit 124e0fa
Show file tree
Hide file tree
Showing 17 changed files with 412 additions and 119 deletions.
Binary file added .assets/brand/retro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 13 additions & 6 deletions .modules/global/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,24 @@
.nav-dropdown-btn { background-color: transparent !important; }
[data-bs-theme=light] .invert-light { filter: invert() }

.mobile-theme-switcher {
display: flex !important;
flex-direction: row;
flex-wrap: nowrap;
}
.mobile-theme-switcher-btn {
width: 33.33% !important;
width: 100% !important;
text-align: center;
padding-top: 10px;
padding-bottom: 10px;
}
.mobile-theme-switcher {
width: calc(100% - 24px);
}
.mobile-nav-link {
width: calc(100% - 32px);
overflow: hidden;
box-shadow: unset;
}
.mobile-nav-spacer {
display: block;
padding-bottom: 72px;
}


.mobile-theme-switcher-btn.active i { opacity: 1 !important; }
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023-2024 Emma (prpl.wtf)
Copyright (c) 2023-2025 Emma (prpl.wtf)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
90 changes: 69 additions & 21 deletions browse/extensions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div class="container">
<div class="d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start">
<a href="../../" class="d-flex align-items-center mb-2 me-2 mb-lg-0 link-body-emphasis text-decoration-none">
<img src="../../.assets/brand/logo.jpg" width="35" height="35" class="rounded-3" alt="" />
<img src="../../.assets/brand/retro.png" height="35" class="rounded-3" alt="" />
</a>
<ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0">
<li><a href="../../" class="nav-link px-2 link-body-emphasis">Home</a></li>
Expand Down Expand Up @@ -67,27 +67,75 @@
<div class="p-2 d-lg-none d-inline"></div>
<nav class="navbar fixed-top d-lg-none d-inline blueprint-navbar-mobile">
<div class="container-fluid">
<a href="../../" class="d-flex align-items-center mb-2 me-2 mt-2 mb-lg-0 link-body-emphasis text-decoration-none"><img src="../../.assets/brand/logo.jpg" width="40" height="40" class="rounded-3" alt="" /></a>
<div class="dropdown">
<button class="btn btn-secondary bg-dark-subtle border-0 nav-dropdown-btn" type="button" data-bs-toggle="dropdown" aria-expanded="false">
<span class="navbar-toggler-icon"></span>
</button>
<ul class="dropdown-menu dropdown-menu-end gap-1 p-2 rounded-3 mx-0 border-0 shadow w-220px">
<li><a class="dropdown-item rounded-2" href="../../">Home</a></li>
<li><a class="dropdown-item rounded-2" href="../">Browse</a></li>
<li><a class="dropdown-item rounded-2" href="../../docs">Documentation</a></li>
<li>
<hr class="dropdown-divider">
</li>
<div class="mobile-theme-switcher">
<a href="javascript:void" class="dropdown-item rounded-2 mobile-theme-switcher-btn" data-bs-theme-value="light"><i class="bi bi-sun-fill opacity-50"></i></a>
<a href="javascript:void" class="dropdown-item rounded-2 mobile-theme-switcher-btn" data-bs-theme-value="dark"><i class="bi bi-moon-stars-fill opacity-50"></i></a>
<a href="javascript:void" class="dropdown-item rounded-2 mobile-theme-switcher-btn" data-bs-theme-value="auto"><i class="bi bi-circle-half opacity-50"></i></a>
</div>
</ul>
</div>
<a href="../../" class="d-flex align-items-center mb-2 me-2 mt-2 mb-lg-0 link-body-emphasis text-decoration-none"><img src="../../.assets/brand/retro.png" height="40" class="rounded-3" alt="" /></a>
<button class="btn btn-secondary bg-dark-subtle border-0 nav-dropdown-btn" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasNavbar" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</nav>
<div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvasNavbar" aria-labelledby="offcanvasNavbarLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="offcanvasNavbarLabel">Navigation</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<ul class="navbar-nav justify-content-end flex-grow-1 pe-3">
<li class="nav-item">
<a href="../../" class="btn btn-dark rounded-2 d-flex gap-2 py-2 px-3 lh-sm text-start align-items-center position-absolute mobile-nav-link">
<div>
<i class="bi bi-house-fill h1"></i>
</div>
<div class="text-truncate">
<strong class="d-block">Home</strong>
<small>Learn more about Blueprint, what is is, and why it was made</small>
</div>
</a>
<div class="mobile-nav-spacer"></div>
</li>
<li class="nav-item">
<a href="../" class="btn btn-dark rounded-2 d-flex gap-2 py-2 px-3 lh-sm text-start align-items-center position-absolute mobile-nav-link bg-light-subtle">
<div>
<i class="bi bi-puzzle-fill h1"></i>
</div>
<div class="text-truncate">
<strong class="d-block">Browse</strong>
<small>Explore and search extensions made by the community</small>
</div>
</a>
<div class="mobile-nav-spacer"></div>
</li>
<li class="nav-item">
<a href="../../docs" class="btn btn-dark rounded-2 d-flex gap-2 py-2 px-3 lh-sm text-start align-items-center position-absolute mobile-nav-link">
<div>
<i class="bi bi-book-fill h1"></i>
</div>
<div class="text-truncate">
<strong class="d-block">Documentation</strong>
<small>Guides and docs about interacting with Blueprint</small>
</div>
</a>
<div class="mobile-nav-spacer"></div>
</li>
<div class="mobile-theme-switcher row position-absolute start-0 bottom-0 ms-1 mb-4">
<div class="col-4">
<a href="javascript:void" class="rounded-2 mobile-theme-switcher-btn" data-bs-theme-value="light">
<i class="bi bi-sun-fill opacity-50 text-body" style="padding: 0 50%;"></i>
</a>
</div>
<div class="col-4">
<a href="javascript:void" class="rounded-2 mobile-theme-switcher-btn" data-bs-theme-value="dark">
<i class="bi bi-moon-stars-fill opacity-50 text-body" style="padding: 0 50%;"></i>
</a>
</div>
<div class="col-4">
<a href="javascript:void" class="rounded-2 mobile-theme-switcher-btn" data-bs-theme-value="auto">
<i class="bi bi-circle-half opacity-50 text-body" style="padding: 0 50%;"></i>
</a>
</div>
</div>
</ul>
</div>
</div>



Expand Down Expand Up @@ -170,7 +218,7 @@ <h2 class="h3 my-3">
<rect x="333.3332" y="166.6666" width="166.667" height="333.3332"/>
</svg>
</a>
<span class="mb-3 mb-md-0 text-body-secondary">© 2023-2024 Emma (<a href="https://prpl.wtf" class="text-body-secondary" target="_blank">prpl.wtf</a>)</span>
<span class="mb-3 mb-md-0 text-body-secondary">© 2023-2025 Emma (<a href="https://prpl.wtf" class="text-body-secondary" target="_blank">prpl.wtf</a>)</span>
</div>

<ul class="nav col-md-4 justify-content-end list-unstyled d-flex">
Expand Down
90 changes: 69 additions & 21 deletions browse/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div class="container">
<div class="d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start">
<a href="../" class="d-flex align-items-center mb-2 me-2 mb-lg-0 link-body-emphasis text-decoration-none">
<img src="../.assets/brand/logo.jpg" width="35" height="35" class="rounded-3" alt="" />
<img src="../.assets/brand/retro.png" height="35" class="rounded-3" alt="" />
</a>
<ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0">
<li><a href="../" class="nav-link px-2 link-body-emphasis">Home</a></li>
Expand Down Expand Up @@ -67,27 +67,75 @@
<div class="p-2 d-lg-none d-inline"></div>
<nav class="navbar fixed-top d-lg-none d-inline blueprint-navbar-mobile">
<div class="container-fluid">
<a href="../" class="d-flex align-items-center mb-2 me-2 mt-2 mb-lg-0 link-body-emphasis text-decoration-none"><img src="../.assets/brand/logo.jpg" width="40" height="40" class="rounded-3" alt="" /></a>
<div class="dropdown">
<button class="btn btn-secondary bg-dark-subtle border-0 nav-dropdown-btn" type="button" data-bs-toggle="dropdown" aria-expanded="false">
<span class="navbar-toggler-icon"></span>
</button>
<ul class="dropdown-menu dropdown-menu-end gap-1 p-2 rounded-3 mx-0 border-0 shadow w-220px">
<li><a class="dropdown-item rounded-2" href="../">Home</a></li>
<li><a class="dropdown-item rounded-2 disabled" href=".">Browse</a></li>
<li><a class="dropdown-item rounded-2" href="../docs">Documentation</a></li>
<li>
<hr class="dropdown-divider">
</li>
<div class="mobile-theme-switcher">
<a href="javascript:void" class="dropdown-item rounded-2 mobile-theme-switcher-btn" data-bs-theme-value="light"><i class="bi bi-sun-fill opacity-50"></i></a>
<a href="javascript:void" class="dropdown-item rounded-2 mobile-theme-switcher-btn" data-bs-theme-value="dark"><i class="bi bi-moon-stars-fill opacity-50"></i></a>
<a href="javascript:void" class="dropdown-item rounded-2 mobile-theme-switcher-btn" data-bs-theme-value="auto"><i class="bi bi-circle-half opacity-50"></i></a>
</div>
</ul>
</div>
<a href="../" class="d-flex align-items-center mb-2 me-2 mt-2 mb-lg-0 link-body-emphasis text-decoration-none"><img src="../.assets/brand/retro.png" height="40" class="rounded-3" alt="" /></a>
<button class="btn btn-secondary bg-dark-subtle border-0 nav-dropdown-btn" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasNavbar" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</nav>
<div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvasNavbar" aria-labelledby="offcanvasNavbarLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="offcanvasNavbarLabel">Navigation</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<ul class="navbar-nav justify-content-end flex-grow-1 pe-3">
<li class="nav-item">
<a href="../" class="btn btn-dark rounded-2 d-flex gap-2 py-2 px-3 lh-sm text-start align-items-center position-absolute mobile-nav-link">
<div>
<i class="bi bi-house-fill h1"></i>
</div>
<div class="text-truncate">
<strong class="d-block">Home</strong>
<small>Learn more about Blueprint, what is is, and why it was made</small>
</div>
</a>
<div class="mobile-nav-spacer"></div>
</li>
<li class="nav-item">
<a href="./" class="btn btn-dark rounded-2 d-flex gap-2 py-2 px-3 lh-sm text-start align-items-center position-absolute mobile-nav-link bg-light-subtle">
<div>
<i class="bi bi-puzzle-fill h1"></i>
</div>
<div class="text-truncate">
<strong class="d-block">Browse</strong>
<small>Explore and search extensions made by the community</small>
</div>
</a>
<div class="mobile-nav-spacer"></div>
</li>
<li class="nav-item">
<a href="../docs" class="btn btn-dark rounded-2 d-flex gap-2 py-2 px-3 lh-sm text-start align-items-center position-absolute mobile-nav-link">
<div>
<i class="bi bi-book-fill h1"></i>
</div>
<div class="text-truncate">
<strong class="d-block">Documentation</strong>
<small>Guides and docs about interacting with Blueprint</small>
</div>
</a>
<div class="mobile-nav-spacer"></div>
</li>
<div class="mobile-theme-switcher row position-absolute start-0 bottom-0 ms-1 mb-4">
<div class="col-4">
<a href="javascript:void" class="rounded-2 mobile-theme-switcher-btn" data-bs-theme-value="light">
<i class="bi bi-sun-fill opacity-50 text-body" style="padding: 0 50%;"></i>
</a>
</div>
<div class="col-4">
<a href="javascript:void" class="rounded-2 mobile-theme-switcher-btn" data-bs-theme-value="dark">
<i class="bi bi-moon-stars-fill opacity-50 text-body" style="padding: 0 50%;"></i>
</a>
</div>
<div class="col-4">
<a href="javascript:void" class="rounded-2 mobile-theme-switcher-btn" data-bs-theme-value="auto">
<i class="bi bi-circle-half opacity-50 text-body" style="padding: 0 50%;"></i>
</a>
</div>
</div>
</ul>
</div>
</div>



Expand Down Expand Up @@ -311,7 +359,7 @@ <h1 class="modal-title fs-5" id="filterModalLabel"><i class="bi bi-filter"></i>
<rect x="333.3332" y="166.6666" width="166.667" height="333.3332"/>
</svg>
</a>
<span class="mb-3 mb-md-0 text-body-secondary">© 2023-2024 Emma (<a href="https://prpl.wtf" class="text-body-secondary" target="_blank">prpl.wtf</a>)</span>
<span class="mb-3 mb-md-0 text-body-secondary">© 2023-2025 Emma (<a href="https://prpl.wtf" class="text-body-secondary" target="_blank">prpl.wtf</a>)</span>
</div>

<ul class="nav col-md-4 justify-content-end list-unstyled d-flex">
Expand Down
5 changes: 4 additions & 1 deletion docs/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ code.hljs {
border-radius: 5px;
}

[data-bs-theme=light] .changelog-btn, [data-bs-theme=light] .docs-link { background-color: #d4d4d4 !important; border-color: #e9e9e9 !important; }
[data-bs-theme=light] .changelog-btn {
background-color: #d4d4d4 !important;
border-color: #e9e9e9 !important;
}
[data-bs-theme=light] .changelog-btn-disabled { background-color: #e9e9e9 !important; border-color: #e9e9e9 !important; }
[data-bs-theme=light] .changelog-btn { background-color: #d4d4d4 !important; border-color: #e9e9e9 !important; }
[data-bs-theme=light] .docs-link-primary { border-color: #0d6efd !important; color: #fff; }
Expand Down
Loading

0 comments on commit 124e0fa

Please sign in to comment.