div.theorem,
div.lemma,
div.proposition,
div.definition,
div.exercise,
div.example,
div.hypothesis,
div.corollary,
div.remark,
div.notation,
div.note,
div.problem,
div.question,
div.answer,
div.criterion,
div.summary,
div.blackbox
{
    margin: 1em 1em 1em 1em;
    padding: 10px;
    text-align: left;
    border-style: solid;
    border-width: 2px;
    border-color: #ccc;      
}

@media (max-width: 600px) {
  div.theorem,
  div.lemma,
  div.proposition,
  div.definition,
  div.exercise,
  div.example,
  div.hypothesis,
  div.corollary,
  div.remark,
  div.notation,
  div.note,
  div.problem,
  div.question,
  div.answer,
  div.criterion,
  div.summary,
  div.answer,
  div.criterion,
  div.summary,
  div.blackbox {
    margin: 0em 0em 0em 0em;
    padding: 0;
    border: none;
  }
}

.my-links-container {
    position: absolute;
    top: 0;
    right: 0;
    padding-right: 20px;
    padding-top: 10px;
}
.my-link {
    margin-left: 10px;
}

.theorem-header {
    font-size: 1.0em;
    line-height: 1.5;
}

html {
    line-height: 1.5;
    font-family: Georgia, serif;
    font-size: 20px;
    color: #1a1a1a;
    background-color: #fdfdfd;
}


    /* margin: 5px 5px 5px 5px; */

/* Displays wider than the column scroll instead of spilling over it.
   Numbered displays keep MathJax's inline min-width, so their tags
   stay visible (in the margin) rather than scrolled out of view. */
mjx-container[display="true"] {
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
}

/* Stable tags (tags.tsv, scripts/make-tags.py): small and grey, on the
   top border of a result's box, and at the right of a heading. */
a.stable-tag {
    font-family: Menlo, Consolas, monospace;
    font-size: 0.6rem;
    font-weight: normal;
    color: #999;
    text-decoration: none;
    white-space: nowrap;
}
a.stable-tag:hover {
    color: #555;
    text-decoration: underline;
}
h1 > a.stable-tag, h2 > a.stable-tag, h3 > a.stable-tag {
    float: right;
    margin-left: 1em;
    line-height: inherit;
}
div.theorem, div.lemma, div.proposition, div.definition, div.problem {
    position: relative;
}
div > a.stable-tag:first-child {
    position: absolute;
    top: -0.55rem;
    right: 0.8em;
    padding: 0 0.3em;
    background-color: #fdfdfd;
    line-height: 1;
}
table.tags {
    border-collapse: collapse;
}
table.tags td, table.tags th {
    padding: 0.15em 0.6em;
    text-align: left;
    vertical-align: top;
}
table.tags tr.chapter td {
    border-top: 1px solid #ccc;
    padding-top: 0.6em;
}
table.tags td:first-child, table.tags td:nth-child(2) {
    font-family: Menlo, Consolas, monospace;
    white-space: nowrap;
}
