html, body { width: 100%; height: 100%; font-family: 'Roboto', sans-serif; } body { background-color: white; margin: 0; } ul { list-style-type: none; } a, a:hover { text-decoration: none!important; } h1{ color: #333333; } main { background-image: url("../images/main.jpg"); background-size: 250px 250px; text-align: center; width: 100%; min-height: 80%; display: flex; align-items: center; justify-content: center; flex-flow: column; /* Makes it grow vertically */ } /*** INDEX.HTML ***/ main .search { background-color: rgba(235,235,235, 0.7); overflow: auto; } main .search h2{ font-family: 'Lato', sans-serif; color: gray; font-size: 2.5em; margin: 4%; padding-top: 200px; /* Change to move search bar content. Keep as pixel*/ } .search input { text-align: center; box-sizing: border-box; background: white url('../images/search_icon.png') no-repeat 9px 9px; background-size: 20px 20px; padding: 0; } .search input, .search button.search-button { font-size: 16px; height: 40px; border-radius: 10px; border: 2px solid #ccc; } .input-group { border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -webkit-box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); } main .search img { width: 50px; display: inline; } .home-intro{ color: #808080; padding: 20% 30px 30px 30px; font-style: italic; font-size: 1.2em; } /*** INDEX.HTML END ***/ /*** USER SOLUTIONS ***/ main div { background: none; } main button#add-solution { display: inline-block; background-color: #87B6A7; color: white; } #solutions-main { padding-top: 150px; padding-bottom: 65px; } .top-sol { margin-top: 20px; } .show-path{ margin-top: 10px; } main button#add-solution h3 { margin: 10px 0 10px 0; font-size: 1em; } main p.show-path { display: inline-block; color: #6f6f6f; } main #solutions { padding-top: 2%; text-align: left; margin-left: 7%; } /* General styling for all solution container styles */ main [id^="sol-"] { text-align: left; color: #333; margin-top: 30px; margin-bottom: 30px; box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); padding: 0; } main [id^="sol-"] .post-info { display: flex; justify-content: space-between; background: #F79F79; padding-top: 2%; border-top-right-radius: 15px; border-top-left-radius: 15px; padding-bottom: 5px; width: 100%; } main [id^="sol-"] img.user-image { border: 2px solid darkgray; margin-left: 25px; } .upvoting, .downvoting, .upvote, .downvote, .user-image, .username, .num-votes{ display: inline-block; } main [id^="sol-"] p.username { vertical-align: middle; } main [id^="sol-"] button.upvote, [id^="sol-"] button.downvote { background: transparent no-repeat; border: none; cursor:pointer; overflow: hidden; outline:none; } main [id^="sol-"] button.upvote img, [id^="sol-"] button.downvote img { width: 30px; height: 30px; } main [id^="sol-"] p.num-downvotes, [id^="sol-"] p.num-upvotes { vertical-align: bottom; } main [id^="sol-"] p.username { margin-left: 10px; } main [id^="sol-"] p.num-downvotes { margin-right: 25px; } main [id^="sol-"] .voting{ margin-right: 25px; } main [id^="sol-"] div.user-sol h3 { font-size: 1.17em; background-color: #f0e9e1; padding: 10px 10px 10px 20px; margin-top: 0; margin-bottom: 0; } main [id^="sol-"] div.user-sol p{ padding: 10px; margin: 0; background-color: white; } main [id^="sol-"] div.user-sol p img { width: 60%; height: auto; } main [id^="sol-"] div.comments { background-color: #f0e9e1; border-bottom-right-radius: 15px; border-bottom-left-radius: 15px; padding: 10px; } main [id^="sol-"] div.comments h3 { font-size: 1.17em; padding: 10px 10px 10px 20px; margin-top: 0; margin-bottom: 0; } main [id^="sol-"] div.comments ul li img { width: 40px; vertical-align: top; } main [id^="sol-"] div.comments ul li { background-color: #F7D08A; padding: 10px; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -webkit-box-shadow: 0 2px 2px 0 #C2C2C2; box-shadow: 0 2px 2px 0 #C2C2C2; margin-bottom: 15px; } main [id^="sol-"] div.comments ul li p.comment-username { margin-bottom: 0; margin-top: 5px; } main [id^="sol-"] div.comments ul li img.comment-user-image, li p.comment-username { display: inline-block; } main [id^="sol-"] div.comments ul li p.comment-username, li p.user-comment { vertical-align: top; } main [id^="sol-"] div.comments ul li * { padding: 5px; } main [id^="sol-"] div.comments ul li p.user-comment { margin: 0; background-color: white; border-radius: 5px; } main [id^="sol-"] .voting form{ display: inline; } /*** USER SOLUTIONS END***/ /*** EXAM PAGE ***/ #solutions-header{ color: #333333; font-family: 'Roboto', sans-serif; } #solutions-main{ min-height: 100%; padding-top: 65px; text-align: left; } #solutions-main em { font-weight: bold; } /*the section which holds each of the solutions*/ section.solutions-card{ text-align: left; background-color: white; border-radius: 20px; width: 95%; margin-left: 2.5%; margin-bottom: 2%; padding-bottom: 5px; } section.solutions-card .right-arrow { vertical-align: middle; } section.solutions-card img { margin-top: 12px; margin-right: 8px; width: 40px; height: auto; } h4.search-head { margin-left: 5%; margin-top: 2%; color: dimgray; } /*the title of the course*/ h3.solutions-title{ font-size: large; color: #333333; margin-left: 5%; margin-bottom: 5px; padding-top: 20px; } /*the time of the examination*/ p.solutions-time, p.solutions-type, p.exam-instr{ font-size: medium; color: dimgrey; margin-left: 5%; margin-top: 0; } p.solutions-time { margin-bottom: 2px; } #solutions-footer{ height: 13%; } /*** EXAM PAGE END ***/ /*** EXAM QUESTIONS PAGE ***/ .exam-info { margin-left: 5%; display: inline-block; } img.exam-info { padding: 10px; min-width: 30%; vertical-align: top; } section.exam-info em { font-weight: bold; } .questions-number{ font-size: large; color: #333333; margin-left: 5%; margin-bottom: 5px; } .questions-comment, .questions-sol-num{ font-size: medium; color: dimgrey; margin-top: 0; padding-bottom: 15px; } .questions-sol-num { margin-left: 5%; } /*** EXAM QUESTIONS PAGE END ***/ /*** USER PROFILE PAGE ***/ .user-info-content{ padding-top: 100px; } .user-info-content img{ max-width: 100px; } .user-info-content p{ color: gray; } .prf-sign-off{ margin: 15px; } .prf-tables{ text-align: left; } .prf-details{ text-align: center; } /*** USER PROFILE PAGE END ***/ /*** ABOUT PAGE ***/ .about-p{ padding: 30px 30px 0 30px; font-size: 1.3em; color: #323232; text-align: center; } .abt-name{ padding-top: 15px; } .abt-content{ text-align: center; padding: 15px; } /*** ABOUT PAGE END ***/ /************************** Pop-up Window ************************************/ .login-window, .registration-window, .modal { display: inline-block; text-align: left; vertical-align: middle; padding: 10%; } .login-window h4, .registration-window { text-transform: uppercase; font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif; font-weight: 700; color: #666666; } .login-window .modal-header, .registration-window .modal-header { text-align: center; } /** Form Pages for Admin **/ .admin-form{ padding: 3px; margin: 3px; border-radius: 10px; background-color: rgba(197, 197, 197, 0.6); } /********* Success and Error messages **************************/ .error-msgs { background: #e79892; padding: 5px; margin-bottom: 10px; } .error-msgs ul { list-style: none; padding: 0; } .success-msgs { background: #80cca0; padding: 5px; } /** Admin C-Panel **/ .cpnl-details{ text-align: left; } .cpnl-container{ padding: 4%; } /***** Text Area for Send Message ****/ textarea { resize:vertical; } .table { display:table; } .table-row { display:table-row; } .table-row { border-bottom: 3px solid red; } .table-cell { display:table-cell; padding: 2%; } hr { width: 100%; }