From 1474cc96a2d30201b0628d7ba6cd98495bc9da33 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 17 Jan 2023 16:57:38 +0200 Subject: [styles] Added common styling --- common-styles.css | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 common-styles.css (limited to 'common-styles.css') 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; +} -- cgit v1.3.1-23-gd82d