html { font-family: sans-serif; background: #eee; /* padding: 1rem; */ } body { min-width: 480px; max-width: 960px; margin: 0 auto; /* background: white; */ } h1, h2, h3, h4, h5, h6 { font-family: serif; color: #377ba8; margin: 0; } h1 { font-size: 22pt; /* margin: 0.5rem 0; */ } h2 { font-size: 18pt; } h3 { font-size: 14pt; } p { font-size: 12pt; } a { color: #377ba8; } hr { border: none; border-top: 1px solid lightgray; } nav { min-height: 80px; background: #042254; /* PUCP dark blue 1 */ display: flex; align-items: center; justify-content: space-between; padding: 0 0.5rem; } nav a, nav span { color: white; } nav h1 { /* flex: auto; */ margin: 0; } nav h1 a { text-decoration: none; padding: 0.25rem 0.5rem; } nav ul { display: flex; list-style: none; margin: 0; padding: 0; } .pad-navbar-links { margin-left: 2rem; margin-right: 2rem; } nav ul li a, nav ul li span, header .action { display: block; padding: 0.5rem; } .content { background: white; margin-top: 1rem; padding: 0 1rem 1rem; } /* header */ .content > header { border-bottom: 1px solid lightgray; /* display: flex; align-items: flex-end; */ margin-bottom: 1em; } .content > header h1 { flex: auto; margin: 0.5rem 0 0.25rem 0; } .content > header a { display:block; } .flex-container-horizontal { display: flex; align-items: center; } /* tooltip */ .tooltip { position: relative; display: inline-block; border-bottom: 1px dotted black; } .tooltip .tooltiptext { visibility: hidden; width: max-content; min-width: 10rem; max-width: 60rem; /* white-space: nowrap; */ background-color: rgba(255, 255, 224, 0.9); color: black; text-align: left; border: 1px solid darkgoldenrod; /* border-radius: 6px; */ padding: 0 0.2em; /* Position the tooltip */ position: absolute; z-index: 1; top: 100%; left: 100%; margin-left: -5rem; } .tooltip:hover .tooltiptext { visibility: visible; } /* flash */ .flash { margin: 1em 0; padding: 1em; background: #cae6f6; border: 1px solid #377ba8; } /* students */ /* table */ .students-table { padding: 2em; width: 100%; border-collapse: collapse; } .students-table th, .students-table td { border: 1px solid #ccc; padding: 0.2em 0.2em; } .report-info { display: flex; justify-content: space-between; padding: 5em; margin-top: 5em; } .table-pagination { display: flex; flex-direction: row; align-items: flex-end; } .table-pagination > .page-list { display:none; /* flex:auto; */ /* display: flex; */ /* flex-direction: column; */ /* align-items: flex-end; */ justify-content: flex-end; margin-right: 1em; } .table-pagination > .page-list a { margin-left: .2em } .filter-criteria { margin-top: 1em; margin-bottom: 1em; } .filter-criteria fieldset { display: flex; /* justify-content: space-between; */ border: 0; padding: 0; align-items: flex-end; justify-content: left; } .filter-criteria label { width: auto; display: block; font-size: small; } /* .filter-criteria input { position: absolute; bottom: 0; right: 0; } */ .filters-list select { margin-right: 2em; } /* student.details */ .chart { /* width: 100%; */ flex-shrink: 1; overflow: auto; /* width:min-content; */ } .chart img { max-width: 100%; max-height: 100%; display: block; } .student-details-body { display: flex; justify-content: space-between; min-height: 20em; } .student-details-body > div { padding: .5em; border: 1px solid black; } .student-details-body > #information-left { width: 40%; margin-right: 1em; } .student-details-body > #information-right { flex: auto; } /* load_data */ ul.data-validation-list { list-style: none; margin-left: 2em; padding-left: 0; } ul.data-validation-list li:before { content: '☑️'; padding-right: 1em; } ul.data-validation-list li { /* padding-left: 0.5em; */ text-indent: -2em; } .load-data-step { margin-top: 1em; padding: 0 .5em; border: 1px solid black; } .load-data-step .left { /* background-color: aqua; */ padding-right: 1em; } .load-data-step .right { width: 40%; } /* dashboard */ .dashboard-graphics { display: flex; flex-wrap: wrap; justify-content: space-between; } .dashboard-graphics .flex-item { flex-basis: calc(50% - 10px); /* Each item takes up 50% width minus the gap */ margin-bottom: 10px; /* Gap between flex items */ border: 1px solid #ccc; padding: 20px; text-align: center; box-sizing: border-box; /* Include padding and border in item width */ max-width: 420px; } /* post */ .post > header { display: flex; align-items: flex-end; font-size: 0.85em; } .post > header > div:first-of-type { flex: auto; } .post > header h1 { font-size: 1.5em; margin-bottom: 0; } .post .about { color: slategray; font-style: italic; } .post .body { white-space: pre-line; } .content:last-child { margin-bottom: 0; } .content .simple-form { margin: 1em 0; display: flex; flex-direction: column; } /* .content label { font-weight: bold; margin-bottom: 0.5em; } */ /* .content input, */ .content textarea { margin-bottom: 1em; } .content textarea { min-height: 12em; resize: vertical; } input.danger { color: #cc2f2e; } input[type="submit"] { align-self: start; /* min-width: 10em; */ } /* text status styles */ .text-high-risk { color: red; background-color: rgba(255, 0, 0, .2); } .text-medium-risk { color: orange; } .text-low-risk { color: green; }