Advertisement
Kawaii-Lau

SeaLoveLesson

Dec 20th, 2019
740
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 6.96 KB | None | 0 0
  1. <style>
  2.     /*
  3.  
  4. Hello!
  5. Thank you for using my code!
  6.  
  7. Rules to Follow:
  8.  
  9. ◈ Do not EVER delete or remove the credits of the coder or claim this code as your own.
  10. ◈ Do not redistribute this code, no matter how much you edited it!
  11. ◈ If you like to share this code, send to your friends the link of my blog, kawaii-lau.tumblr.com , and support me!
  12. ◈ If you need any help in fixing codes, contact me on Discord (Kawaii-lau#6316). Major changes in code is not accepted.
  13.  
  14. If you like a custom code, check out my blog to see if commissions are open!
  15.  
  16.  
  17. xoxo, Kawaii-lau
  18.  
  19. */
  20.  
  21.     /* ---- MAIN CONTENT CSS ---- */
  22.     .background {
  23.         background-color: #CCE4FF;
  24.         padding: 15px
  25.     }
  26.  
  27.     .main-box {
  28.         background: rgba(255, 255, 255, 0);
  29.         box-shadow: 1px 1px 25px rgba(50, 50, 50, 0.1), 1px -1px 25px rgba(50, 50, 50, 0.1), -1px -1px 25px rgba(50, 50, 50, 0.1), -1px 1px 25px rgba(50, 50, 50, 0.1);
  30.         color: rgb(80, 80, 80);
  31.         font-family: 'Source Sans Pro';
  32.         font-size: 18px
  33.     }
  34.  
  35.     .credits {
  36.  
  37.         text-align: center;
  38.         font-family: courier;
  39.         font-size: 14px;
  40.         color: rgb(100, 100, 100);
  41.         font-weight: bold;
  42.  
  43.     }
  44.  
  45.     .credits a {
  46.         text-decoration: none;
  47.         color: white;
  48.         transition: 0.5s
  49.     }
  50.  
  51.     .credits a:hover {
  52.         color: #8097D6
  53.     }
  54.  
  55.     /* --- HEADER --- */
  56.     .header {
  57.  
  58.         background: url(https://thumbs.gfycat.com/CloudyCloseAustraliankestrel-small.gif);
  59.     }
  60.  
  61. .header-fade {
  62.         background: linear-gradient(to bottom, rgb(5, 5, 5, 0.2), #CCE4FF);
  63.         height: 100%
  64.     }
  65.  
  66.     .header-css {
  67.         padding: 1px;
  68.         text-align: center;
  69.         color: #F8F9C5
  70.     }
  71.  
  72.     .subject {
  73.         font-family: 'Merienda One';
  74.         font-size: 45px;
  75.         letter-spacing: 5px;
  76.         margin: 10px 0px 0px 0px
  77.     }
  78.  
  79.     .title {
  80.         margin: 0px 0px 0px 0px
  81.     }
  82.  
  83.     .yearweek {
  84.         color: rgb(80, 80, 80);
  85.         font-size: 14px;
  86.         letter-spacing: 5px;
  87.         font-weight: bold
  88.     }
  89.  
  90.     /* --- LESSON CONTENT CSS --- */
  91.  
  92.     .content {
  93.  
  94.         border: 2px solid #E5E1A5;
  95.     }
  96.  
  97.     .content-light {
  98.         background: #ECE8AF
  99.     }
  100.  
  101.  
  102.     ::selection {
  103.         background: rgba(149, 193, 220, 0.7)
  104.     }
  105.  
  106.     /* ----------- DO NOT TOUCH THIS CSS BEYOND THIS LINE (or else it will break) -------------- */
  107.  
  108.     .background {
  109.         background: inherit center fixed
  110.     }
  111.  
  112.     .main-box {
  113.         max-width: 600px;
  114.         padding: 0px 0px 20px;
  115.         margin-left: auto;
  116.         margin-right: auto;
  117.     }
  118.  
  119.     .credits {
  120.         max-width: 600px;
  121.         margin-left: auto;
  122.         margin-right: auto;
  123.         margin-bottom: 5px
  124.     }
  125.  
  126.     .header {
  127.         width: 100%;
  128.         height: 200px;
  129.         background-size: 100%
  130.     }
  131.  
  132.    
  133.  
  134.     .content {
  135.         width: 85%;
  136.         margin: 20px auto 0px auto;
  137.         padding: 30px 25px
  138.     }
  139.  
  140.     img {
  141.         display: block;
  142.         margin-left: auto;
  143.         margin-right: auto
  144.     }
  145.  
  146.     h1,
  147.     h2,
  148.     h3 {
  149.         text-align: center;
  150.         margin: 0px
  151.     }
  152.  
  153.     /* MOBILE CSS */
  154.     @media screen and (max-width: 580px) {
  155.  
  156.         .content {
  157.             width: 70%
  158.         }
  159.  
  160.         .header {
  161.             height: 50%
  162.         }
  163.  
  164.     }
  165. </style>
  166. <link href='https://fonts.googleapis.com/css?family=Source Sans Pro|Merienda One' rel='stylesheet'>
  167.  
  168. <body>
  169.     <div class="background">
  170.         <div class="credits">&copy; Coding by <a href="https://kawaii-lau.tumblr.com/" target="_blank">Kawaii-Lau</a></div>
  171.         <div class="main-box">
  172.             <div class="header">
  173.                 <div class="header-fade">
  174.                     <div class="header-css">
  175.                         <h1 class="subject">Subject Title</h1>
  176.                         <h2 class="title">Title of the lesson </h2>
  177.                         <br><br>
  178.                         <p class="yearweek">Year No., Week No.</p>
  179.                     </div>
  180.                 </div>
  181.             </div>
  182.             <div class="content" style="text-indent:15px;text-align:justify;">
  183.  
  184.                 <img src="https://i.pinimg.com/564x/01/99/15/0199153300f12ecca089c9995c3b9223.jpg" alt="lesson-image" style="width:70%;" />
  185.                 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Cursus eget nunc scelerisque viverra mauris in aliquam. Dictum non consectetur a erat. Faucibus a pellentesque sit amet porttitor eget dolor morbi non. Quis imperdiet massa tincidunt nunc pulvinar sapien et ligula ullamcorper. Varius vel pharetra vel turpis nunc. Et tortor at risus viverra adipiscing at in.
  186.  
  187.                     Pellentesque id nibh tortor id aliquet lectus. Varius morbi enim nunc faucibus. Pretium nibh ipsum consequat nisl vel. Donec ac odio tempor orci dapibus ultrices in iaculis nunc. Suspendisse interdum consectetur libero id faucibus. Accumsan lacus vel facilisis volutpat est. Magna ac placerat vestibulum lectus mauris. Pulvinar etiam non quam lacus suspendisse. Curabitur vitae nunc sed velit dignissim. Id eu nisl nunc mi ipsum faucibus vitae aliquet nec. Justo laoreet sit amet cursus sit amet.
  188.  
  189.  
  190.                     Pretium lectus quam id leo. Sit amet nisl purus in mollis nunc sed id. Praesent elementum facilisis leo vel fringilla est ullamcorper. Accumsan tortor posuere ac ut. Vestibulum lectus mauris ultrices eros in cursus turpis. Vestibulum morbi blandit cursus risus. Fusce id velit ut tortor pretium viverra. Vitae suscipit tellus mauris a diam maecenas. Massa sed elementum tempus egestas. Sit amet tellus cras adipiscing enim.
  191.  
  192.                     Imperdiet sed euismod nisi porta lorem mollis aliquam ut porttitor. Quis lectus nulla at volutpat. Urna duis convallis convallis tellus id interdum. Nullam vehicula ipsum a arcu. Ut pharetra sit amet aliquam. Mi sit amet mauris commodo quis imperdiet massa tincidunt.</p>
  193.  
  194.             </div>
  195.             <div class="content">
  196.                 <h1>◈ Homework ◈</h1>
  197.                 <p>Place the <b>instructions</b> here:</p>
  198.                 <ul>
  199.                     <li>Question 1</li>
  200.                     <li>Question 2</li>
  201.                     <li>Question 3</li>
  202.                     <li>Question 4</li>
  203.                 </ul>
  204.  
  205.                 <div class="content content-light">
  206.                     <h1>◈ Requirements ◈</h1>
  207.                     <ul>
  208.                         <li>Requirement 1</li>
  209.                         <li>Requirement 2</li>
  210.                         <li>Requirement 3</li>
  211.                         <li>Requirement 4</li>
  212.                     </ul>
  213.  
  214.                     <h3>Additional Note from the <span style="color:6caf37">Instructor / Professor / Teacher</span> place here...</h3>
  215.                 </div>
  216.                 <br>
  217.                 <img src="https://i.imgur.com/j6ZjGL8.png" alt="signature" />
  218.             </div>
  219.         </div>
  220.     </div>
  221. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement