Nice Layout

Lorem Ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.






          ###
          ###  YAML HEADER FOR PAGE
          ###  
          ###  ---
          ###  layout: nice-text
          ###  title: 'Nice Layout'
          ###  ---
          ###


          ### 
          ###  CREATE A DIV FOR PRETTY-TEXT
          ###
          ###  div limits formatting only to
          ###  text between the div tags
          ###

               <div class="pretty-text">

                 <h1>  {{ page.title }}  </h1>

                          {{ content }}

               </div>


          ###
          ###  ADD THESE ELEMENTS TO CSS STYLE SHEET
          ###
          ###  CSS RULES:
          ###
          ###  body {...}  applies to everything in body
          ###  body p {...}  only paragraphs in body
          ###  
          ###  .pretty-text {...} references a class
          ###  <div class="pretty-text">
          ###
          ###  #ryan {...} references an id
          ###  <div id="ryan">
          ###



               <style>

               .pretty-text {
                  margin-top: 100px;
                  margin-bottom: 100px;
                  padding-left: 30px;
                  padding-right: 30px;
                  text-align: justify;
               }

               .pretty-text p {
                   line-height: 1.8
               }

               .pretty-text h1 {
                   color: darkred;
                   font-size: 40px;
                }

               .pretty-text h2 {
                   color: darkred;
                   font-size: 30px;
                   margin-top: 60px;
                }

                .pretty-text img {
                   border: 1px solid #ddd;
                   border-radius: 8px;
                   padding: 5px;
                   width: 400px;
                   display: block;
                   margin-left: auto;
                   margin-right: auto;
                   width: 50%;
                   box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 
                               0 6px 20px 0 rgba(0, 0, 0, 0.19);
                }

                .pretty-text img:hover {
                   box-shadow: 0 0 3px 1px rgba(0, 140, 186, 0.5);
                }

                </style>