UNPKG

html-pages

Version:

Simple development HTTP Server for file serving and directory listing made by a Designer. Use it for hacking your HTML/JavaScript/CSS files but not for deploying your final site.

444 lines (381 loc) 7.82 kB
/*------------------------------------*\ HTML Page by @DanielCardoso Theme name: Pages Theme author: @DanielCardoso \*------------------------------------*/ @import url("//fonts.googleapis.com/css?family=Roboto:300,400,500"); * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; margin: 0; } html, body { height: 100%; min-height: 100%; font-family: "Roboto", "Helvetica Neue", "Lucida Grande", "Arial", sans-serif; font-size: 1em; color: #80858b; background: #f2f2f2; } body { position: relative; height: auto; padding-bottom: 50px; font-size: 14px; font-weight: 300; line-height: normal; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-backface-visibility: hidden; } code { font-family: consolas,monospace; } a, img { border: none; outline: none; } a { color: rgba(0,0,0,.85); text-decoration: none; -webkit-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; } a:hover { color: #2196F3; } a:active, button:active { outline: none; } /* -------------------------------- Basic Style -------------------------------- */ /*------------------------------------*\ Error Wrapper \*------------------------------------*/ .error-page { height: 100%; padding: 0; border-width: 0; } .error-page section.vertical-aligned { display: table; } .error-page section.vertical-aligned > .section-content { display: table-cell; vertical-align: middle; } .error-page section { position: relative; width: 100%; height: 100%; min-height: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding-top: 3rem; padding-bottom: 3rem; margin-bottom: -10px; color: #2c2c2c; text-align: center; background: #fafafa; } .error-page h1 { margin: 0; font-size: 90px; font-weight: 900; line-height: 90px; } .error-page h2 { margin: 20px 0; font-size: 28px; line-height: 40px; } .error-page p { display: block; margin: 0; margin: 0 0 10px 0; font-size: 13px; font-style: normal; font-weight: normal; line-height: 22px; color: #626262; letter-spacing: .01em; white-space: normal; } .light-typo { font-weight: 200; } .error-page .page { margin-top: -40px; } .error-page .error__footer { position: relative; z-index: 10; margin: 0 auto; -webkit-transform: translatey(-100%); -ms-transform: translatey(-100%); transform: translatey(-100%); } .error-page .error__footer-inner { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; width: 90%; max-width: 350px; margin: 0 auto; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; -ms-flex-pack: justify; -ms-flex-align: center; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; -webkit-box-align: center; -webkit-align-items: center; align-items: center; } .error-page .error__footer-inner > div { padding: 0 5px; } .error-page .error__footer-logo img { display: block; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; padding: 4px; background: #fff; border: 1px solid #bbb; -webkit-border-radius: 8px; border-radius: 8px; } .error-page .error__footer-description { font-size: 12px; line-height: 1.45em; } /*------------------------------------*\ Wrapper \*------------------------------------*/ .wrapper { position: relative; max-width: 94%; margin: 0 auto; } /*------------------------------------*\ Breadcrumb \*------------------------------------*/ .breadcrumb { padding: 0; } .breadcrumb:after { display: table; clear: both; content: ""; } .breadcrumb li { display: inline-block; margin: 0; font-size: 1em; font-weight: 500; float: left; } .breadcrumb li:after { display: inline-block; margin: 0 .2em; line-height: 1.8em; color: #bdc3c7; content: "›"; } .breadcrumb li:last-of-type:after { display: none; } .breadcrumb li > * { display: inline-block; padding: 0 5px; font-size: 1em; line-height: 1.8em; letter-spacing: -.2px; float: left; -webkit-border-radius: 2px; border-radius: 2px; } .breadcrumb li > a:hover:before { -webkit-border-radius: 2px; border-radius: 2px; } .breadcrumb li.current > * { color: #95a5a6; } .no-touch .breadcrumb a:hover { /* steps already visited */ } /*------------------------------------*\ Table (directory listing) \*------------------------------------*/ /*table { table-layout: fixed; width: 100%; font-size: 1em; border-collapse: collapse; } tr { border: 0; outline: 0; } tr:hover td { background: #f6f6f6; } th { font-size: 14px; font-weight: 500; color: rgba(0,0,0,.54); } th, td { line-height: 48px; text-align: left; padding: 0; padding-right: 10px; vertical-align: middle; box-sizing: content-box; } td { color: rgba(0,0,0,.54); text-align: left; border-width: 0; outline: 0; line-height: 42px; transition: background 300ms ease; } tr { border-bottom: 1px solid #eee; } tbody tr:last-child { border-width: 0; } td a { display: block; }*/ .parent a { color: rgba(0,0,0,.45); } .parent a:hover { color: #3498db; } .broken-words { width: 100%; height: 22px; overflow: hidden; line-height: 22px; } .text-left { text-align: left !important; } .text-center { text-align: center !important; } .text-right { text-align: right !important; } .text-nowrap { white-space: nowrap; } .column-file-icon { display: none; width: 25px; padding-right: 0; padding-left: 17px; } .column-file-icon a { padding: 11px 0; padding-right: 5px; } .column-file-name { padding-left: 20px; } .column-file-last-created, .column-file-last-modified { width: 20%; } .column-file-size { width: 60px; padding-right: 20px; } .file-icon { position: relative; display: block; width: 20px; height: 20px; margin-top: 0; margin-top: 0; margin-right: 6px; overflow: hidden; float: left; } .file-type { position: relative; display: block; width: 20px; margin: 0; } .html-pages-view--grid .file-icon { width: 26px; height: 26px; padding: 0; } .html-pages-view--grid .file-type { width: 100%; } /* .file-type { position: relative; display: inline-block; width: 32px; height: 32px; margin-bottom: -5px; transform: scale(0.65); } .file-type--structure { width: 20px; height: 20px; margin-bottom: -5px; transform: scale(1); }*/ .column-file-name a { display: block; width: 100%; padding: 10px 0; margin: -10px 0; overflow: hidden; font-size: 14px; font-weight: 500; -o-text-overflow: ellipsis; text-overflow: ellipsis; white-space: nowrap; } /*------------------------------------*\ Footer \*------------------------------------*/ .footer { position: absolute; right: 0; bottom: 0; left: 0; font-size: .95em; line-height: 40px; text-align: center; }