Commit 2a36b09e authored by Timothée Poisot's avatar Timothée Poisot Committed by Raniere Silva
Browse files

Blockquote margins

parent e56d7703
Loading
Loading
Loading
Loading
+29 −1
Original line number Diff line number Diff line
@@ -56,10 +56,21 @@ h1.title {
    margin:40px 0px;
}

h1, h2 {
    margin-top: 40px;
    margin-bottom: 10px;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: inherit;
}

/* Chapter titles. */
div.chapter h2 {
    text-align: center;
    font-style: italic;
}

/* Objectives and key points */
.objectives, .keypoints {
    background-color: azure;
@@ -72,6 +83,13 @@ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    background-color: lightgray;
}

/* Putting shadows around things. */
.shadow {
    -moz-box-shadow: 0 0 30px 5px #999;
    -webkit-box-shadow: 0 0 30px 5px #999;
    box-shadow: 0 0 30px 5px #999;
}

/* Things to understand (lead-in to sections in book). */
.understand {
    background-color: lightyellow;
@@ -80,10 +98,15 @@ h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
/* Block quotations. */
blockquote {
    margin: 1em;
    padding: 1em 1em .5em 1em;
    padding: .7em;
    width: 90%;
}

/* Citation for testimonial quote. */
blockquote.testimonial cite {
    font-style: italic;
}

/* Tables used for displaying choices in challenges. */
table.choices tr td {
    vertical-align : top;
@@ -150,6 +173,11 @@ blockquote p {
    font-weight: inherit;
    line-height: inherit;
}

blockquote h2{
   margin-top: 0px;
}

/* readability: darken the alert colour for contrast with background */

.alert {