mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
fixing the style of index.html a bit
This commit is contained in:
@@ -8,26 +8,24 @@ html {
|
||||
}
|
||||
|
||||
body {
|
||||
align-items: center;
|
||||
background-color: #f3f2f1;
|
||||
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjxzdmcgIHdpZHRoPSI2MDAiICBoZWlnaHQ9IjYwMCIgIHZpZXdCb3g9IjAgMCA2MDAgNjAwIiAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDMwMCwzMDApIj4gICAgPHBhdGggZD0iTTEyMi42LC0xMTQuOEMxNzAuMywtNzUsMjI4LjEsLTM3LjUsMjM0LjQsNi4yQzI0MC42LDUwLDE5NS4zLDk5LjksMTQ3LjYsMTI5LjZDOTkuOSwxNTkuMyw1MCwxNjguNiw0LjcsMTYzLjlDLTQwLjUsMTU5LjIsLTgxLjEsMTQwLjQsLTExNS43LDExMC43Qy0xNTAuNCw4MS4xLC0xNzkuMiw0MC41LC0xOTMuOCwtMTQuNkMtMjA4LjQsLTY5LjgsLTIwOC45LC0xMzkuNSwtMTc0LjIsLTE3OS40Qy0xMzkuNSwtMjE5LjIsLTY5LjgsLTIyOS4xLC0xNi4xLC0yMTNDMzcuNSwtMTk2LjgsNzUsLTE1NC42LDEyMi42LC0xMTQuOFoiIGZpbGw9IiMzZDk3ZTMiIC8+ICA8L2c+PC9zdmc+);
|
||||
background-attachment: fixed;
|
||||
background-position: 50% 50%;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 900px 740px;
|
||||
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.Container {
|
||||
justify-content: center;
|
||||
padding: 20px;
|
||||
padding: 20px 0;
|
||||
max-width: 1040px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.Tiles {
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
grid-gap: 20px;
|
||||
max-width: 1000px;
|
||||
display: grid;
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
|
||||
16
index.html
16
index.html
@@ -6,6 +6,10 @@
|
||||
<link rel="stylesheet" href="./assets/shared.css" />
|
||||
</head>
|
||||
<body class="ms-Fabric">
|
||||
<div class="Container">
|
||||
<h1>Frontend Bootcamp</h1>
|
||||
<a href="https://github.com/kenotron/bootcamp">github sources</a>
|
||||
</div>
|
||||
<div class="Container">
|
||||
<ul class="Tiles">
|
||||
<li class="Tile Tile--intro">
|
||||
@@ -85,7 +89,7 @@
|
||||
<li class="Tile">
|
||||
<div class="Tile-link">
|
||||
Step 3<br />
|
||||
UI Fabric: Theming and Styling
|
||||
Theming and Styling
|
||||
<div><a target="_blank" href="/step2-03/demo/">demo</a> | <a target="_blank" href="/step2-03/exercise/">exercise</a></div>
|
||||
</div>
|
||||
</li>
|
||||
@@ -99,31 +103,31 @@
|
||||
<li class="Tile">
|
||||
<a target="_blank" href="/step2-05/" class="Tile-link">
|
||||
Step 5<br />
|
||||
Redux 1: Reducers
|
||||
Redux: Reducers
|
||||
</a>
|
||||
</li>
|
||||
<li class="Tile">
|
||||
<a target="_blank" href="/step2-06/" class="Tile-link">
|
||||
Step 6<br />
|
||||
Redux 2: Dispatch Actions
|
||||
Redux: Dispatch Actions
|
||||
</a>
|
||||
</li>
|
||||
<li class="Tile">
|
||||
<a target="_blank" href="/step2-07/" class="Tile-link">
|
||||
Step 7<br />
|
||||
Redux 3: Connect to UI
|
||||
Redux: Connect to UI
|
||||
</a>
|
||||
</li>
|
||||
<li class="Tile">
|
||||
<a target="_blank" href="/step2-08/" class="Tile-link">
|
||||
Step 8<br />
|
||||
Redux 4: Combine Reducers
|
||||
Redux: Combine Reducers
|
||||
</a>
|
||||
</li>
|
||||
<li class="Tile">
|
||||
<a target="_blank" href="/step2-09/" class="Tile-link">
|
||||
Step 9<br />
|
||||
Redux 5: Service Calls
|
||||
Redux: Service Calls
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user