Spaces:
Running
Running
File size: 2,598 Bytes
53873ca |
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 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
/* Paper Styles */
:root {
--paper-bg: #ffffff;
--paper-text: #2c3e50;
--paper-border: #e2e8f0;
--paper-accent: #3498db;
}
body.paper {
font-family: 'Georgia', serif;
background: var(--paper-bg);
color: var(--paper-text);
line-height: 1.6;
padding: 2rem;
max-width: 900px;
margin: 0 auto;
}
/* Typography */
.paper h1,
.paper h2,
.paper h3,
.paper h4 {
font-family: 'Georgia', serif;
line-height: 1.3;
margin-top: 1.5em;
color: var(--paper-text);
}
.paper h1 {
font-size: 2.5rem;
text-align: center;
margin-bottom: 2rem;
padding-bottom: 1rem;
border-bottom: 2px solid var(--paper-border);
}
.paper h2 {
font-size: 2rem;
margin: 3rem 0 2rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid var(--paper-border);
}
.paper h3 {
font-size: 1.5rem;
margin: 2rem 0 1rem;
}
/* Content */
.paper p {
margin-bottom: 1.5rem;
text-align: justify;
}
.paper a {
color: var(--paper-accent);
text-decoration: none;
}
.paper a:hover {
text-decoration: underline;
}
/* Paper Components */
.paper .abstract,
.paper .keywords {
background-color: #f8f9fa;
padding: 1.5rem;
border-radius: 5px;
margin: 2rem 0;
border-left: 3px solid var(--paper-text);
}
.paper .figure {
margin: 2.5rem auto;
text-align: center;
}
.paper .figure img {
max-width: 90%;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.paper .caption {
font-size: 0.9rem;
font-style: italic;
color: #666;
margin-top: 1rem;
}
.paper .references {
margin-top: 3rem;
padding: 2rem;
border-top: 2px solid var(--paper-border);
}
.paper .references ol {
padding-left: 1.5rem;
}
.paper .references li {
margin-bottom: 1rem;
font-size: 0.95rem;
}
/* Code and Diagrams */
.paper .code-example,
.paper .diagram-container {
background: #f8f9fa;
padding: 1.5rem;
border-radius: 8px;
margin: 2rem auto;
max-width: 800px;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.paper pre code {
display: block;
padding: 1rem;
background: white;
border-radius: 4px;
border: 1px solid #e0e0e0;
font-family: 'Consolas', monospace;
font-size: 0.9rem;
line-height: 1.5;
overflow-x: auto;
}
/* Responsive */
@media (max-width: 768px) {
body.paper {
padding: 1rem;
}
.paper h1 {
font-size: 2rem;
}
.paper h2 {
font-size: 1.75rem;
}
.paper h3 {
font-size: 1.5rem;
}
.paper .figure img {
max-width: 100%;
}
} |