2022-01-24 18:36:50 +01:00
|
|
|
@tailwind base;
|
|
|
|
@tailwind components;
|
|
|
|
@tailwind utilities;
|
|
|
|
|
2022-01-29 14:42:09 +01:00
|
|
|
/* POST BASIC ELEMENTS */
|
2022-01-24 18:36:50 +01:00
|
|
|
|
2022-01-26 14:44:47 +01:00
|
|
|
article .page-content {
|
2022-01-29 14:42:09 +01:00
|
|
|
@apply text-base md:text-lg;
|
2022-01-26 14:44:47 +01:00
|
|
|
}
|
|
|
|
|
2022-01-24 18:36:50 +01:00
|
|
|
/** Pre */
|
|
|
|
|
|
|
|
article pre {
|
2023-06-02 12:39:25 +02:00
|
|
|
@apply p-4 rounded-md my-4 border-l-4 border-aerogramme-gray shadow-lg overflow-auto;
|
2022-01-24 18:36:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/** Tables */
|
|
|
|
|
|
|
|
article table {
|
|
|
|
@apply my-4 min-w-full divide-y divide-gray-200 shadow overflow-hidden border-b border-gray-200 sm:rounded-lg;
|
|
|
|
}
|
|
|
|
|
|
|
|
article table thead {
|
|
|
|
@apply bg-gray-50;
|
|
|
|
}
|
|
|
|
|
|
|
|
article table tbody {
|
|
|
|
@apply bg-white divide-y divide-gray-200;
|
|
|
|
}
|
|
|
|
|
|
|
|
article table thead tr th {
|
|
|
|
@apply px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider;
|
|
|
|
}
|
|
|
|
|
|
|
|
article table tbody tr td {
|
|
|
|
@apply px-6 py-4 whitespace-nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
/** Blockquotes */
|
|
|
|
|
|
|
|
article blockquote {
|
2023-05-23 17:08:08 +02:00
|
|
|
@apply my-2 py-2 pl-4 border-l-4 border-aerogramme-blue;
|
2022-01-24 18:36:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/** Ul */
|
|
|
|
|
|
|
|
article ul {
|
|
|
|
@apply py-4 list-disc ml-4;
|
|
|
|
}
|
|
|
|
|
|
|
|
article ul ul {
|
|
|
|
@apply ml-4 py-0 list-disc;
|
|
|
|
}
|
|
|
|
|
|
|
|
article ul ol {
|
|
|
|
@apply ml-4 py-0 list-decimal;
|
|
|
|
}
|
|
|
|
|
|
|
|
/** Ol */
|
|
|
|
|
|
|
|
article ol {
|
|
|
|
@apply py-4 list-decimal ml-4;
|
|
|
|
}
|
|
|
|
|
|
|
|
article ol ol {
|
|
|
|
@apply ml-4 py-0 list-decimal;
|
|
|
|
}
|
|
|
|
|
|
|
|
article ol ul {
|
|
|
|
@apply ml-4 py-0 list-disc;
|
|
|
|
}
|
|
|
|
|
2022-01-26 14:44:47 +01:00
|
|
|
p > code, p > strong > code, li > code, li > strong > code {
|
2023-05-23 17:08:08 +02:00
|
|
|
@apply bg-gray-100 text-base py-0.5 px-1 rounded font-semibold text-aerogramme-gray shadow-inner;
|
2022-01-24 18:36:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-content > h1 {
|
|
|
|
@apply text-2xl mt-6 mb-4 font-semibold text-gray-800;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-content > h2 {
|
|
|
|
@apply text-xl mt-6 mb-4 font-semibold text-gray-800;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-content > h3 {
|
|
|
|
@apply text-lg mt-6 mb-4 font-semibold text-gray-800;
|
|
|
|
}
|
|
|
|
|
2022-01-27 11:28:21 +01:00
|
|
|
.page-content {
|
2023-05-23 17:08:08 +02:00
|
|
|
@apply text-aerogramme-gray;
|
2022-01-24 18:36:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-content a {
|
2023-06-02 12:39:25 +02:00
|
|
|
@apply font-semibold text-aerogramme-blue border-b border-aerogramme-blue hover:text-blue-500 hover:border-blue-500 transition-all duration-500;
|
2022-01-26 14:44:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-content img {
|
|
|
|
@apply inline-block my-8 shadow rounded;
|
2022-01-24 18:36:50 +01:00
|
|
|
}
|
|
|
|
|
2023-06-06 16:44:11 +02:00
|
|
|
.footnote-definition p {
|
|
|
|
@apply inline-block;
|
|
|
|
}
|
|
|
|
|
2022-01-24 18:36:50 +01:00
|
|
|
.is-active {
|
2023-05-23 17:08:08 +02:00
|
|
|
@apply text-aerogramme-blue;
|
2022-01-24 18:36:50 +01:00
|
|
|
}
|
2022-01-26 14:44:47 +01:00
|
|
|
|
|
|
|
@layer utilities {
|
|
|
|
|
2022-01-29 14:42:09 +01:00
|
|
|
/** Main nav */
|
|
|
|
|
|
|
|
#navMenuToggleBtn {
|
|
|
|
position: absolute;
|
|
|
|
left: -100vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
#navMenuToggleBtn:checked + label {
|
|
|
|
background: white;
|
|
|
|
padding: 0.375rem;
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
|
|
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
|
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
|
|
}
|
|
|
|
|
|
|
|
#navMenuToggleBtn:checked ~ #navMenu {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2023-06-05 15:41:45 +02:00
|
|
|
/** Home mailbox bg */
|
2022-01-28 13:14:24 +01:00
|
|
|
|
2024-01-21 10:49:48 +01:00
|
|
|
#mailbox-container {
|
|
|
|
background-image: url('/images/airmail.jpg');
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: left;
|
|
|
|
background-size: cover;
|
|
|
|
background-attachment: fixed;
|
|
|
|
height: 70vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2023-06-05 15:41:45 +02:00
|
|
|
#mailbox-container {
|
2024-01-11 12:26:45 +01:00
|
|
|
height: 40vh;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#mailbox-container::before {
|
2024-01-11 14:50:36 +01:00
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
width: 800%;
|
|
|
|
height: 800%;
|
|
|
|
top: -50%;
|
|
|
|
left: -400%;
|
|
|
|
z-index: -1;
|
2024-01-21 10:49:48 +01:00
|
|
|
background-image: url('/images/airmail.jpg');
|
2024-01-11 14:50:36 +01:00
|
|
|
background-repeat: repeat;
|
|
|
|
background-attachment: fixed;
|
|
|
|
background-size: 500px;
|
|
|
|
transform: rotate(-30deg);
|
2022-01-28 13:14:24 +01:00
|
|
|
}
|
2024-01-21 10:49:48 +01:00
|
|
|
*/
|
2022-01-28 13:14:24 +01:00
|
|
|
|
2022-01-30 11:25:02 +01:00
|
|
|
@media screen and (max-width: 1280px) {
|
2023-06-05 15:41:45 +02:00
|
|
|
#mailbox-container {
|
2022-01-30 11:25:02 +01:00
|
|
|
background-position: center;
|
|
|
|
background-attachment: scroll;
|
|
|
|
height: 50vh;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-29 14:42:09 +01:00
|
|
|
@media screen and (max-width: 768px) {
|
2023-06-05 15:41:45 +02:00
|
|
|
#mailbox-container {
|
2022-01-30 11:25:02 +01:00
|
|
|
background-position: 25% 50%;
|
2022-01-29 14:42:09 +01:00
|
|
|
background-size: auto;
|
|
|
|
background-attachment: scroll;
|
2022-01-30 11:25:02 +01:00
|
|
|
height: 42vh;
|
2022-01-29 14:42:09 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/** Documentation */
|
2022-01-26 14:44:47 +01:00
|
|
|
#global_toc .deploySubMenu {
|
|
|
|
position: absolute;
|
|
|
|
left: -100vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
#global_toc .deploySubMenu:checked ~ .subMenu {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#global_toc .deploySubMenu:checked + label .arrow {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
|
2022-01-29 14:42:09 +01:00
|
|
|
#documentation-section .page-content {
|
|
|
|
line-height: 1.9rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#documentation-section .page-content p + p {
|
|
|
|
margin-top: 1.15rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#documentation-section .page-content h1,
|
|
|
|
#documentation-section .page-content h2,
|
|
|
|
#documentation-section .page-content h3 {
|
|
|
|
margin-top: 2.85rem;
|
|
|
|
}
|
|
|
|
#documentation-section .page-content h4,
|
|
|
|
#documentation-section .page-content h5,
|
|
|
|
#documentation-section .page-content h6 {
|
|
|
|
margin-top: 2rem;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
#documentation-section .page-content ul {
|
|
|
|
list-style-type: "➡";
|
|
|
|
padding-left: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#documentation-section .page-content ol {
|
|
|
|
padding-left: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#documentation-section .page-content ul li,
|
|
|
|
#documentation-section .page-content ol li {
|
|
|
|
padding-left: 0.95rem;
|
|
|
|
}
|
|
|
|
#documentation-section .page-content ul li ul,
|
|
|
|
#documentation-section .page-content ul li ol,
|
|
|
|
#documentation-section .page-content ol li ul,
|
|
|
|
#documentation-section .page-content ol li ol {
|
|
|
|
padding-left: 0rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#documentation-section .page-content ul li ul,
|
|
|
|
#documentation-section .page-content ol li ul {
|
|
|
|
list-style-type: "➜";
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
#documentation-section .page-content p {
|
|
|
|
font-size: 0.95rem;
|
|
|
|
}
|
|
|
|
#documentation-section .page-content p + p {
|
|
|
|
margin-top: 0.75rem;
|
|
|
|
}
|
|
|
|
#documentation-section .page-content code {
|
|
|
|
font-size: 0.9rem;
|
|
|
|
}
|
|
|
|
#documentation-section .page-content pre {
|
|
|
|
overflow-x: scroll;
|
|
|
|
font-size: 0.95rem;
|
|
|
|
}
|
|
|
|
#documentation-section .page-content ul {
|
|
|
|
padding-left: 0.25rem;
|
|
|
|
}
|
|
|
|
#documentation-section .page-content ul li {
|
|
|
|
font-size: 0.95rem;
|
|
|
|
padding-left: 0.75rem;
|
|
|
|
}
|
|
|
|
#documentation-section .page-content ul li a {
|
|
|
|
font-size: 0.95rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/** Blog */
|
|
|
|
|
|
|
|
#blogpost-section .page-content p + p,
|
|
|
|
#blogpost-section .page-content p + #continue-reading + p {
|
|
|
|
margin-top: 2rem;
|
|
|
|
}
|
|
|
|
#blogpost-section .page-content #continue-reading {
|
|
|
|
margin: 2rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#blogpost-section .page-content ul {
|
|
|
|
list-style-type: "➡";
|
|
|
|
padding-left: 1.25rem;
|
|
|
|
margin: 2rem 0;
|
|
|
|
}
|
|
|
|
|
2022-02-01 17:23:44 +01:00
|
|
|
#blogpost-section .page-content hr {
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
border-radius: 50%;
|
|
|
|
background: #FF9329;
|
|
|
|
margin: 35px auto;
|
|
|
|
}
|
|
|
|
|
2022-01-29 14:42:09 +01:00
|
|
|
#blogpost-section .page-content ul li {
|
|
|
|
padding-left: 0.95rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#blogpost-section img {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 2.75rem 0;
|
|
|
|
}
|
|
|
|
|
2023-05-23 17:08:08 +02:00
|
|
|
}
|