From 8d6306d6fc0f9b16634a95e13c55c5c37707f767 Mon Sep 17 00:00:00 2001 From: Denis Walker <dez@sucs.org> Date: Sat, 13 Nov 2010 00:53:22 +0000 Subject: [PATCH] Switches page corners to border-radius for all but IE --- htdocs/css/ie.css | 23 +++++++++++++++++++++++ htdocs/css/sucs.css | 24 ++++++------------------ 2 files changed, 29 insertions(+), 18 deletions(-) diff --git a/htdocs/css/ie.css b/htdocs/css/ie.css index e69de29..55a84ae 100644 --- a/htdocs/css/ie.css +++ b/htdocs/css/ie.css @@ -0,0 +1,23 @@ +/* -------------------------------------------------- + Page corners + -------------------------------------------------- */ + +.cornerTopLeft { + height: 100%; + background: url('/images/left-top-corner.png') top left no-repeat; +} + +.cornerTopRight { + height: 100%; + background: url('/images/right-top-corner.png') top right no-repeat; +} + +.cornerBottomLeft { + height: 100%; + background: url('/images/left-bottom-corner.png') bottom left no-repeat; +} + +.cornerBottomRight { + height: 100%; + background: url('/images/right-bottom-corner.png') bottom right no-repeat; +} diff --git a/htdocs/css/sucs.css b/htdocs/css/sucs.css index 48f5717..c66f9e8 100644 --- a/htdocs/css/sucs.css +++ b/htdocs/css/sucs.css @@ -35,25 +35,13 @@ a:hover { /* -------------------------------------------------- Page corners -------------------------------------------------- */ - -.cornerTopLeft { - height: 100%; - background: url('/images/left-top-corner.png') top left no-repeat; -} - -.cornerTopRight { - height: 100%; - background: url('/images/right-top-corner.png') top right no-repeat; -} - -.cornerBottomLeft { - height: 100%; - background: url('/images/left-bottom-corner.png') bottom left no-repeat; +#branding { + border-top-left-radius: 15px; + border-top-right-radius: 15px; } - -.cornerBottomRight { - height: 100%; - background: url('/images/right-bottom-corner.png') bottom right no-repeat; +#footer { + border-bottom-left-radius: 15px; + border-bottom-right-radius: 15px; } /* -------------------------------------------------- -- GitLab