From 1b54686ec35fe5aa0859e8387e4907ed0d3a24e5 Mon Sep 17 00:00:00 2001 From: Kenneth Jao Date: Tue, 6 Sep 2016 20:02:56 -0400 Subject: [PATCH] CSS for private class box --- hourglass/client/profile/profile.css | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/hourglass/client/profile/profile.css b/hourglass/client/profile/profile.css index d12fdbc..38b3c8b 100644 --- a/hourglass/client/profile/profile.css +++ b/hourglass/client/profile/profile.css @@ -671,16 +671,16 @@ } #joinPrivClass { - width: 18%; + width: 18vw; margin-bottom: -20%; padding: 1.5%; - padding-bottom: 2%; + padding-bottom: 1%; border-top: 5px solid #852E6D; box-shadow: -2px 0px 5px 1px #444; position: absolute; - right: 5%; + right: 5vw; bottom: 0; -webkit-transition: margin 0.4s ease; @@ -692,19 +692,23 @@ #joinPrivClass h3 { font-weight: 400; font-size: 150%; - margin-bottom: 3%; + margin-bottom: 1vh; } #privateCode { - font-size: 130%; + font-size: 3vh; + width: 93%; + margin-top: 1%; + margin-bottom: 1vh; padding: 1%; } #privSubmit { - font-size: 120%; + font-size: 2vh; margin-left: 5%; padding: 3%; background-color: rgba(0,0,0,0.2); + float: right; cursor: pointer; -webkit-transition: background-color 0.2s ease;