GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — html_css_javascript/numberKeyboard/style.css at main · starseeker-code/html_css_javascript Expand file tree/ Copy pathstyle.cssMore file actions 128 lines (114 loc) · 2.16 KB / Copy pathstyle.cssFile metadata and controls128 lines (114 loc) · 2.16 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 * { margin: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; } body { --color: #333; --number-btn-bg: #fff; --keyboard-bg: #d9d9d9; --enter-bg: #0ddeb8; --number-active-bg: #e9e9e9; --enter-active-bg: #48f4d5; display: flex; justify-content: center; align-items: center; flex-direction: column; height: 100vh; background: linear-gradient(to top, #a1ffce, #faffd1); font-family: 'Noto Serif SC', serif; } /* phone start */ .phone { width: 375px; height: 667px; background: #fff; border-radius: 2px; position: relative; box-shadow: 2px 2px 26px -8px rgb(104 102 102 / 32%); } .phone__input { width: 80%; height: 38px; border-bottom: 1px solid #1976e1; margin: auto; margin-top: 20%; font-size: 24px; overflow-x: auto; overflow-y: hidden; } .phone__input::before { content: '¥'; font-size: 18px; color: #aaa; position: sticky; left: 0; background-color: #fff; z-index: 2; } /* phone end */ /* keyboard start */ .keyboard { position: absolute; width: 100%; bottom: 0; display: flex; padding: 8px; background-color: var(--keyboard-bg); } .keyboard__numbers { font-size: 0; } .keyboard button { width: calc((var(--width) - 18px) / 4); display: inline-flex; justify-content: center; align-items: center; height: 60px; margin: 0 6px 6px 0; outline: 0; border: 0; padding: 0; color: var(--color); font-size: 18px; border-radius: 2px; background-color: var(--number-btn-bg); cursor: pointer; } .keyboard button:active { background-color: var(--number-active-bg); } .keyboard__zero-dot { display: flex; } .keyboard__zero-dot button { margin-bottom: 0; } .keyboard__zero-dot button:nth-child(1) { flex: 1; } .keyboard__operate { display: flex; flex-direction: column; } .keyboard__operate button { font-size: 16px; margin-right: 0; } .keyboard__operate .enter { flex: 1; margin-bottom: 0; background-color: var(--enter-bg); } .keyboard__operate .enter:active { background-color: var(--enter-active-bg); } .keyboard__operate .delete i { font-size: 18px; } @media screen and (max-width: 414px) { .phone { width: 100%; height: 100vh; } } |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |