diff --git a/docs/extra.css b/docs/extra.css index c977c05..237c92e 100644 --- a/docs/extra.css +++ b/docs/extra.css @@ -230,56 +230,43 @@ ul.bullet-padding{ .button { background: rgba(0, 0, 0, 0); - bottom: -6px; - content: ""; - display: block; - left: -2px; - position: absolute; - right: -2px; - top: -2px; - margin-bottom: 20px; --webkit-appearance: none; -background-color: #007f3b; -border: 2px solid rgba(0, 0, 0, 0); -border-radius: 4px; -box-shadow: 0 4px 0 #00401e; -box-sizing: border-box; -color: #fff; -cursor: pointer; -display: inline-block; -font-weight: 600; -margin-top: 0; -padding: 12px 16px; -position: relative; -text-align: center; -vertical-align: top; + align-items: center; + cursor: pointer; + display: inline-flex; + flex-direction: row; + justify-content: center; + min-height: 30px; + min-width: 30px; + text-align: left; + vertical-align: middle; + border-width: initial; + border-style: none; + border-color: initial; + border-image: initial; + border-radius: 2px; + padding: 5px 10px; + box-shadow: inset 0 0 0 1px rgba(17, 20, 24, .2), 0 1px 2px rgba(17, 20, 24, .1); } .secondary-button { background-color: #4c6272 !important; - bottom: -6px; - content: ""; - display: block; - left: -2px; - position: absolute; - right: -2px; - top: -2px; - margin-bottom: 20px; --webkit-appearance: none; -border: 2px solid rgba(0, 0, 0, 0); -border-radius: 4px; -box-shadow: 0 4px 0 #00401e; -box-sizing: border-box; -color: #fff; -cursor: pointer; -display: inline-block; -font-weight: 600; -margin-top: 0; -padding: 12px 16px; -position: relative; -text-align: center; -vertical-align: top; + align-items: center; + cursor: pointer; + display: inline-flex; + flex-direction: row; + justify-content: center; + min-height: 30px; + min-width: 30px; + text-align: left; + vertical-align: middle; + border-width: initial; + border-style: none; + border-color: initial; + border-image: initial; + border-radius: 2px; + padding: 5px 10px; + box-shadow: inset 0 0 0 1px rgba(17, 20, 24, .2), 0 1px 2px rgba(17, 20, 24, .1); } .white-button {