Advertisement
Guest User

Untitled

a guest
Oct 17th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 KB | None | 0 0
  1. .wrapper {
  2. box-sizing: border-box;
  3. margin: auto;
  4. max-width: 60%; }
  5.  
  6. body {
  7. background: radial-gradient(#4254e5 40%, rgba(20, 136, 204, 0.75));
  8. color: white;
  9. font-family: lora; }
  10.  
  11. .block:nth-child(even) {
  12. background: none;
  13. box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.4); }
  14.  
  15. .block {
  16. background: radial-gradient(rgba(20, 136, 204, 0.75) 40%, #4254e5);
  17. box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.4);
  18. border: 1px solid rgba(255, 255, 255, 0.2);
  19. border-top: 5px solid #63e3f2;
  20. box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.4); }
  21.  
  22. .top {
  23. padding: 24px;
  24. margin-top: 2px;
  25. text-align: center;
  26. max-height: 120px;
  27. position: fixed;
  28. left: 0;
  29. right: 0;
  30. top: 0;
  31. text-decoration: none;
  32. background: radial-gradient(#1488cc 40%, #4254e5);
  33. box-sizing: border-box;
  34. border: 1px solid rgba(255, 255, 255, 0.2);
  35. border-top: 5px solid #63e3f2;
  36. box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.4); }
  37. .top h1 {
  38. font-size: 25px;
  39. font-style: italic;
  40. text-align: left;
  41. text-shadow: 8px 10px 0px rgba(0, 0, 0, 0.1);
  42. float: left; }
  43. .top nav {
  44. margin: 10px; }
  45. .top a {
  46. text-decoration: none;
  47. color: white;
  48. padding: 15px;
  49. margin: 2px 2px;
  50. background-color: rgba(66, 84, 229, 0.75);
  51. transition: 3s; }
  52. .top a:hover {
  53. background-color: #63e3f2; }
  54. .top span {
  55. border: solid #63e3f2;
  56. box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.4);
  57. padding: 3px;
  58. box-sizing: border-box; }
  59.  
  60. .dropdown {
  61. position: absolute;
  62. left: 40%;
  63. top: 36%; }
  64.  
  65. .dcontent {
  66. visibility: hidden;
  67. display: inline-block; }
  68.  
  69. .dropdown:hover .dcontent {
  70. visibility: visible; }
  71.  
  72.  
  73.  
  74. <link rel="stylesheet" type="text/css" href="stylesheets/styles.css">
  75. </head>
  76. <aside class="aside">
  77. <img src="stylesheets/images/portfolio.jpg" width="250" height="250">
  78. <article>
  79. <p>een foto van mij</p>
  80. </article>
  81. </aside>
  82. <body>
  83. <div class="wrapper">
  84. <div id="topanker"></div>
  85. <header class="top wrapper">
  86. <h1>Arjen de Boer</h1>
  87. <nav class="navigatie">
  88. <div class="dropdown">
  89. <span>menu</span>
  90. <div class="dcontent">
  91. <a href="#personalia">personalia</a>
  92. <a href="#cv">werkervaring</a>
  93. <a href="#opleiding"> gevolgde opleidingen</a>
  94. <a href=" huidigeopleiding.html" target="_blank">huidigeopleiding</a>
  95. </div>
  96. </div>
  97. </nav>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement