Browse Source

fix: removed unused rules from bootstrap

master
manvan 7 months ago
parent
commit
24f24fdbe4
Signed by untrusted user: manvan GPG Key ID: 2A4B96F4AA58F238
  1. 7
      builder/templates/index.html
  2. 127
      static/bootstrap.css

7
builder/templates/index.html

@ -3,12 +3,7 @@
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="main.css" type="text/css" />
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous"
/>
<link href="./static/bootstrap.css" rel="stylesheet"/>
<title>{{ config.name }}</title>
<meta name="viewport" content="width=device-width, initial-scale=0.6" />
<link rel="icon" type="image/x-icon" href="{{ config.favicon }}" />

127
static/bootstrap.css

@ -0,0 +1,127 @@
:root {
--bs-blue: #0d6efd;
--bs-indigo: #6610f2;
--bs-purple: #6f42c1;
--bs-pink: #d63384;
--bs-red: #dc3545;
--bs-orange: #fd7e14;
--bs-yellow: #ffc107;
--bs-green: #198754;
--bs-teal: #20c997;
--bs-cyan: #0dcaf0;
--bs-white: #fff;
--bs-gray: #6c757d;
--bs-gray-dark: #343a40;
--bs-gray-100: #f8f9fa;
--bs-gray-200: #e9ecef;
--bs-gray-300: #dee2e6;
--bs-gray-400: #ced4da;
--bs-gray-500: #adb5bd;
--bs-gray-600: #6c757d;
--bs-gray-700: #495057;
--bs-gray-800: #343a40;
--bs-gray-900: #212529;
--bs-primary: #0d6efd;
--bs-secondary: #6c757d;
--bs-success: #198754;
--bs-info: #0dcaf0;
--bs-warning: #ffc107;
--bs-danger: #dc3545;
--bs-light: #f8f9fa;
--bs-dark: #212529;
--bs-primary-rgb: 13,110,253;
--bs-secondary-rgb: 108,117,125;
--bs-success-rgb: 25,135,84;
--bs-info-rgb: 13,202,240;
--bs-warning-rgb: 255,193,7;
--bs-danger-rgb: 220,53,69;
--bs-light-rgb: 248,249,250;
--bs-dark-rgb: 33,37,41;
--bs-white-rgb: 255,255,255;
--bs-black-rgb: 0,0,0;
--bs-body-color-rgb: 33,37,41;
--bs-body-bg-rgb: 255,255,255;
--bs-font-sans-serif: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
--bs-font-monospace: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
--bs-body-font-family: var(--bs-font-sans-serif);
--bs-body-font-size: 1rem;
--bs-body-font-weight: 400;
--bs-body-line-height: 1.5;
--bs-body-color: #212529;
--bs-body-bg: #fff
}*,::after,::before {
box-sizing: border-box
}:root {
scroll-behavior: smooth
}body {
margin: 0;
font-family: var(--bs-body-font-family);
font-size: var(--bs-body-font-size);
font-weight: var(--bs-body-font-weight);
line-height: var(--bs-body-line-height);
color: var(--bs-body-color);
text-align: var(--bs-body-text-align);
background-color: var(--bs-body-bg);
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: transparent
}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 {
margin-top: 0;
margin-bottom: .5rem;
font-weight: 500;
line-height: 1.2
}.h1,h1 {
font-size: calc(1.375rem + 1.5vw)
}.h3,h3 {
font-size: calc(1.3rem + .6vw)
}a {
color: #0d6efd;
text-decoration: underline
}img,svg {
vertical-align: middle
}.container,.container-fluid,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl {
width: 100%;
padding-right: var(--bs-gutter-x,.75rem);
padding-left: var(--bs-gutter-x,.75rem);
margin-right: auto;
margin-left: auto
}.nav-link {
display: block;
padding: .5rem 1rem;
color: #0d6efd;
text-decoration: none;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out
}.navbar {
position: relative;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
padding-top: .5rem;
padding-bottom: .5rem
}.sticky-top {
position: -webkit-sticky;
position: sticky;
top: 0;
z-index: 1020
}.border-bottom {
border-bottom: 1px solid #dee2e6!important
}.p-3 {
padding: 1rem!important
}.px-5 {
padding-right: 3rem!important;
padding-left: 3rem!important
}.py-5 {
padding-top: 3rem!important;
padding-bottom: 3rem!important
}.pb-2 {
padding-bottom: .5rem!important
}.text-center {
text-align: center!important
}.text-dark {
--bs-text-opacity: 1;
color: rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important
}.bg-light {
--bs-bg-opacity: 1;
background-color: rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important
}
Loading…
Cancel
Save