Skip to content

Commit

Permalink
styleを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
piny940 committed Jun 30, 2023
1 parent 7625676 commit beb2a65
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions src/styles/globals.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
@import '../../node_modules/bootstrap/scss/bootstrap.scss';
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500&display=swap');

html,
body {
html {
padding: 0;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}

::-webkit-full-page-media,
Expand All @@ -17,14 +15,28 @@ body {
--vh100: 100vh;
min-height: 100vh;
min-height: var(--vh100);
max-width: 100%;
font-family: 'Aria', 'Noto Sans JP', sans-serif;
}
.fw-bold {
font-family: var(--bs-body-font-family);
}
.root {
min-height: var(--vh100);
}
main {
max-width: 1320px;
width: 90%;
margin: auto;
margin-top: 1rem;
}

a {
color: inherit;
text-decoration: none;

&:hover {
color: #0e6dfd;
color: var(--bs-link-color);
}
}

Expand Down Expand Up @@ -65,7 +77,11 @@ $main: rgb(20, 214, 182);
.title-border-main,
h1 {
border-left: 8px solid $main;
border-bottom: 2px solid $main;
padding: 4px 16px;
margin-bottom: 16px !important;
font-weight: 500;
}
[data-bs-theme='dark'] {
--bs-body-color-rgb: 210, 210, 210 !important;
--bs-body-color: #dddddd !important;
}

0 comments on commit beb2a65

Please sign in to comment.