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.

94 lines
1.5 KiB

4 years ago
  1. .button-container {
  2. display: table;
  3. margin-left: auto;
  4. margin-right: auto;
  5. }
  6. button,
  7. .button,
  8. a.button {
  9. position: relative;
  10. display: flex;
  11. align-items: center;
  12. justify-content: center;
  13. padding: 8px 18px;
  14. margin-bottom: 5px;
  15. text-decoration: none;
  16. text-align: center;
  17. border-radius: 8px;
  18. border: 1px solid transparent;
  19. appearance: none;
  20. cursor: pointer;
  21. outline: none;
  22. /* variants */
  23. &.outline {
  24. background: transparent;
  25. box-shadow: none;
  26. padding: 8px 18px;
  27. :hover {
  28. transform: none;
  29. box-shadow: none;
  30. }
  31. }
  32. &.primary {
  33. box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
  34. &:hover {
  35. box-shadow: 0 2px 6px rgba(50, 50, 93, .21), 0 1px 3px rgba(0, 0, 0, .08);
  36. }
  37. }
  38. &.link {
  39. background: none;
  40. font-size: 1rem;
  41. }
  42. /* sizes */
  43. &.small {
  44. font-size: .8rem;
  45. }
  46. &.wide {
  47. min-width: 200px;
  48. padding: 14px 24px;
  49. }
  50. }
  51. a.read-more,
  52. a.read-more:hover,
  53. a.read-more:active {
  54. display: inline-flex;
  55. background: none;
  56. box-shadow: none;
  57. padding: 0;
  58. margin: 20px 0;
  59. max-width: 100%;
  60. }
  61. .code-toolbar {
  62. margin-bottom: 20px;
  63. .toolbar-item a {
  64. position: relative;
  65. display: inline-flex;
  66. align-items: center;
  67. justify-content: center;
  68. padding: 3px 8px;
  69. margin-bottom: 5px;
  70. text-decoration: none;
  71. text-align: center;
  72. font-size: 13px;
  73. font-weight: 500;
  74. border-radius: 8px;
  75. border: 1px solid transparent;
  76. appearance: none;
  77. cursor: pointer;
  78. outline: none;
  79. }
  80. }