From d00ad88daca6628d4685ccd594f5736e99cd5ab0 Mon Sep 17 00:00:00 2001 From: sD Date: Thu, 26 Dec 2019 22:03:43 +0100 Subject: add a trapzoid-y looking button --- webAO/client.css | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'webAO/client.css') diff --git a/webAO/client.css b/webAO/client.css index 84af5d5..fdf9ceb 100644 --- a/webAO/client.css +++ b/webAO/client.css @@ -459,6 +459,29 @@ img { box-shadow: 1px inset; } +.trapezoid_button { + color: white; + text-align: center; + background: #7b2900; + display: inline-block; + height: 30px; + margin-left: 20px; + margin-top: 55px; + position: relative; + width: 100px; + } + .trapezoid_button:before { + border-bottom: 15px solid #7b2900; + border-left: 50px solid transparent; + border-right: 50px solid transparent; + content: ""; + height: 0; + left: 0; + position: absolute; + top: -15px; + width: 0; + } + .client_button.hover_button.inactive { display: none; } -- cgit