* { margin: 0; padding: 0; font-family: sans-serif; box-sizing: border-box; } .clear { clear: both; } html, body { /* To vertically center align */ display: table; position: absolute; top: 0; left: 0; height: 100%; width: 100%; } h1, h2, h3, h4, a { color: #666666; } h1, h2, h3, h4 { margin: 0 0 10px; } a { text-decoration: none; } a:hover { text-decoration: underline; } .homepage .center { text-align: center; /* To vertically center align */ display: table-cell; vertical-align: middle; } .section { margin: 50px auto; } .searcharea { border: 1px solid #b3b3b3; border-radius: 30px; max-width: 800px; } .searchinput { width: 75%; color: #666666; background: none; border: none; font-size: 22px; float: left; padding: 10px 25px; box-sizing: border-box; outline: none; } .searchsubmit { float: right; width: 20%; background: #333333; color: #f2f2f2; border: none; border-radius: 30px; padding: 10px 20px; margin: 2px; font-size: 18px; cursor: pointer; } .links.section li { display: inline-block; margin: 0 10px; color: #666666; } .hbmenu { position: absolute; top: 0; right: 0; background: #ffffff; /* Remove focus border */ outline: none; z-index: 100; } .hbmenu .hbbtn { display: block; padding: 15px 20px; content: "\2630"; color: #666666; font-size:24px; cursor: pointer; } .hbmenu:focus { pointer-events: none; height: 100%; border-left: 1px solid #b3b3b3; padding: 0; } .hbmenu .menu { display: none; z-index: 1000; pointer-events: auto; } .hbmenu:focus .menu { display: unset; } .hbmenu .menu li { display: block; } .hbmenu .menu li a { display: inline-block; width: 160px; padding: 15px 20px; } /* ----- Search result page ----- */ .resultpage .navbar { padding: 10px 10px; } .resultpage .logo { margin: 20px 0 0 10px; } .resultpage .hbbtn { margin: 20px 0 0; } .resultpage .logo img { width: 150px; float: left; } .resultpage .searcharea { margin: 20px auto; max-width: 600px; } .resultpage .resultarea { margin: 0 auto; max-width: 600px; padding: 10px 25px; color: #666666; } .resultpage .resultinfo { font-style: italic; margin: 0 0 10px 0; } .resultarea .result:last-child { border-bottom: none; } .result { padding: 30px 0; border-bottom: 1px solid #d6d6d6; } .result .useravatar { border-radius: 100px; border: 3px solid #4d4d4d; width: 50px; height: 50px; float: left; margin-right: 10px; } .result .useravatar img { border-radius: 100px; width: 44px; height: 44px; } .result .resulttop { height: 54px; margin: 0 0 10px 0; } .result .userdata { width: 70%; float:left; } .result .userlabel, .result .userident { display: block; width: auto; } .result .userlabel { font-weight: bold; padding-bottom: 2px; padding: 2px 0; color: #4d4d4d; } .result .userident { padding: 0 0; } .result .actions { float: right; padding: 5px 10px; display: none; } .result:hover .actions { display: unset; } .result .actions li { list-style: none; display: inline-block; margin: 0 2px; } .result:hover .actions li a { padding: 2px; border-radius: 100px; background: #e6e6e6; display: inline-block; width:36px; height:36px; } .result:hover .actions li a:hover { background: #cccccc; } .result:hover .actions li img { width: 18px; height: 18px; margin: 7px 0 0 7px; } .pagin { text-align: center; margin: 50px 0; } .pagin ul { list-style: none; } .pagin ul li { display: inline-block; } .pagin a { padding: 10px; display: inline-block; border-radius: 30px; min-height: 40px; min-width: 40px; } .pagin a:hover { background: #e6e6e6; /* No underline for pagination links */ text-decoration: none; } .pagin a.current { background: #333333; color: #f2f2f2; } .sidebar { position: absolute; top: 100px; width: 300px; padding: 20px 30px; } .left.sidebar { left: 0; } .right.sidebar { right: 0; } .sidebar .list { list-style: none; } .sidebar h4, .sidebar h5 { margin-top: 10px; } .list.checks li a { /* Create place for checkmark */ padding-left: 20px; } .list li.current a { font-weight: bold; } .list.checks li.current { background: url("../images/checkmark.png") no-repeat; /* Size of checkmark */ background-size: 15px; background-position-y: 5px; }