Browse Source

もうコンパクトにした方がいいかもしん

master
parent
commit
fa3d67bdc2
  1. 2
      src/conponent/_contents.scss
  2. 83
      src/conponent/_navbar.scss

2
src/conponent/_contents.scss

@ -4,7 +4,7 @@
text-align: center;
color: $white1;
padding: 5px;
font-size: 20px;
font-size: 16px;
border-bottom: solid 2px $suwa03;
cursor: pointer;
transition: background 0.3s, color 0.3s;

83
src/conponent/_navbar.scss

@ -17,30 +17,12 @@
align-items: center;
justify-content: space-between;
}
.navbar-toggler {
border: 0px solid transparent;
padding: 0.25rem 0.75rem;
font-size: 1.25rem;
line-height: 1;
background-color: transparent;
border-radius: 0.25rem;
}
.navbar-toggler:hover, .navbar-toggler:focus { text-decoration: none; }
.navbar-brand {
display: inline-block;
padding-top: 0.3125rem;
padding-bottom: 0.3125rem;
margin-right: 1rem;
font-size: 1.25rem;
line-height: inherit;
white-space: nowrap;
padding: 5px;
}
.navbar-brand, .nav-item {
transition: background 0.3s;
border-radius: 2px;
cursor: pointer;
padding-left: 5px;
}
.navbar-brand:hover, .nav-item:hover {
background-color: $suwa07;
@ -48,7 +30,7 @@
}
.sidemenu { border: 2px solid $suwa03; box-shadow: 0 0 7px 3px $suwa04; }
.nav-pills .nav-link { border-radius: 0px; }
.nav-pills .nav-link { border-radius: 0px; font-size: 14px; }
.dropdown { position: relative; }
.mr-auto { margin-right: auto !important; }
@ -76,6 +58,7 @@
padding-left: 0;
margin-bottom: 0;
list-style: none;
font-size: 14px;
}
.navbar-nav .nav-link {
@ -94,48 +77,24 @@
align-items: center;
}
.navbar-toggler-icon {
display: inline-block;
width: 1.5em;
height: 1.5em;
vertical-align: middle;
content: "";
background: no-repeat center center;
background-size: 100% 100%;
.navbar-expand {
flex-flow: row nowrap;
justify-content: flex-start;
}
@media (max-width: 767.98px) {
.navbar-expand > .container,
.navbar-expand > .container-fluid, .navbar-expand > .container-sm, .navbar-expand > .container-md, .navbar-expand > .container-lg, .navbar-expand > .container-xl {
padding-right: 0;
padding-left: 0;
}
.navbar-expand .navbar-nav {
flex-direction: row;
}
@media (min-width: 768px) {
.navbar-expand {
flex-flow: row nowrap;
justify-content: flex-start;
}
.navbar-expand .navbar-nav {
flex-direction: row;
}
.navbar-expand .navbar-nav .dropdown-menu {
position: absolute;
}
.navbar-expand .navbar-nav .nav-link {
padding-right: 0.5rem;
padding-left: 0.5rem;
}
.navbar-expand > .container,
.navbar-expand > .container-fluid, .navbar-expand > .container-sm, .navbar-expand > .container-md, .navbar-expand > .container-lg, .navbar-expand > .container-xl {
flex-wrap: nowrap;
}
.navbar-expand .navbar-collapse {
display: flex !important;
flex-basis: auto;
}
.navbar-expand .navbar-toggler {
display: none;
}
.navbar-expand .navbar-nav .dropdown-menu {
position: absolute;
}
.navbar-expand .navbar-nav .nav-link {
padding-right: 0.5rem;
padding-left: 0.5rem;
}
.navbar-expand > .container, .navbar-expand > .container-fluid {
flex-wrap: nowrap;
}
.navbar-expand .navbar-collapse {
display: flex !important;
flex-basis: auto;
}
Loading…
Cancel
Save