Write on the margins of the internet. Powered by the AT Protocol. margin.at
extension web atproto comments
at v0.1.13 2.2 kB view raw
1.btn { 2 display: inline-flex; 3 align-items: center; 4 justify-content: center; 5 gap: 8px; 6 padding: 10px 20px; 7 font-size: 0.9rem; 8 font-weight: 500; 9 border-radius: var(--radius-md); 10 transition: all 0.15s ease; 11} 12 13.btn-primary { 14 background: var(--accent); 15 color: white; 16} 17 18.btn-primary:hover { 19 background: var(--accent-hover); 20 transform: translateY(-1px); 21 box-shadow: var(--shadow-md); 22} 23 24.btn-secondary { 25 background: var(--bg-tertiary); 26 color: var(--text-primary); 27 border: 1px solid var(--border); 28} 29 30.btn-secondary:hover { 31 background: var(--bg-hover); 32 border-color: var(--border-hover); 33} 34 35.btn-ghost { 36 color: var(--text-secondary); 37 padding: 8px 12px; 38} 39 40.btn-ghost:hover { 41 color: var(--text-primary); 42 background: var(--bg-tertiary); 43} 44 45.btn-bluesky { 46 background: #0085ff; 47 color: white; 48 display: flex; 49 align-items: center; 50 justify-content: center; 51 gap: 10px; 52 transition: 53 background 0.2s, 54 transform 0.2s; 55} 56 57.btn-bluesky:hover { 58 background: #0070dd; 59 transform: translateY(-1px); 60} 61 62.btn-sm { 63 padding: 6px 12px; 64 font-size: 0.85rem; 65} 66 67.btn-text { 68 background: none; 69 border: none; 70 color: var(--text-secondary); 71 font-size: 0.9rem; 72 padding: 8px 12px; 73 cursor: pointer; 74 transition: color 0.15s; 75} 76 77.btn-text:hover { 78 color: var(--text-primary); 79} 80 81.btn-block { 82 width: 100%; 83 text-align: left; 84 padding: 8px 12px; 85 color: var(--text-secondary); 86 background: var(--bg-tertiary); 87 border-radius: var(--radius-md); 88 margin-top: 8px; 89 font-size: 0.9rem; 90 cursor: pointer; 91 transition: all 0.2s; 92} 93 94.btn-block:hover { 95 background: var(--border); 96 color: var(--text-primary); 97} 98 99.btn-icon-danger { 100 padding: 8px; 101 background: var(--error); 102 color: white; 103 border: none; 104 border-radius: var(--radius-md); 105 cursor: pointer; 106 box-shadow: var(--shadow-md); 107 transition: all 0.15s ease; 108 display: flex; 109 align-items: center; 110 justify-content: center; 111} 112 113.btn-icon-danger:hover { 114 background: #dc2626; 115 transform: scale(1.05); 116} 117 118.action-buttons { 119 display: flex; 120 gap: 8px; 121} 122 123.action-buttons-end { 124 display: flex; 125 justify-content: flex-end; 126 gap: 8px; 127}