Skip to content

Commit

Permalink
fix depreciations
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarlevin committed May 9, 2022
1 parent 48a9729 commit 22c7d9e
Show file tree
Hide file tree
Showing 30 changed files with 15,427 additions and 15,290 deletions.
200 changes: 200 additions & 0 deletions assets/custom-styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
:root {
--documenttitle: #395E66;
--bodytitle: #A62E1C;
--bodysubtitle: #2B5F82;
--bodytitlehighlight: #e0e9ff;
--bodysubtitlehighlight: #FCE5E4;

--chaptertoc: #395E66;
--chaptertoctext: white;
--chaptertocactive: hsl(175, 100%, 31%);
--chaptertoctextactive: white;
--sectiontoc: #f0f0f0;
--sectiontoctext: #395E66;
--sectiontocactive: var(--chaptertocactive);
--sectiontoctextactive: var(--chaptertoctextactive);
--tocborder: #1f4283;

--highlighttoc: #223843;
--highlighttoctext: white;
--highlighttocborder: white;

--assemblageborder: #bfd5ec;
--assemblagebackground: #e9eff5;

--knowlborder: #e0e9ff;
--knowlbackground: #f5f8ff;



--primaryrich: hsl(191, 28%, 31%);
}


.pretext-content .assemblage-like {
border-radius: 3px;
margin-bottom: 1em;
}

.pretext-content .assemblage-like .heading{
margin-top: -1.25em;
background-color: #bfd5ec;
display: table;
padding: 5px 10px;
}

.pretext-content .assemblage-like .MJXc-display {
background-image: none;
background-image: linear-gradient(to right, #e9eff5, #e9eff5), linear-gradient(to right, #e9eff5, #e9eff5), linear-gradient(to right, rgba(0,0,0,.25), rgba(242,242,254,0)), linear-gradient(to left, rgba(0,0,0,.25), rgba(242,242,254,0));
}

/* Remove Greg-L on assemblage and everything else */
.pretext-content article.theorem-like::after, .pretext-content article.definition-like::after, .pretext-content article.example-like::after, .pretext-content article.project-like::after, .pretext-content article.objectives::after, .pretext-content article.outcomes::after, .pretext-content article.remark-like::after {
border-bottom: none !important;
}

article[id*='investigation'], .project-like {
background-color: white;
border: solid 3px #395E66 !important;
border-radius: 10px;
padding: 10px;
margin-bottom: 1em;
}

article[id*='investigation'] .heading, .project-like .heading {
margin-top: -1.25em !important;
background-color: white;
display: table !important;
padding: 5px 1em;
margin-left: 5px;
font-style: italic;
font-size: 120% !important;
}

article[id*='investigation'] .codenumber, .project-like .codenumber {
display:none !important;
}

article[id*='investigation'] .heading::after, .project-like .heading::after {
display:none !important;
}

article[id*='example'] {
border-left: solid 1pt #395E66 !important;
border-bottom: solid 1pt #d1d1d1;
padding-left: 1ex !important;
padding-bottom: 0.5ex !important;
/* margin-left: 1ex; */
}

.posterior {
margin-left: 1ex;
padding-left: 1ex;
margin-top: -1.25em !important;
padding-top: 1ex;
border-left: solid 1pt gray;
}

/*separate proof environment in example solutions:*/
/* article .remark-like .proof {
margin-top: 1em;
padding-left: 1ex;
} */

article.proof {
padding-top: 1ex !important;
padding-left: 1em !important;
padding-right: 1em !important;
border-right: none !important;
}

/*change qed symbol:*/
.pretext-content .proof:after{
content: "qed";
font-variant: small-caps;
font-size: 1.1em;
margin-right: 0em !important;
border-bottom: none !important;
margin-top: -1em !important;
}

/* article.example-like:after {
border-bottom: none !important;
} */

article.theorem-like {
/* border-left: solid 1pt #d1d1d1 !important; */
/* border-right: solid 1pt #d1d1d1 !important; */
/* background-color: #f0f0f0; */
}

article.theorem-like:after {
/* border-bottom: none !important; */
}

/*style toc */
/*#toc ul li a, #toc ul li a:link, #toc ul li a:visited {
color: #20477b;
background: #e2e6e8;
}*/

pretext-content .summary-links a, .pretext-content .summary-links a:link, .pretext-content .summary-links a:visited {
color: #395E66;
background: #f0f0f0;
text-decoration: none;
cursor: pointer;
}



.pretext-content .summary-links a:hover, .pretext-content .summary-links a:focus {
color: white;
background: #223843;
text-decoration: none;
}


#masthead #logo-link img, #masthead .logo-link img {
width: auto;
height: auto;
max-height: 1.2em;
}

/* #masthead #title-container > .heading, #masthead .title-container > .heading, #masthead .title-container > .heading a:link, #masthead .title-container > .heading a:visited {
color: #395E66 !important;
} */

/* #toc ul li a, #toc ul li a:link, #toc ul li a:visited {
color: #395E66;
} */

/* #toc h2 a, #toc h2 a:link, #toc h2 a:visited {
color: white;
background: #395E66;
} */

/* #toc ul li a.active, #toc ul li a:active, #toc h2 a:active {
color: white;
background: #00A092;
} */

/*#toc h2.link.active a {
background: #1a4e94;
}*/

/* #toc h2 a:hover, #toc ul li a:hover {
color: white;
background: #223843;
border-color: #223843;
} */

/* style case headings
.pretext-content .case > .heading{
display: inline;
text-decoration: underline;
font-weight: normal;
}
.pretext-content .case > .heading + p {
display: inline;
} */
Loading

0 comments on commit 22c7d9e

Please sign in to comment.