tipsypastels

Untitled

May 7th, 2019
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 KB | None | 0 0
  1. <style scoped>
  2. div.section-banner {
  3. display: flex;
  4. flex-direction: column;
  5. align-items: center;
  6. justify-content: center;
  7.  
  8. width: 100%;
  9. height: 250px;
  10. background-color: black;
  11. background-image: url('/images/templates/colorflattered/splashes/pgc/bg.jpg');
  12. background-size: cover;
  13. background-position: center;
  14. position: relative;
  15. }
  16.  
  17. div.section-banner main {
  18. font-size: 3rem;
  19. font-weight: bold;
  20.  
  21. color: white;
  22. text-shadow: 4px 4px 4px black;
  23.  
  24. background-color: #83224F;
  25. padding: 0.25rem 0.75rem;
  26. margin-bottom: 1rem;
  27. border-radius: 5px;
  28. box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.5);
  29. }
  30.  
  31. div.section-banner main a {
  32. color: inherit;
  33. }
  34.  
  35. div.section-banner footer {
  36. display: flex;
  37. }
  38.  
  39. div.section-banner footer section {
  40. width: 25%;
  41. height: 100%;
  42. display: flex;
  43. align-items: center;
  44. justify-content: center;
  45. padding: 0 1rem;
  46. }
  47.  
  48. div.section-banner footer section .icon {
  49. color: white;
  50. font-size: 50px;
  51. text-shadow: 2px 1px 1px black;
  52.  
  53. filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
  54. -webkit-filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
  55.  
  56. transition: 0.125s;
  57. }
  58.  
  59. div.section-banner footer section .icon:hover {
  60. color: #83224F;
  61. }
  62.  
  63. body:not(.forumdisplay) div.section-banner {
  64. height: 200px;
  65. }
  66.  
  67. body:not(.forumdisplay) div.section-banner footer {
  68. display: none;
  69. }
  70.  
  71. @media screen and (max-width: 768px) {
  72. div.section-banner {
  73. height: 175px !important;
  74. }
  75.  
  76. div.section-banner main {
  77. font-size: 2rem !important;
  78. }
  79.  
  80. div.section-banner footer {
  81. display: none !important;
  82. }
  83. }
  84. </style>
  85.  
  86. <div class="section-banner omnibar-padding padding-0px">
  87. <main>
  88. <a href="#">
  89. Section Name Here
  90. </a>
  91. </main>
  92.  
  93. <footer>
  94. <section>
  95. <a href="#"><i class="icon fa fa-sticky-note-o" title="Link 1 title"></i></a>
  96. </section>
  97. <section>
  98. <a href="#"><i class="icon fa fa-podcast" title="Link 2 title"></i></a>
  99. </section>
  100. <section>
  101. <a href="#"><i class="icon fa fa-qrcode" title="Link 3 title"></i></a>
  102. </section>
  103. <section>
  104. <a href="#"><i class="icon fa fa-commenting" title="Link 4 title"></i></a>
  105. </section>
  106. </footer>
  107. </div>
Advertisement
Add Comment
Please, Sign In to add comment