Advertisement
CatsBunnies

ofcss

Feb 7th, 2025
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.51 KB | None | 0 0
  1. /* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
  2.    HTML content. To learn how to do something, just try searching Google for questions like
  3.    "how to change link color." */
  4.  
  5. body {
  6.   background-color: white;
  7.   color: black;
  8.  
  9. @font-face {
  10.     font-family: 'rainyhearts'; /*a name to be used later*/
  11.     src: url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap'); /*URL to font*/
  12. }
  13. }
  14.  
  15. /* Start https://www.cursors-4u.com */
  16. *{cursor: url(https://cur.cursors-4u.net/nature/nat-10/nat997.cur), auto !important;}
  17. /* End https://www.cursors-4u.com */
  18.  
  19. /*Grid Box*/
  20. .contaner {
  21.     display: grid;
  22.     grid-template-areas:
  23.         "topbar topbar topbar"
  24.         "sidebar content content"
  25.         "footer footer footer";
  26.    
  27.     /*Sets sizes of columns*/
  28.     grid-template-columns: 1fr 3fr 1fr;
  29.    
  30.     grid-template-rows: 50px auto 70px;
  31.        
  32.     /*Centers the children*/
  33.     align-items: center;
  34.     justify-items: center;
  35.    
  36.    
  37. }
  38.  
  39. .header {grid-area: topbar;}
  40. .article {grid-area: content;}
  41. .nav {grid-area: sidebar;}
  42. .footer {grid-area: footer;}
  43.  
  44.  
  45. /*To advoid dulplication on grids*/
  46. .contaner{
  47.     grid-template-columns: repeat(3, 1fr);
  48.     grid-auto-rows: minmax(50, auto)
  49. }
  50.  
  51. /*Status Cafe*/
  52. #statuscafe {
  53.     padding: .5em;
  54.     background-color: azure;
  55.     border: 1px solid midnightblue;
  56. }
  57. #statuscafe-username {
  58.     margin-bottom: .5em;
  59. }
  60. #statuscafe-content {
  61.     margin: 0 1em 0.5em 1em;
  62. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement