Improve colors of snippets

This commit is contained in:
atomiks
2018-03-01 18:18:08 +10:00
parent 0652370731
commit 71016d7938
6 changed files with 37 additions and 37 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -75,9 +75,9 @@
box-sizing: border-box;
width: 200px;
padding: 1.5em;
color: #000;
color: #7983ff;
font-family: sans-serif;
background-color: #ccc;
background-color: white;
border: 5px solid;
}
</style>
@ -274,11 +274,11 @@ in any specification.</span></p>
}
.donut {
display: inline-block;
border: 4px solid rgba(0, 0, 0, 0.25);
border-left-color: blue;
border: 4px solid rgba(0, 0, 0, 0.1);
border-left-color: #7983ff;
border-radius: 50%;
width: 20px;
height: 20px;
width: 30px;
height: 30px;
animation: donut-spin 1.2s linear infinite;
}
</code></pre>
@ -297,11 +297,11 @@ in any specification.</span></p>
}
.snippet-demo__donut-spinner {
display: inline-block;
border: 4px solid rgba(0, 0, 0, 0.25);
border-left-color: blue;
border: 4px solid rgba(0, 0, 0, 0.1);
border-left-color: #7983ff;
border-radius: 50%;
width: 20px;
height: 20px;
width: 30px;
height: 30px;
animation: snippet-demo__donut-spin 1.2s linear infinite;
}
</style>
@ -770,7 +770,7 @@ in any specification.</span></p>
</code></pre>
<h4 data-type="CSS">CSS</h4><pre><code class="lang-css">.mouse-cursor-gradient-tracking {
position: relative;
background: #2379f7;
background: #7983ff;
padding: 0.5rem 1rem;
font-size: 1.2rem;
border: none;
@ -815,7 +815,7 @@ btn.onmousemove = function (e) {
<style>
.snippet-demo__mouse-cursor-gradient-tracking {
position: relative;
background: #2379f7;
background: #7983ff;
padding: 0.5rem 1rem;
font-size: 1.2rem;
border: none;

View File

@ -27,9 +27,9 @@ html {
box-sizing: border-box;
width: 200px;
padding: 1.5em;
color: #000;
color: #7983ff;
font-family: sans-serif;
background-color: #ccc;
background-color: white;
border: 5px solid;
}
</style>

View File

@ -17,11 +17,11 @@ Creates a donut spinner that can be used to indicate the loading of content.
}
.donut {
display: inline-block;
border: 4px solid rgba(0, 0, 0, 0.25);
border-left-color: blue;
border: 4px solid rgba(0, 0, 0, 0.1);
border-left-color: #7983ff;
border-radius: 50%;
width: 20px;
height: 20px;
width: 30px;
height: 30px;
animation: donut-spin 1.2s linear infinite;
}
```
@ -39,11 +39,11 @@ Creates a donut spinner that can be used to indicate the loading of content.
}
.snippet-demo__donut-spinner {
display: inline-block;
border: 4px solid rgba(0, 0, 0, 0.25);
border-left-color: blue;
border: 4px solid rgba(0, 0, 0, 0.1);
border-left-color: #7983ff;
border-radius: 50%;
width: 20px;
height: 20px;
width: 30px;
height: 30px;
animation: snippet-demo__donut-spin 1.2s linear infinite;
}
</style>

View File

@ -17,7 +17,7 @@ A hover effect where the gradient follows the mouse cursor.
```css
.mouse-cursor-gradient-tracking {
position: relative;
background: #2379f7;
background: #7983ff;
padding: 0.5rem 1rem;
font-size: 1.2rem;
border: none;
@ -72,7 +72,7 @@ btn.onmousemove = function (e) {
<style>
.snippet-demo__mouse-cursor-gradient-tracking {
position: relative;
background: #2379f7;
background: #7983ff;
padding: 0.5rem 1rem;
font-size: 1.2rem;
border: none;