austinh115

happier

Oct 16th, 2018
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.67 KB | None | 0 0
  1. background-color: #ffec63;}      
  2. /** CSS By Austin (638877683) **/      
  3. html {      
  4.   font-size: 18px;      
  5. }      
  6. body {      
  7.   font-family: 'Questrial', sans-serif;      
  8.   background-image: linear-gradient(      
  9.       45deg,      
  10.       #ffd966 25%,      
  11.       transparent 25%,      
  12.       transparent 75%,      
  13.       #ffd966 75%,      
  14.       #ffd966      
  15.     ),      
  16.     linear-gradient(      
  17.       -45deg,      
  18.       #ffd966 25%,      
  19.       transparent 25%,      
  20.       transparent 75%,      
  21.       #ffd966 75%,      
  22.       #ffd966      
  23.     );      
  24.   background-size: 60px 60px;      
  25.   background-position: 0 0;      
  26.   animation: slide 4s infinite linear;      
  27. }      
  28.        
  29. @keyframes slide {      
  30.   from {      
  31.     background-position: 0 0;      
  32.   }      
  33.        
  34.   to {      
  35.     background-position: -120px 60px;      
  36.   }      
  37. }      
  38.        
  39. .modal {      
  40.   position: absolute;      
  41.   left: 50%;      
  42.   top: 50%;      
  43.   transform: translate(-50%, -50%);      
  44.   width: auto;      
  45.   display: inline-flex;      
  46.   flex-direction: column;      
  47.   align-items: center;      
  48. /*   padding: 1.6rem 3rem; */      
  49.   border: 3px solid black;      
  50.   border-radius: 5px;      
  51.   background: white;      
  52.   box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);      
  53. }      
  54. .message {      
  55.   font-size:1.1rem;      
  56.   margin-bottom: 1.6rem;      
  57.   margin-top: 1.6rem; /* 0 */      
  58. }      
  59. .btn {      
  60.     font-family:inherit;      
  61.   font-size: inherit;      
  62.   background: white;      
  63.   padding: 0.3rem 3.4rem;      
  64.   border: 3px solid black;      
  65.   margin-right: 2.6rem;      
  66.   box-shadow: 0 0 0 black;      
  67.   transition: all 0.2s;      
  68. }      
  69.        
  70. .btn:last-child {      
  71.   margin: 0;      
  72. }      
  73.        
  74. .btn:hover {      
  75.   box-shadow: 0.4rem 0.4rem 0 black;      
  76.   transform: translate(-0.4rem, -0.4rem);      
  77. }      
  78.        
  79. .btn:active {      
  80.   box-shadow: 0 0 0 black;      
  81.   transform: translate(0, 0);      
  82. }      
  83.        
  84. .options {      
  85.   display: flex;      
  86.   flex-direction: row;      
  87.   justify-content: space-between;      
  88.   margin-bottom: 1.6rem;      
  89. }      
  90.  
  91. .options a {  
  92.   color: inherit;  
  93.   text-decoration: none;  
  94. }  
  95.        
  96. *{;
  97.  
  98. [font:Questrial]
  99. <div class="modal">
  100. [youtube:640:360:m7Bc3pLyij0:autoplay=1&playlist=m7Bc3pLyij0&loop=1&showinfo=0&rel=0&modestbranding=1]
  101. <p class="message">Contact me</p>
  102. <div class="options">
  103. <a href="https://discord.gg/uWBdr7R" class="btn">Discord</a>
  104. <a href="https://forum.xat.com/profile/37256/" class="btn">Forum</a>
  105. </div>
  106. </div>
Add Comment
Please, Sign In to add comment