UNPKG

five-server

Version:

Development Server with Live Reload Capability. (Maintained Fork of Live Server)

169 lines (163 loc) 2.57 kB
html, body, h1, h2, h3, h4, ul, li, pre, code { margin: 0; padding: 0; outline: 0; } html { background: rgb(255, 255, 255); background: linear-gradient( 0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 25%, rgba(255, 255, 255, 1) 75%, rgba(246, 246, 246, 1) 100% ); background-size: 100vw 100vh; background-repeat: repeat-x; } body { padding: 80px 100px 20px 100px; font: 14px 'Helvetica Neue', 'Lucida Grande', 'Arial'; color: #555; max-width: 1024px; margin: 0 auto; min-height: calc(100vh - 120px); } h1, h2, h3 { font-size: 22px; color: #343434; } h1 em, h2 em { padding: 0 5px; font-weight: normal; } h1 { font-size: 60px; } h2 { margin-top: 10px; } h3 { margin: 5px 0 10px 0; padding-bottom: 5px; border-bottom: 1px solid #eee; font-size: 18px; } ul li { list-style: none; } ul li:hover { cursor: pointer; color: #2e2e2e; } ul li .path { padding-left: 5px; font-weight: bold; } ul li .line { padding-right: 5px; font-style: italic; } ul li:first-child .path { padding-left: 0; } p { line-height: 1.5; } a { color: #555; text-decoration: none; } a:hover { color: #303030; } #stacktrace { margin-top: 15px; } #wrapper { display: flex; flex-direction: column; justify-content: space-between; min-height: calc(100vh - 120px); } .directory h1 { margin-bottom: 15px; font-size: 18px; } .preview .image, .preview code { /* min-width: calc(100vw - 200px - 32px); */ min-height: 160px; padding: 16px; font-size: 14px; border: 1px solid #e9e9e9; border-radius: 5px; box-shadow: 1px 1px 4px 1px rgb(0 0 0 / 10%); } .preview .image { padding: 0; text-align: center; } .footer { text-align: right; padding-top: 32px; color: #d6d6d6; } .footer a { color: #ababab; } /*small*/ @media (max-width: 768px) { body { padding: 80px 24px 40px 24px; } } /*smaller*/ @media (max-width: 640px) { } /*mobile*/ @media (max-width: 480px) { body { padding: 0; } .directory h1 { font-size: 2em; line-height: 1.5em; color: rgb(0, 0, 0); background: rgb(255, 255, 255); padding: 15px 10px; margin: 0; } .message { border-top: 1px solid #cacaca; border-bottom: 1px solid #cacaca; padding: 0px 10px; } .preview .image, .preview code { min-width: calc(100vw - 200px - 32px); min-height: 160px; padding: 16px; padding-bottom: 0px; font-size: 14px; border: none; margin: 0; border-radius: 0px; box-shadow: none; } .footer { text-align: center; } }