JJ Colocate
This commit is contained in:
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
@@ -1,8 +1,8 @@
|
||||
$mainBGColor: #584577;
|
||||
$featureColor: #ce2d4f;
|
||||
$accentColor: #f0eaf8;
|
||||
|
||||
$mainTextColor: #eee;
|
||||
$brightTextColor: #fff;
|
||||
$invertTextColor: #222;
|
||||
$invertBrightTextColor: #000;
|
||||
$mainBGColor: #584577;
|
||||
$featureColor: #ce2d4f;
|
||||
$accentColor: #f0eaf8;
|
||||
|
||||
$mainTextColor: #eee;
|
||||
$brightTextColor: #fff;
|
||||
$invertTextColor: #222;
|
||||
$invertBrightTextColor: #000;
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
textarea,
|
||||
input[type="url"],
|
||||
input[type="email"],
|
||||
input[type="number"],
|
||||
input[type="tel"],
|
||||
input[type="text"] {
|
||||
}
|
||||
|
||||
.searchBar {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
|
||||
input {
|
||||
padding: 10px;
|
||||
font-size: 1.5rem;
|
||||
border-radius: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
textarea {
|
||||
min-height: 200px;
|
||||
min-width: 500px;
|
||||
}
|
||||
label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
textarea,
|
||||
input[type="url"],
|
||||
input[type="email"],
|
||||
input[type="number"],
|
||||
input[type="tel"],
|
||||
input[type="text"] {
|
||||
}
|
||||
|
||||
.searchBar {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
|
||||
input {
|
||||
padding: 10px;
|
||||
font-size: 1.5rem;
|
||||
border-radius: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
textarea {
|
||||
min-height: 200px;
|
||||
min-width: 500px;
|
||||
}
|
||||
|
||||
@@ -1,151 +1,151 @@
|
||||
@import "mixins";
|
||||
@import "colors";
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
:root {
|
||||
background-color: $mainBGColor;
|
||||
color: $mainTextColor;
|
||||
box-sizing: border-box;
|
||||
font-family: "Noto Sans", sans-serif;
|
||||
font-optical-sizing: auto;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-variation-settings: "wdth" 100;
|
||||
}
|
||||
|
||||
.stickyTop {
|
||||
top: 0;
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#main:has(#content) {
|
||||
display: grid;
|
||||
grid-template-columns: $navBarSize 1fr;
|
||||
grid-template-areas: "Nav Content";
|
||||
}
|
||||
|
||||
#content {
|
||||
grid-area: Content;
|
||||
overflow-x: hidden;
|
||||
padding: 10px;
|
||||
/* margin-left: $navBarSize; */
|
||||
}
|
||||
|
||||
$mediaItemSize: 300px;
|
||||
|
||||
.mediaGrid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
margin: 10px 0;
|
||||
|
||||
.mediaItem {
|
||||
width: $mediaItemSize;
|
||||
height: $mediaItemSize;
|
||||
overflow: hidden;
|
||||
display: grid;
|
||||
grid-template-columns: $mediaItemSize;
|
||||
grid-template-areas: "A";
|
||||
box-shadow: 0 0 2px #000;
|
||||
color: $mainTextColor;
|
||||
text-decoration: none;
|
||||
transition:
|
||||
transform 0.25s ease-out,
|
||||
box-shadow 0.25s ease-out;
|
||||
|
||||
> * {
|
||||
grid-area: A;
|
||||
}
|
||||
|
||||
img {
|
||||
aspect-ratio: 1;
|
||||
object-fit: cover;
|
||||
width: 100%;
|
||||
object-position: center;
|
||||
background-color: $invertTextColor;
|
||||
border: 0;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.info {
|
||||
align-self: end;
|
||||
backdrop-filter: blur(20px) brightness(0.5);
|
||||
transition: transform 0.25s ease-out;
|
||||
transform: translateY(100%);
|
||||
padding: 2px;
|
||||
|
||||
.name {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
}
|
||||
.details {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
transform: scale(110%) translateZ(2px);
|
||||
box-shadow: 0 0 8px #000;
|
||||
|
||||
.info {
|
||||
transform: translateY(0%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#main:has(#centralModal) {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
height: 100dvh;
|
||||
width: 100dvw;
|
||||
}
|
||||
|
||||
#centralModal {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.notif {
|
||||
background-color: red;
|
||||
display: grid;
|
||||
grid-template-columns: 50px 1fr;
|
||||
height: 50px;
|
||||
border-radius: 20px;
|
||||
border-bottom-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
|
||||
.icon {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.message {
|
||||
padding: 10px;
|
||||
align-self: center;
|
||||
}
|
||||
}
|
||||
|
||||
.codeSelect {
|
||||
line-break: anywhere;
|
||||
white-space: pre-wrap;
|
||||
background-color: $featureColor;
|
||||
padding: 5px;
|
||||
user-select: all;
|
||||
}
|
||||
@import "mixins";
|
||||
@import "colors";
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
:root {
|
||||
background-color: $mainBGColor;
|
||||
color: $mainTextColor;
|
||||
box-sizing: border-box;
|
||||
font-family: "Noto Sans", sans-serif;
|
||||
font-optical-sizing: auto;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-variation-settings: "wdth" 100;
|
||||
}
|
||||
|
||||
.stickyTop {
|
||||
top: 0;
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#main:has(#content) {
|
||||
display: grid;
|
||||
grid-template-columns: $navBarSize 1fr;
|
||||
grid-template-areas: "Nav Content";
|
||||
}
|
||||
|
||||
#content {
|
||||
grid-area: Content;
|
||||
overflow-x: hidden;
|
||||
padding: 10px;
|
||||
/* margin-left: $navBarSize; */
|
||||
}
|
||||
|
||||
$mediaItemSize: 300px;
|
||||
|
||||
.mediaGrid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
margin: 10px 0;
|
||||
|
||||
.mediaItem {
|
||||
width: $mediaItemSize;
|
||||
height: $mediaItemSize;
|
||||
overflow: hidden;
|
||||
display: grid;
|
||||
grid-template-columns: $mediaItemSize;
|
||||
grid-template-areas: "A";
|
||||
box-shadow: 0 0 2px #000;
|
||||
color: $mainTextColor;
|
||||
text-decoration: none;
|
||||
transition:
|
||||
transform 0.25s ease-out,
|
||||
box-shadow 0.25s ease-out;
|
||||
|
||||
> * {
|
||||
grid-area: A;
|
||||
}
|
||||
|
||||
img {
|
||||
aspect-ratio: 1;
|
||||
object-fit: cover;
|
||||
width: 100%;
|
||||
object-position: center;
|
||||
background-color: $invertTextColor;
|
||||
border: 0;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.info {
|
||||
align-self: end;
|
||||
backdrop-filter: blur(20px) brightness(0.5);
|
||||
transition: transform 0.25s ease-out;
|
||||
transform: translateY(100%);
|
||||
padding: 2px;
|
||||
|
||||
.name {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
}
|
||||
.details {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
transform: scale(110%) translateZ(2px);
|
||||
box-shadow: 0 0 8px #000;
|
||||
|
||||
.info {
|
||||
transform: translateY(0%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#main:has(#centralModal) {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
height: 100dvh;
|
||||
width: 100dvw;
|
||||
}
|
||||
|
||||
#centralModal {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.notif {
|
||||
background-color: red;
|
||||
display: grid;
|
||||
grid-template-columns: 50px 1fr;
|
||||
height: 50px;
|
||||
border-radius: 20px;
|
||||
border-bottom-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
|
||||
.icon {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.message {
|
||||
padding: 10px;
|
||||
align-self: center;
|
||||
}
|
||||
}
|
||||
|
||||
.codeSelect {
|
||||
line-break: anywhere;
|
||||
white-space: pre-wrap;
|
||||
background-color: $featureColor;
|
||||
padding: 5px;
|
||||
user-select: all;
|
||||
}
|
||||
|
||||
@@ -1,43 +1,43 @@
|
||||
$navBarSize: 64px;
|
||||
|
||||
@mixin mobile {
|
||||
@media (max-width: 700px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin max-screen($size) {
|
||||
@media (max-width: #{$size}) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin max-container($size) {
|
||||
@container (max-width: #{$size}) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin small-container {
|
||||
@container (max-width: 500px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin medium-container {
|
||||
@container (max-width: 800px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin large-container {
|
||||
@container (max-width: 1000px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin xlarge-container {
|
||||
@container (max-width: 1200px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
$navBarSize: 64px;
|
||||
|
||||
@mixin mobile {
|
||||
@media (max-width: 700px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin max-screen($size) {
|
||||
@media (max-width: #{$size}) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin max-container($size) {
|
||||
@container (max-width: #{$size}) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin small-container {
|
||||
@container (max-width: 500px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin medium-container {
|
||||
@container (max-width: 800px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin large-container {
|
||||
@container (max-width: 1000px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin xlarge-container {
|
||||
@container (max-width: 1200px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,43 +1,43 @@
|
||||
@import "mixins";
|
||||
@import "colors";
|
||||
|
||||
nav {
|
||||
display: grid;
|
||||
grid-template-areas: "Branding" "Nav" "Widgets" "Utils";
|
||||
grid-template-rows: auto 1fr auto auto;
|
||||
background-color: $featureColor;
|
||||
height: 100dvh;
|
||||
position: fixed;
|
||||
width: $navBarSize;
|
||||
box-shadow: 0 0 3px #000;
|
||||
gap: 20px;
|
||||
padding: 20px 0;
|
||||
|
||||
> * {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.branding {
|
||||
grid-area: Branding;
|
||||
|
||||
img {
|
||||
width: $navBarSize;
|
||||
object-fit: contain;
|
||||
}
|
||||
}
|
||||
|
||||
.mainNav {
|
||||
grid-area: Nav;
|
||||
}
|
||||
|
||||
.widgets {
|
||||
grid-area: Widgets;
|
||||
}
|
||||
|
||||
.utils {
|
||||
grid-area: Utils;
|
||||
}
|
||||
}
|
||||
@import "mixins";
|
||||
@import "colors";
|
||||
|
||||
nav {
|
||||
display: grid;
|
||||
grid-template-areas: "Branding" "Nav" "Widgets" "Utils";
|
||||
grid-template-rows: auto 1fr auto auto;
|
||||
background-color: $featureColor;
|
||||
height: 100dvh;
|
||||
position: fixed;
|
||||
width: $navBarSize;
|
||||
box-shadow: 0 0 3px #000;
|
||||
gap: 20px;
|
||||
padding: 20px 0;
|
||||
|
||||
> * {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.branding {
|
||||
grid-area: Branding;
|
||||
|
||||
img {
|
||||
width: $navBarSize;
|
||||
object-fit: contain;
|
||||
}
|
||||
}
|
||||
|
||||
.mainNav {
|
||||
grid-area: Nav;
|
||||
}
|
||||
|
||||
.widgets {
|
||||
grid-area: Widgets;
|
||||
}
|
||||
|
||||
.utils {
|
||||
grid-area: Utils;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user