a MVC framework for php
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

126 lines
2.4 KiB

<html>
<head>
<title>{{title}}</title>
<style type=text/css>
* {
box-sizing: border-box;
}
aside.list {
border-right: solid 1px #eee;
}
body {
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, Helvetica Neue, Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
padding: 2rem;
background: #e5e7eb;
color: #1f2937;
}
.badge {
background : #6b72800d;
display: inline-block;
padding: 0.5rem 1rem;
border-radius: 4px;
color: #444;
}
.card {
background: white;
box-shadow: 0 0 16px rgba(0, 0, 0, 0.3);
margin-bottom: 4rem;
position: relative;
border-radius: 0.5em;
}
.card:not(.edgeless) {
padding: 2rem;
}
.list-item {
padding: 1rem 2rem;
transition: all 0.2s ease-in-out;
}
.list-item:not(.active) {
cursor: pointer;
}
.list-item h3 {
margin: 0.5rem 0 0 0;
}
.list-item:not(:last-of-type) {
border-bottom : solid 1px #ddd;
}
.list-item:hover {
background : #ef444433;
}
.list-item.active {
background: #ef4544;
}
.list-item.active, .list-item.active * {
color: white !important;
}
.file {
color: #aaa;
display: block;
}
.info {
display: flex;
white-space: nowrap;
gap: 1rem;
color: #888;
font-weight: bold;
position: absolute;
top: 2rem;
right: 2rem;
}
.info * {
flex: 1;
}
.grid {
display: grid;
}
.grid.thirty-seventy {
grid-template-columns: 1fr 3fr;
}
.hljs-ln-code {
padding-left: 2rem !important;
white-space: pre-wrap;
}
.hljs-ln tr td {
padding: 0.5rem 0;
}
.code, .hljs {
background: #fcfcfd !important;
}
.code {
position: relative;
}
.code .file {
position: absolute;
top: 1rem;
right: 2rem;
}
.hljs-ln-numbers {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
text-align: center;
color: #aaa;
vertical-align: top;
padding-right: 5px;
/* your custom style here */
}
</style>
</head>
<body>
{{$content}}{{/content}}