Skip to content

Commit

Permalink
blockquotes
Browse files Browse the repository at this point in the history
  • Loading branch information
acburst committed Nov 25, 2014
1 parent 738d447 commit 95170fa
Show file tree
Hide file tree
Showing 5 changed files with 382 additions and 1 deletion.
19 changes: 19 additions & 0 deletions components.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
<div style="height: 1px;">
<ul class="section table-of-contents">
<li><a href="#headers">Headers</a></li>
<li><a href="#blockquote">Blockquote</a></li>
<li><a href="#flow">Flow Text</a></li>
</ul>
</div>
Expand Down Expand Up @@ -98,6 +99,24 @@ <h6>Heading h6</h6>
</div>
</div>

<div id="blockquote" class="section scrollspy">
<h4>Blockquotes</h4>
<p>
Blockquotes are mainly used to give emphasis to a quote or citation. You can also use these for some extra text hierarchy and emphasis.
</p>
<blockquote>
This is an example quotation that uses the blockquote tag.
<br>Here is another line to make it look bigger.
</blockquote>
<div class="row">
<pre><code class="language-markup col s12">
&lt;blockquote>
This is an example quotation that uses the blockquote tag.
&lt;/blockquote>
</code></pre>
</div>
</div>

<div id="flow" class="section scrollspy">
<h4>Flow Text</h4>
<p>
Expand Down
12 changes: 11 additions & 1 deletion css/ghpages-materialize.css
Original file line number Diff line number Diff line change
Expand Up @@ -2532,6 +2532,10 @@ a {
text-decoration: none;
}

p {
color: #555;
}

.no-select, input[type=range], input[type=range] + .thumb {
-webkit-touch-callout: none;
-webkit-user-select: none;
Expand Down Expand Up @@ -2593,6 +2597,12 @@ li {
box-shadow: 0 27px 24px 0 rgba(0, 0, 0, 0.2), 0 40px 77px 0 rgba(0, 0, 0, 0.22);
}

blockquote {
margin: 20px 0;
padding-left: 1.5rem;
border-left: 5px solid #EF9A9A;
}

.parallax-container {
position: relative;
overflow: hidden;
Expand Down Expand Up @@ -7155,7 +7165,7 @@ textarea {
/* Checked styles */
[type="radio"]:checked + label:before {
border-radius: 50%;
border: 2px solid #5a5a5a;
border: 2px solid transparent;
}

[type="radio"]:checked + label:after {
Expand Down
19 changes: 19 additions & 0 deletions jade/components/components_content.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<div style="height: 1px;">
<ul class="section table-of-contents">
<li><a href="#headers">Headers</a></li>
<li><a href="#blockquote">Blockquote</a></li>
<li><a href="#flow">Flow Text</a></li>
</ul>
</div>
Expand Down Expand Up @@ -52,6 +53,24 @@ <h6>Heading h6</h6>
</div>
</div>

<div id="blockquote" class="section scrollspy">
<h4>Blockquotes</h4>
<p>
Blockquotes are mainly used to give emphasis to a quote or citation. You can also use these for some extra text hierarchy and emphasis.
</p>
<blockquote>
This is an example quotation that uses the blockquote tag.
<br>Here is another line to make it look bigger.
</blockquote>
<div class="row">
<pre><code class="language-markup col s12">
&lt;blockquote>
This is an example quotation that uses the blockquote tag.
&lt;/blockquote>
</code></pre>
</div>
</div>

<div id="flow" class="section scrollspy">
<h4>Flow Text</h4>
<p>
Expand Down
13 changes: 13 additions & 0 deletions sass/components/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ a {
color: color("blue", "darken-1");
text-decoration: none;
}
p {
color: #555;
}


// No Text Select
Expand Down Expand Up @@ -89,6 +92,16 @@ $num-cols: 12;



// Blockquote

blockquote {
margin: 20px 0;
padding-left: 1.5rem;
border-left: 5px solid color("red", "lighten-3");
}



// parallax
.parallax-container {
position: relative;
Expand Down
Loading

0 comments on commit 95170fa

Please sign in to comment.