@font-face { font-family: "LatoHairline"; src: url("fonts/Lato-Hairline.ttf") format("truetype"); } @font-face { font-family: "LatoLight"; src: url("fonts/Lato-Light.ttf") format("truetype"); } *{ box-sizing:border-box; } html,body{ margin:0; padding:0; } html{ font-family:'LatoLight', 'Lato', sans-serif; font-weight:300; font-size:100%; } a{ text-decoration:none; color:inherit; } #top-bar{ background:#f5f5f5; padding:8px 14px; height:55px; text-align:center; position:relative; font-weight:300; } #top-bar .header{ position:absolute; top:14px; left:14px; display:inline-block; font-size:16px; font-weight:300; line-height:0.9em; background:url('/images/friendica.svg') top left no-repeat; background-size:14px; padding-left:18px; margin:0; } #top-bar .search-form{ margin:0 20px; display:inline-block; } #top-bar .search-wrapper{ background:#fff; } nav#links{ position:absolute; top:0; right:14px; line-height:55px; } nav#links a{ display:inline-block; margin:0 4px; padding:0 5px; } .sub-menu-outer{ background:#eee; line-height:45px; height:45px; border-top:1px solid #ddd; border-bottom:1px solid #ddd; } .sub-menu-outer .sub-menu-inner{ width:500px; margin:auto; } .sub-menu-inner .option{ padding:9px 6px; margin:0 5px; } .sub-menu-inner .option.active{ border-bottom:2px solid #f00; } .search-results, .homepage-wrapper{ width:500px; margin:auto; text-align:center; } .search-results{ margin-bottom:25px; } .homepage-wrapper{ margin:120px auto; } .homepage-wrapper .header{ font-size:68px; font-family:'LatoHairline', 'Lato', sans-serif; font-weight:100; line-height:0.9em; background:url('/images/friendica.svg') top left no-repeat; background-size:61px; margin-left:40px; } .homepage-wrapper .about{ text-align:justify; line-height:1.5em; color:#555; } .homepage-wrapper .profiles{ margin-top:3em; } .profile{ display:table; width:100%; text-decoration:none; color:#000; padding:2px; outline:none; } .profile.selected, .profile:focus, .profile:hover{ padding:1px; border:1px solid #ccc; } .profile .profile-photo, .profile .profile-info{ display:table-cell; vertical-align:top; text-align:left; } .profile .profile-photo{ margin:8px; border-radius:15px; border:1px solid #ddd; } .profile .profile-info{ padding:8px; width:100%; } .profile .profile-info strong{ font-weight:600; } .profile .profile-info .fa{ line-height:1.1em; color:#999; } .profile .profile-info .url{ font-size:80%; margin-bottom:3px; color:#555; } .search-wrapper{ position:relative; display:inline-block; width:500px; background:#f5f5f5; border:1px solid #ddd; border-radius:8px; height:38px; line-height:22px; } .search-wrapper .search-field{ line-height:22px; display:block; border:none; outline:none; background:none; padding:8px 12px; padding-right:117px; width:100%; } .search-wrapper .reset{ position:absolute; top:0; right:65px; height:25px; width:25px; margin:6px; padding:0; line-height:1; font-size:12px; color:#555; background:#eee; border:1px solid #ddd; border-radius:20px; font-family:'FontAwesome'; font-weight:100; } .search-wrapper .search{ border:none; border-left:1px solid #ddd; color:#555; background:#eee; position:absolute; top:0; right:0; height:36px; width:65px; border-radius:0 8px 8px 0; }