~~ * { user-select: none; } :root { --bg-light: #f7f7f7; --bg-dark: #f0f0f0; --border-color: #333; --text-color: #333; --ascii-border: '┌─┐│└┘'; } input, textarea, [contenteditable], [contenteditable="true"] { user-select: auto !important; z-index: 2; } body { font-family: 'MS Sans Serif', 'apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif, monospace, serif !important; font-size: 1.15em; color: #222; width: 100%; margin: 0 auto; z-index: 100 !important; background-color: white; background-image: url("/background-2.jpeg"); background-position: center; background-repeat: no-repeat; background-size: cover; overflow-x: hidden !important; height: 100vh; overflow: hidden; cursor: default; display: none; } input { border: none; border-bottom: 1px dashed #000; } input:focus, input:active { outline: none; box-shadow: none; border: 1px solid #ccc; background-color: #fff; color: #000; transition: none; font-size: 1em; border: 1px dashed #000; } code,code *{ font-family:monospace } summary:focus{ outline:1px dotted #000 } ::-webkit-scrollbar{ width:16px } ::-webkit-scrollbar:horizontal{ height:17px } ::-webkit-scrollbar-corner{ background:#dfdfdf } ::-webkit-scrollbar-thumb{ background-color:#dfdfdf; box-shadow:inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey,inset 2px 2px #dfdfdf } ::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:horizontal:start:decrement,::-webkit-scrollbar-button:vertical:end:increment,::-webkit-scrollbar-button:vertical:start:decrement{ display:block } ::-webkit-scrollbar-button:vertical:start{ height:17px } ::-webkit-scrollbar-button:vertical:end{ height:17px } ::-webkit-scrollbar-button:horizontal:start{ width:16px } ::-webkit-scrollbar-button:horizontal:end{ width:16px } /* ------------------- UTILITIES ------------------- */ .hidden { display: none; } .no_outline { outline: none !important; } .text_align_center { text-align: center; } .cursor-pointer { cursor: pointer; } .display_flex { display: flex; } .display_block { display: block; } .center_block { display: block; margin: 0 auto !important;} .justify_content_space_between { justify-content: space-between; } .justify_content_space_around { justify-content: space-around; } .justify_content_space_evenly { justify-content: space-evenly; } .z_index_0 { z-index: 0 } .z_index_1 { z-index: 1 } .z_index_2 { z-index: 2 } .width_100 { width: 100%; } .height_100 { height: 100%; } .display_none { display: none !important; } .no_border { border: none !important; } .no_boxshadow { box-shadow: none; } .bold { font-weight: 800 !important; } .italic { font-style: italic; } .color_red { color: #c53d3d; } .color_green { color: #6fc53d; } .color_blue { color: #5252ff; } .color_gray { color: #4b4b4b; } .float_right { float: right; } .float_left { float: left; } .align_left { text-align: left;; } .text_decoration_none { text-decoration: none !important; } .display_inline { display: inline; } .selected { border: 1px dashed #000; } .margin_left_10px { margin-left: 10px; } .margin_left_20px { margin-left: 20px; } .margin_top_0 { margin-top: 0px; } .border_sizing_border_box { box-sizing: border-box; } .overflow_auto { overflow: auto; } .selectable { user-select: auto !important; } .no_content { content: '' !important; } .placeholder_text_black::placeholder { color: black; } .no_underline { text-decoration: none !important; } .iphone_radius { border-radius: calc(width * 2/9); } .is_mobile { display: none; } .hide_desktop { display: none !important; } desktop { display: inherit; } comment { display: none; } mobile { display: none !important; } grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); grid-template-rows: repeat(10, 100px); gap: 20px; padding: 20px; justify-content: start; align-content: start; } grid-item { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; height: 100px; cursor: pointer; } /*TODO: separate structural classes than styled ones?*/ /* ------------------- UTILITIES ------------------- */ /* ------------------- THEMED ------------------- */ /*light mode*/ /* System dark mode preference */ @media (prefers-color-scheme: light) { :root { --background-color: #ffffff; --text-color: #000000; --primary-color: #fdd835; --secondary-color: blue; } p { color: #000; } } /* System dark mode preference */ @media (prefers-color-scheme: dark) { :root { --background-color: #121212; --text-color: #ffffff; --primary-color: #fdd835; --secondary-color: red; } p { color: #000; } } /*TODO: remove un-used styles*/ /*TODO: set every color as a variale*/ .highlight { background-color: var(--primary-color); } .selected { border-bottom: 1px dashed #000 !important; } .tag { display: inline-block; font-weight: bold; border-bottom: 1px dashed #7d7d7d; color: #666; color: var(--secondary); cursor: pointer; margin: 2px 2px; padding: 3px 5px; text-align: center; } .container { font-family: apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif, 'mono', monospace; outline: none; font-size: 16px; max-width: 800px; margin: 10px auto; background-color: #f9f9f9; color: #333; /*line-height: 1.6;*/ padding: 20px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); background: #fff; border: 1px dashed #dfdfdf !important; width: fit-content; max-width: 60%; min-width: 40%; max-width: 100%; width: 96%; height: 90vh; overflow: auto; } .line { font-family: 'mono', monospace; cursor: pointer; outline: none !important; font-size: 16px; max-width: 800px; margin: 20px auto; color: #333; padding: 20px; background: #fff; border-bottom: 1px dashed #dfdfdf !important; padding: 4px; width: 100%; height: fit-content; border: beige; margin: 0; margin-top: 2px; } .link { margin: 10px; cursor: pointer; text-decoration: none; border-bottom: 1px dashed #c8c8c8; max-height: 25px; color: #4b4b4b; } img { border: 1px dashed #eee; border-radius: 10px; max-width: 90%; width: 300px; } .icon { width: 15px; height: 15px; background: #f4f4f4; border-radius: 3px; border: 1px dotted #000; margin-right: 5px; position: relative; top: 2px; } /* ------------------- THEMED.DESKTOP ------------------- */ .desktop { height: calc(100vh - 30px); position: relative; } .desktop-icon { position: absolute; width: 70px; height: 80px; display: flex; flex-direction: column; align-items: center; cursor: pointer; padding: 5px; border-radius: 2px; color: white; text-shadow: 1px 1px 2px rgba(0,0,0,0.8); } .desktop-icon:hover { background: rgba(0,0,128,0.3); } .desktop-icon.selected { background: rgba(0,0,128,0.5); } .desktop-icon img { width: 32px; height: 32px; margin-bottom: 5px; } .desktop-icon span { text-align: center; font-size: 10px; line-height: 12px; } .desktop { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); grid-auto-rows: minmax(100px, auto); gap: 10px; padding: 10px; } .desktop-icon { display: flex; flex-direction: column; align-items: center; text-align: center; cursor: pointer; } .desktop-icon img { width: 79px; height: 80px; object-fit: contain; } .desktop-icon span { font-size: 14px; color: #333; width: 100%; line-break: anywhere; margin-top: 2px; } /* ------------------- THEMED.DESKTOP ------------------- */ /* ------------------- THEMED.TASKBAR ------------------- */ .taskbar { position: fixed; bottom: 0; left: 0; right: 0; height: 30px; background: linear-gradient(to bottom, #c0c0c0 0%, #a0a0a0 100%); border-top: 1px solid #ffffff; display: flex; align-items: center; z-index: 1000; display: inline-flex; } .start-button { height: 24px; padding: 0 10px; margin: 2px; background: linear-gradient(to bottom, #c0c0c0 0%, #a0a0a0 100%); border: 1px outset #c0c0c0; font-weight: bold; display: flex; align-items: center; cursor: pointer; font-size: 11px; } .start-button:active { border: 1px inset #c0c0c0; } .start-button img { width: 16px; height: 16px; margin-right: 5px; } .taskbar-time { margin-left: auto; margin-right: 5px; padding: 2px 5px; border: 1px inset #c0c0c0; font-size: 10px; background: #c0c0c0; display: flex; height: 30px; height: 20px; } .taskbar-left-item { margin-left: auto; margin-right: 5px; padding: 2px 5px; border: 1px inset #c0c0c0; font-size: 10px; background: #c0c0c0; } .start-menu { position: absolute; bottom: 30px; left: 0; width: 200px; background: #c0c0c0; border: 1px outset #c0c0c0; box-shadow: 2px 2px 5px rgba(0,0,0,0.3); } .start-menu-right { position: absolute; bottom: 30px; left: 200px; width: 200px; background: #c0c0c0; border: 1px outset #c0c0c0; box-shadow: 2px 2px 5px rgba(0,0,0,0.3); } .start-menu-header { background: linear-gradient(to right, #000080, #0000ff); color: white; padding: 5px; font-weight: bold; font-size: 12px; } .start-menu-item { padding: 3px 25px; cursor: pointer; display: flex; align-items: center; font-size: 11px; } .start-menu-item:hover { background: #000080; color: white; } .start-menu-item img { width: 16px; height: 16px; margin-right: 8px; } /* ------------------- THEMED.TASKBAR ------------------- */ /* ------------------- THEMED.FOLDERS ------------------- */ .folder-item { display: flex; flex-direction: column; align-items: center; cursor: pointer; padding: 5px; border-radius: 2px; } .folder-item:hover { background: #e0e0e0; } .folder-item img { width: 32px; height: 32px; margin-bottom: 5px; } .folder-item span { font-size: 10px; text-align: center; } /* ------------------- THEMED.FOLDERS ------------------- */ /* ------------------- THEMED.CONTEXTMENU ------------------- */ .context_menu { position: absolute; background: #c0c0c0; border: 1px solid #000; z-index: 1000; } .context_menu_item { padding: 4px 20px; cursor: default; display: flex; align-items: center; } .context_menu_item:hover { background: #000080; color: #fff; } .context_menu_item.disabled { color: #808080; } .context_menu_item.disabled:hover { background: none; color: #808080; } .context_menu_item img { margin-right: 8px; width: 16px; height: 16px; } .context_menu_separator { border-top: 1px solid #808080; border-bottom: 1px solid #fff; margin: 2px 0; } /* ------------------- THEMED.CONTEXTMENU ------------------- */ /* ------------------- THEMED.COMMAND_PALLET ------------------- */ /* #command-input { padding: 0; font-size: 1em; } #command-input::placeholder { color: #86868b; transition: opacity 0.3s ease; } #command-input:focus { border-color: #007aff; box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1), 0 8px 30px rgba(0, 122, 255, 0.15); background: rgba(255, 255, 255, 0.95); opacity: 1; } #command-input:focus::placeholder { opacity: 0.6; } */ /* ------------------- THEMED.COMMAND_PALLET ------------------- */ /* ------------------- THEMED ------------------- */ /*if: mobile*/ @media screen and (max-width: 1000px) { #ui { width: 98%; margin: 0 auto; } #apps { display: block; width: 97%; } mobile { display: inherit !important; } desktop { display: none !important; } .is_mobile { display: none; } .hide_mobile { display: none !important; } }

new flashcard

not found

papelOS