Advertisement
-AnonymousD-

Untitled

Dec 20th, 2024
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.79 KB | Cybersecurity | 0 0
  1. * {
  2.   -webkit-box-sizing: border-box;
  3.           box-sizing: border-box;
  4. }
  5.  
  6. body {
  7.   padding: 0;
  8.   margin: 0;
  9. }
  10.  
  11. #notfound {
  12.   position: relative;
  13.   height: 100vh;
  14. }
  15.  
  16. #notfound .notfound {
  17.   position: absolute;
  18.   left: 50%;
  19.   top: 50%;
  20.   -webkit-transform: translate(-50%, -50%);
  21.       -ms-transform: translate(-50%, -50%);
  22.           transform: translate(-50%, -50%);
  23. }
  24.  
  25. .notfound {
  26.   max-width: 767px;
  27.   width: 100%;
  28.   line-height: 1.4;
  29.   padding: 0px 15px;
  30. }
  31.  
  32. .notfound .notfound-404 {
  33.   position: relative;
  34.   height: 150px;
  35.   line-height: 150px;
  36.   margin-bottom: 25px;
  37. }
  38.  
  39. .notfound .notfound-404 h1 {
  40.   font-family: 'Titillium Web', sans-serif;
  41.   font-size: 186px;
  42.   font-weight: 900;
  43.   margin: 0px;
  44.   text-transform: uppercase;
  45.   background: url('../img/text.png');
  46.   -webkit-background-clip: text;
  47.   -webkit-text-fill-color: transparent;
  48.   background-size: cover;
  49.   background-position: center;
  50. }
  51.  
  52. .notfound h2 {
  53.   font-family: 'Titillium Web', sans-serif;
  54.   font-size: 26px;
  55.   font-weight: 700;
  56.   margin: 0;
  57. }
  58.  
  59. .notfound p {
  60.   font-family: 'Montserrat', sans-serif;
  61.   font-size: 14px;
  62.   font-weight: 500;
  63.   margin-bottom: 0px;
  64.   text-transform: uppercase;
  65. }
  66.  
  67. .notfound a {
  68.   font-family: 'Titillium Web', sans-serif;
  69.   display: inline-block;
  70.   text-transform: uppercase;
  71.   color: #fff;
  72.   text-decoration: none;
  73.   border: none;
  74.   background: #5c91fe;
  75.   padding: 10px 40px;
  76.   font-size: 14px;
  77.   font-weight: 700;
  78.   border-radius: 1px;
  79.   margin-top: 15px;
  80.   -webkit-transition: 0.2s all;
  81.   transition: 0.2s all;
  82. }
  83.  
  84. .notfound a:hover {
  85.   opacity: 0.8;
  86. }
  87.  
  88. @media only screen and (max-width: 767px) {
  89.   .notfound .notfound-404 {
  90.     height: 110px;
  91.     line-height: 110px;
  92.   }
  93.   .notfound .notfound-404 h1 {
  94.     font-size: 120px;
  95.   }
  96. }
  97.  
Tags: CSS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement