workspace.css 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. .workspace {
  2. box-sizing: border-box;
  3. position: absolute;
  4. left: 50%;
  5. top: 50%;
  6. transform: translate(calc(-50% + 150px), -50%);
  7. width: calc(100vw - 300px);
  8. border: var(--primary-color) 3px solid;
  9. padding: 0px;
  10. margin: 0px;
  11. border-radius: 10px 0px 0px 10px;
  12. border-right: none;
  13. display: flex;
  14. flex-direction: row;
  15. flex-wrap: nowrap;
  16. justify-content: space-between;
  17. align-items: center;
  18. }
  19. .workspace .header p:first-child {
  20. font-size: 1.5em;
  21. color: var(--secondary-color);
  22. font-weight: 600;
  23. }
  24. .workspace .header p:first-child::before {
  25. content: "# ";
  26. }
  27. .workspace .header {
  28. padding: 20px;
  29. border-bottom: var(--primary-color) 3px solid;
  30. }
  31. .workspace .thumbnail-container {
  32. width: calc(100% - 300px);
  33. height: auto;
  34. max-height: calc(100vh - 400px);
  35. overflow: hidden;
  36. margin: 10px;
  37. border-radius: 10px;
  38. }
  39. .workspace .thumbnail {
  40. max-width: 100%;
  41. max-height: 100%;
  42. margin: 0px;
  43. padding: 0px;
  44. transition: transform 0.5s;
  45. border-radius: 10px;
  46. }
  47. .workspace .thumbnail:hover {
  48. transform: scale(1.5);
  49. }