Formatting

This commit is contained in:
Josh Abernathy 2022-11-03 15:45:20 +00:00 committed by GitHub
parent 160f4dbb2c
commit 0ca346447a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 30 deletions

View file

@ -1,44 +1,45 @@
body { body {
margin: 0; margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif; sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
code { code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
} }
.App { .App {
text-align: center; text-align: center;
} }
.App-logo { .App-logo {
height: 40vmin; height: 40vmin;
pointer-events: none; pointer-events: none;
} }
.App-header { .App-header {
background-color: #282c34; background-color: #282c34;
min-height: 100vh; min-height: 100vh;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: calc(10px + 2vmin); font-size: calc(10px + 2vmin);
color: white; color: white;
} }
.App-link { .App-link {
color: #61dafb; color: #61dafb;
} }
.heart { .heart {
color: #ff0000; color: #ff0000;
} }
.small { .small {
font-size: 0.75rem; font-size: 0.75rem;
} }

View file

@ -1,11 +1,11 @@
<div class="App"> <div class="App">
<header class="App-header"> <header class="App-header">
<img src="Octocat.png" class="App-logo" alt="logo" /> <img src="Octocat.png" class="App-logo" alt="logo" />
<p> <p>
GitHub Codespaces <span class="heart">♥️</span> Rails GitHub Codespaces <span class="heart">♥️</span> Rails
</p> </p>
<p class="small"> <p class="small">
Edit <code>app/views/hello/index.html.erb</code> and see changes live! Edit <code>app/views/hello/index.html.erb</code> and see changes live!
</p> </p>
</header> </header>
</div> </div>