mirror of
https://gitlab.com/aviortheking/code-stats-vscode.git
synced 2025-06-07 15:59:54 +00:00
Html view
This commit is contained in:
parent
c578f8484a
commit
454fa33ce1
@ -25,31 +25,34 @@ class HtmlProvider implements TextDocumentContentProvider {
|
|||||||
return `
|
return `
|
||||||
<style>
|
<style>
|
||||||
.tile {
|
.tile {
|
||||||
display: block;
|
|
||||||
float: left;
|
float: left;
|
||||||
width: 100px;
|
width: 7rem;
|
||||||
|
height: 7rem;
|
||||||
min-height: 100px;
|
padding-top: 2.5rem;
|
||||||
background: red;
|
text-align: center;
|
||||||
margin: 2px;
|
background: gray;
|
||||||
border-radius: 5%;
|
margin: 0.1rem;
|
||||||
border: 10px;
|
border-radius: 50%;
|
||||||
|
border-style: solid 2px;
|
||||||
border-color: black;
|
border-color: black;
|
||||||
|
|
||||||
padding: 10px;
|
color: #ddca7e;
|
||||||
color: white;
|
font-size: 0.8em;
|
||||||
font-weight: bold;
|
|
||||||
text-align: center;
|
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tile span {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
.tile:nth-child(even) {
|
.tile:nth-child(even) {
|
||||||
background: blue;
|
background: gray;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<div class="tile">C#</div>
|
<div class="tile">C#<span style="display:block;">10</span></div>
|
||||||
<div class="tile">Elixir</div>
|
<div class="tile">Elixir</div>
|
||||||
<div class="tile">TypeScript</div>
|
<div class="tile">TypeScript</div>
|
||||||
<div class="tile">Rust</div>
|
<div class="tile">Rust</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user