Commit 54dfc8f4 authored by Jason Fox's avatar Jason Fox
Browse files

Amend layout.

parent 8dfe80ef
Loading
Loading
Loading
Loading
+22 −4
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ body: {
  font-size: 16px;
  color: black;
  display: block;
  white-space: nowrap; /* Prevents text from wrapping */
  white-space: wrap; /* Allows text to wrap */
  overflow: hidden; /* Hides overflow content */
  text-overflow: ellipsis;
}
@@ -67,6 +67,20 @@ body: {

flex-item:has(#TOC) {
  background-color: #3e484f;
  flex: 1.5 !important;
}

@media only screen and (max-width: 992px) {
  flex-item:has(#TOC) {
    flex: 1 !important;
  }
}

@media only screen and (max-width: 600px) {
   flex-item:has(#TOC),
   flex > flex-resizer {
    display: none;
  }
}

flex-item:has(#TOC):after {
@@ -80,12 +94,12 @@ flex-item:has(#TOC):after {
  font-size: 0.9rem;
}


#TOC h1 a {
   color: white;
}
#TOC ul {
  background-color: rgba(200, 200, 200);
  width: 100% 
}

#TOC > ul > li:has(a[href*="intellectual-property-rights.html"]){
@@ -137,6 +151,7 @@ flex-item:has(#TOC):after {
  border-radius: 10px;
  padding-left: 10px;
  padding-right: 10px;
  margin-right: 10px;
}

#TOC li.active > a {
@@ -152,6 +167,8 @@ flex-item:has(#TOC):after {
#editor {
  padding: 0 2rem 2rem 2rem;
  max-width: 1140px;
  margin: 0 auto;
  min-height: 100vh;
}

@media screen and (max-width: 600px) {
@@ -661,6 +678,7 @@ h6 {
  font-family: "Maven Pro";
}
h1 {
  padding-top: 0.7em;
  margin-top: 1.5em;
  padding-bottom: 0.3em;
  font-size: 2em;