diff options
| Commit | 1474cc96a2d30201b0628d7ba6cd98495bc9da33 (patch) | |
|---|---|---|
| Author | 2023-01-17 16:57:38 +0200 | |
| Committer | 2023-01-17 16:57:38 +0200 | |
| Files | cde7f533df7692f3976aced6a79fe7a51de34b47 | |
| web-buttons-1474cc96a2d30201b0628d7ba6cd98495bc9da33.tar web-buttons-1474cc96a2d30201b0628d7ba6cd98495bc9da33.tar.gz web-buttons-1474cc96a2d30201b0628d7ba6cd98495bc9da33.zip | ||
| Parent | 7f189557d419e2cbf118ad778324065199358d48 (diff) | |
[styles] Added common styling
1 files changed, 34 insertions, 0 deletions
| -rw-r--r-- | common-styles.css | 34 |
diff --git a/common-styles.css b/common-styles.css new file mode 100644 index 0000000..d43afb3 --- /dev/null +++ b/common-styles.css @@ -0,0 +1,34 @@ +@import url('https://fonts.googleapis.com/css2?family=Silkscreen&display=swap'); + +#button { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + font-family: 'Silkscreen', cursive; + font-size: 14px; /* 9px total height */ + box-sizing: border-box; +} + +#button > * { + height: inherit; + box-sizing: border-box; +} + +.crisp { + image-rendering: crisp-edges; +} + + +.button-88x31 { + width: 88px; + height: 31px; +} + +.button-x31 { + height: 31px; +} + +.button-x39 { + height: 39px; +} |
