Examples of code I've written in PHP, Javascript, SCSS, etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

60 lines
887 B

  1. @use "sass:map";
  2. @use "sass:color";
  3. @use "vars/vars";
  4. .contact .methods {
  5. margin-top: 40px;
  6. display: flex;
  7. flex-flow: row wrap;
  8. padding: 5px;
  9. }
  10. .contact .methods > div {
  11. background: white;
  12. margin: 0 auto;
  13. padding: 15px 10px;
  14. flex: 1;
  15. text-align: center;
  16. }
  17. .contact .methods h4 {
  18. text-align: center;
  19. border-bottom: 2px solid black;
  20. margin-left: auto;
  21. margin-right: auto;
  22. max-width: 5em;
  23. }
  24. .contact .email a {
  25. color: vars.getColor('link-grey');
  26. font-weight: bold;
  27. font-size: 1.2rem;
  28. }
  29. .contact a:hover {
  30. color: black;
  31. }
  32. .status {
  33. margin: 20px auto;
  34. max-width: fit-content;
  35. }
  36. .status h4 {
  37. display: inline-block;
  38. }
  39. .status #light {
  40. display: inline-block;
  41. width: 50px;
  42. height: 50px;
  43. transform: translateY(17px);
  44. background: radial-gradient(red 10%, transparent 50%);
  45. }
  46. .status.active #light {
  47. background: radial-gradient(#23dc00 10%, transparent 50%);
  48. }