#barre_nav{ background: black; height: 56px; /*padding-top: 5px;*/ vertical-align: center; } #titre{ font-family: "Lucida Console", Courier, monospace; text-shadow: white 0 -1px; } #navbarSupportedContent{ margin: 8px; } .nav-item:hover{ background-color: orange; border-radius: 10px; width: 70%; } #image_ballon{ margin-bottom: 5px; } body{ background-color: #303030; overflow-x: scroll; overflow-y: scroll; } .collapse.width, .collapsing.width { max-width: 0; min-width: 0; width: 0; transition: all .2s ease; } .collapse .flex-column { overflow: auto; flex-wrap: nowrap; /* Optional, if you don't want the links to form columns if they overflow */ } .collapse .flex-column li { width: 100%; } .feather { width: 16px; height: 16px; vertical-align: text-bottom; } .sidebar { width: 20%; margin-top: 56px; position: fixed; top: 0; bottom: 0; right: 0; z-index: 100; /* Behind the navbar */ padding: 48px 0 0; /* Height of navbar */ box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1); background-color: #b9b7b7; } @media (max-width: 767.98px) { .sidebar { top: 5rem; } } .sidebar-sticky { position: relative; top: 0; height: calc(100vh - 48px); padding-top: .5rem; overflow-x: hidden; overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */ } @supports ((position: -webkit-sticky) or (position: sticky)) { .sidebar-sticky { position: -webkit-sticky; position: sticky; } } .sidebar .nav-link { font-weight: 500; color: #333; } .sidebar .nav-link .feather { margin-right: 4px; color: #999; } .sidebar .nav-link.active { color: #007bff; } .sidebar .nav-link:hover .feather, .sidebar .nav-link.active .feather { color: inherit; } .sidebar-heading { font-size: .75rem; text-transform: uppercase; } #list-home-list{ height: 50px; width: 49%; } #ul{ padding-left: 15px; padding-right: 15px; } #list-home-list{ padding-right:10px; width: 99% } #bouton{ margin-left: 15px; } #arbre{ height: 150px; width: 80%; } #sidebarMenu{ min-width: 50px; } #terrain{ margin-top: 2%; margin-left: 5%; width: 75%; height: auto; } #demiTerrainDroit{ margin-top: 2%; margin-left: 20%; width: 75%; height: auto; } #demiTerrainGauche{ margin-top: 2%; margin-left: 20%; width: 75%; height: auto; /*transform: rotate(90deg);*/ } .boutons { margin-top: 1%; } #bouttonadd: hover { background-color : "red"; border-color: "yellow"; } #bouttonadd:active{ box-shadow: 1px 1px 10px black inset, 0 1px 0 rgba( 255, 255, 255, 0.4); }