Advertisement
joekatona

CSODA css

May 20th, 2019
591
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Combo&subset=latin-ext');
  2. @import url('https://fonts.googleapis.com/css?family=Roboto&subset=latin-ext');
  3. * {
  4. margin: 0;
  5. padding: 0;
  6. font-family: 'Roboto', sans-serif;
  7. }
  8. .flex{
  9. display: flex;
  10. align-items: center;
  11. justify-content: center;
  12. }
  13. body{
  14. background-color: gray;
  15. }
  16. .fej {
  17. height: 150px;
  18. background-color: red;
  19. color: gold;
  20. font-family: 'Combo', cursive;
  21. font-size: 4em;
  22. font-weight: bold;
  23. box-shadow: inset 0 0 15px black;
  24. }
  25. .menu{
  26. position: absolute;
  27. left: 0;
  28. top: 150px;
  29. width: 200px;
  30. background-color:orangered;
  31. height: calc(100vh - 150px);
  32. box-shadow: inset 0 0 15px black;
  33. }
  34. .menu a{
  35. display: block;
  36. background-color: rgba(0,0,0,.4);
  37. width: 160px;
  38. padding-top: 10px;
  39. padding-bottom: 10px;
  40. margin: 20px 20px;
  41. border-radius: 10px;
  42. text-align: center;
  43. color: rgba(255,215,0,.7);
  44. text-decoration: none;
  45. box-shadow: inset 0 0 15px black;
  46. }
  47. .menu a:hover{
  48. background-color: rgba(255,215,0,.9);
  49. color: rgba(0,0,0,.8);
  50. }
  51. .tartalom {
  52. position: absolute;
  53. top: 150px;
  54. left: 200px;
  55. height: calc(100vh - 150px);
  56. width: calc(100vw - 200px);
  57. background-color: rgba(255,215,0,.8);
  58. color: orangered;
  59. }
  60. .keszitette {
  61. position: absolute;
  62. bottom: 10px;
  63. right: 10px;
  64. width: 250px;
  65. height: 40px;
  66. background-color:rgba(0,0,0,.3);
  67. color: gold;
  68. font-family: 'Roboto', sans-serif;
  69. border-radius: 20px;
  70. }
  71. span{
  72. font-size: 2em;
  73. text-align: center;
  74. }
  75. img{
  76. width: 300px;
  77. border-radius: 20px;
  78. box-shadow: 0 0 15px black;
  79. margin: 10px;
  80. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement