diff --git a/css/style.css b/css/style.css index e69de29b..bc756863 100644 --- a/css/style.css +++ b/css/style.css @@ -0,0 +1,137 @@ +body{ + margin: 0; + background: #dddddd; +} + +.header{ + background: rgba(1, 250, 255, 1.0); + background: -webkit-radial-gradient(bottom, rgba(1, 250, 255, 1.0), rgba(1, 73, 255, 1.0)); + background: -moz-radial-gradient(bottom, rgba(1, 250, 255, 1.0), rgba(1, 73, 255, 1.0)); + background: radial-gradient(to top, rgba(1, 250, 255, 1.0), rgba(1, 73, 255, 1.0)); + width: 100%; + height: 250px; + margin-bottom: 50px; +} + +.header h1{ + font-size: 80px; + color: #07f733; + margin: auto; + width: 60%; + text-align: center; + padding-top: 75px; + padding-bottom: 75px; +} + +.message-counter{ + width: 100%; + margin: auto; +} + +#counter{ + text-align: center; +} + +.hide{ + visibility: hidden; +} + +/* FLEX BOXES*/ +.container{ + display: flex; + flex-direction: row; +} + +/* Inbox items */ +.inbox{ + display: flex; + flex-direction: column; + flex: 1 1 0; +} + +.email-bars{ + height: 50px; + background-color: white; + margin-left: 20px; + margin-right: 20px; + margin-bottom: 15px; + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + padding-left: 25px; + padding-right: 25px; + border: 1px solid gray; + box-shadow: 2px 3px gray; + border-radius: 10px; + transition-property: border box-shadow; + transition-duration: 0.3s; +} + +.email-bars:hover{ + box-shadow: 0 7px 20px 0 rgba(0, 0, 0, 0.6); + border: 1px solid transparent; + cursor: pointer; +} + +.email-bar-content{ + height: 100%; + margin: 0; + text-align: center; + padding-top: 25px; + font-weight: small; +} + +#inbox-name{ + flex-grow: 2; + flex-shrink: 2; + font-weight: bold; +} + +#inbox-subject{ + flex-grow: 2; + flex-shrink: 2; +} + +#inbox-date{ + flex-grow: 1; + flex-shrink: 1; + font-size: smaller; + font-style: oblique; +} +/* End Inbox items */ + +/* Message box items */ +.message-box{ + flex: 1 1 0; + margin-left: 20px; + width: 100%; +} + +.message{ + padding: 15px; + background-color: white; + margin-right: 20px; + box-shadow: 0 7px 20px 0 rgba(0, 0, 0, 0.3) inset; + border-radius: 5px; +} + +#message-date{ + font-weight: small; + font-style: oblique; + float: right; +} + +#message-name{ + font-weight: bold; +} + +#message-subject{ + font-weight: bolder; + text-align: center; +} + +#message-content{ + font-size: 20px; +} +/* End Message box items*/ \ No newline at end of file diff --git a/index.html b/index.html index a8a1aad9..5dcd28f7 100644 --- a/index.html +++ b/index.html @@ -1,18 +1,144 @@
+ +