style.css 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. @import url('bamboo.css');
  2. * {
  3. font-family:Verdana, Geneva, Tahoma, sans-serif;
  4. }
  5. header,footer {
  6. color:white;
  7. text-align: center;
  8. background: #4568DC;
  9. /* fallback for old browsers */
  10. background: -webkit-linear-gradient(to left, #B06AB3, #4568DC);
  11. /* Chrome 10-25, Safari 5.1-6 */
  12. background: linear-gradient(to left, #B06AB3, #4568DC);
  13. /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  14. }
  15. footer {
  16. font-size: x-small;
  17. }
  18. header a, footer a{
  19. color: white;
  20. text-decoration: underline;
  21. }
  22. h3 > a{
  23. color: white !important;
  24. }
  25. /* hidding arrow in summary elements */
  26. details > summary {
  27. list-style: none !important;
  28. transition: margin 150ms ease-out;
  29. }
  30. details summary::-webkit-details-marker {
  31. display:none !important;
  32. }
  33. /* hidding arrow in summary elements */
  34. /* animations */
  35. details[open] summary ~ * {
  36. animation: sweep 1s ease-in-out;
  37. }
  38. @keyframes sweep {
  39. 0% {opacity: 0; transform: translateX(-10px)}
  40. 100% {opacity: 1; transform: translateX(0)}
  41. }
  42. /* animations */
  43. summary {
  44. /* this will stroke text in black */
  45. color: white !important;
  46. text-shadow:
  47. -1px -1px 0 #000,
  48. 1px -1px 0 #000,
  49. -1px 1px 0 #000,
  50. 1px 1px 0 #000 !important;
  51. margin: 0% !important;
  52. padding: 1%;
  53. }
  54. summary + p {
  55. /* margin: 1%; */
  56. text-align: justify;
  57. }
  58. summary + a {
  59. margin: 1%;
  60. text-align: justify;
  61. }
  62. details > p {
  63. padding: 0.5%;
  64. }
  65. details > a {
  66. padding: 0.5%;
  67. }
  68. embed {
  69. background-color: white;
  70. }
  71. /* contact card */
  72. .card {
  73. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  74. max-width: 300px;
  75. margin: auto;
  76. text-align: center;
  77. font-family: arial;
  78. }
  79. /* blog section */
  80. #blog1 {
  81. background-image: url("https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwallpaperaccess.com%2Ffull%2F2033952.jpg&f=1&nofb=1&ipt=7d851c502d1700b0db587b20267d502b4e68078fa72d318e76ef069c4e3f4da9&ipo=images");
  82. background-size: cover;
  83. }
  84. #blog2 {
  85. background-image: url("https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse2.mm.bing.net%2Fth%3Fid%3DOIP.tyUV66TZq4h0Jpfh-6f3LwHaE7%26pid%3DApi&f=1&ipt=3c21dfcefc3ae6d6990ff1767edcf4007414c68a89e781272529a2d735fce5c3&ipo=images");
  86. background-size: cover;
  87. }
  88. #blog3 {
  89. background-image: url("https://technofaq.org/wp-content/uploads/2019/10/learn-3653430_1920-600x339.jpg");
  90. background-size: cover;
  91. }