Compare commits

...

6 Commits

Author SHA1 Message Date
filifa b945307333 remove some unneeded info 2025-04-07 21:49:26 -04:00
filifa 44d6b3e8f5 add disclaimer 2025-04-07 21:49:23 -04:00
filifa dc3e783e8c use tabs 2025-04-07 20:33:45 -04:00
filifa 509babde8e move styling to external file 2025-04-07 20:33:42 -04:00
filifa 240898309a add link to statsapi docs 2025-04-07 19:08:57 -04:00
filifa b743ecf326 add generated docs for stats api 2025-04-07 18:23:11 -04:00
3 changed files with 8378 additions and 3 deletions

View File

@ -27,9 +27,12 @@
<h1>Hi.</h1>
<p>Welcome to one of the most boring websites on the internet.</p>
<p>The only interesting thing here right now is
<a href='mgs/mgs.html'>this Metal Gear Solid trivia game I made.</a>
</p>
<p>Feel free to peruse any of the <em>two</em> (2) interesting things
on this site:</p>
<ul>
<li><a href='mgs/mgs.html'>this Metal Gear Solid trivia game I made</a>
<li><a href='statsapi/index.html'>generated documentation for MLB's Stats API</a>
</ul>
</article>
</main>
<footer>

8193
statsapi/index.html Normal file

File diff suppressed because it is too large Load Diff

179
styles/statsapi.css Normal file
View File

@ -0,0 +1,179 @@
body {
font-family: Trebuchet MS, sans-serif;
font-size: 15px;
color: #444;
margin-right: 24px;
}
aside {
background-color: lightgray;
border: 1px solid black;
color: black;
padding: 8px;
}
h1 {
font-size: 25px;
}
h2 {
font-size: 20px;
}
h3 {
font-size: 16px;
font-weight: bold;
}
hr {
height: 1px;
border: 0;
color: #ddd;
background-color: #ddd;
}
.app-desc {
clear: both;
margin-left: 20px;
}
.param-name {
width: 100%;
}
.license-info {
margin-left: 20px;
}
.license-url {
margin-left: 20px;
}
.model {
margin: 0 0 0px 20px;
}
.method {
margin-left: 20px;
}
.method-notes {
margin: 10px 0 20px 0;
font-size: 90%;
color: #555;
}
pre {
padding: 10px;
margin-bottom: 2px;
}
.http-method {
text-transform: uppercase;
}
pre.get {
background-color: #0f6ab4;
}
pre.post {
background-color: #10a54a;
}
pre.put {
background-color: #c5862b;
}
pre.delete {
background-color: #a41e22;
}
.huge {
color: #fff;
}
pre.example {
background-color: #f3f3f3;
padding: 10px;
border: 1px solid #ddd;
}
code {
white-space: pre;
}
.nickname {
font-weight: bold;
}
.method-path {
font-size: 1.5em;
background-color: #0f6ab4;
}
.up {
float: right;
}
.parameter {
width: 500px;
}
.param {
width: 500px;
padding: 10px 0 0 20px;
font-weight: bold;
}
.param-desc {
width: 700px;
padding: 0 0 0 20px;
color: #777;
}
.param-type {
font-style: italic;
}
.param-enum-header {
width: 700px;
padding: 0 0 0 60px;
color: #777;
font-weight: bold;
}
.param-enum {
width: 700px;
padding: 0 0 0 80px;
color: #777;
font-style: italic;
}
.field-label {
padding: 0;
margin: 0;
clear: both;
}
.field-items {
padding: 0 0 15px 0;
margin-bottom: 15px;
}
.return-type {
clear: both;
padding-bottom: 10px;
}
.param-header {
font-weight: bold;
}
.method-tags {
text-align: right;
}
.method-tag {
background: none repeat scroll 0% 0% #24A600;
border-radius: 3px;
padding: 2px 10px;
margin: 2px;
color: #FFF;
display: inline-block;
text-decoration: none;
}