|
2782 | 2782 | function createCircleOfDivs(numDivs = 8) {
|
2783 | 2783 | const container = document.createElement('div');
|
2784 | 2784 | container.style.position = 'relative';
|
2785 |
| - container.style.width = '400px'; |
2786 |
| - container.style.height = '400px'; |
| 2785 | + container.style.width = '350px'; |
| 2786 | + container.style.height = '350px'; |
2787 | 2787 | container.style.backgroundColor = '#f3f4f6';
|
2788 | 2788 | container.style.borderRadius = '50%';
|
2789 | 2789 | container.style.display = 'flex';
|
2790 | 2790 | container.style.justifyContent = 'center';
|
2791 | 2791 | container.style.alignItems = 'center';
|
2792 | 2792 |
|
2793 |
| - const radius = 150; |
| 2793 | + const radius = 140; |
2794 | 2794 |
|
2795 | 2795 | for (let i = 0; i < numDivs; i++) {
|
2796 | 2796 | const angle = (i / numDivs) * 2 * Math.PI;
|
|
2799 | 2799 |
|
2800 | 2800 | const div = document.createElement('div');
|
2801 | 2801 | div.style.position = 'absolute';
|
2802 |
| - div.style.width = '100px'; |
2803 |
| - div.style.height = '100px'; |
| 2802 | + div.style.width = '90px'; |
| 2803 | + div.style.height = '90px'; |
2804 | 2804 | div.style.backgroundColor = '#3b82f6';
|
2805 | 2805 | div.style.borderRadius = '8px';
|
2806 | 2806 | div.style.display = 'flex';
|
|
3185 | 3185 |
|
3186 | 3186 | <div class="section vertical-split">
|
3187 | 3187 |
|
3188 |
| - <div class="split-top split"> |
3189 | 3188 | <div class="split-left">
|
3190 | 3189 | A login UI made using the chibi stickers and a button made using Spine.
|
3191 | 3190 | <p>
|
|
3211 | 3210 |
|
3212 | 3211 |
|
3213 | 3212 | <span id="ruler" style="visibility: hidden; white-space: nowrap; position: absolute"></span>
|
3214 |
| - <div style="background-color: white; width: 350px; padding: 30px; text-align: center;"> |
| 3213 | + <div style="background-color: white; width: 250px; padding: 30px; text-align: center;"> |
3215 | 3214 | <div style="display: flex; justify-content: center;">
|
3216 | 3215 | <div style="width: 150px; height:150px; border-radius: 5%; border: 1px solid rgb(113, 113, 113); background-color: rgb(211, 211, 211); margin-bottom: 30px;">
|
3217 | 3216 | <spine-widget
|
|
3413 | 3412 |
|
3414 | 3413 | </script>
|
3415 | 3414 |
|
3416 |
| - </div> |
3417 | 3415 |
|
3418 | 3416 | <div class="split-bottom">
|
3419 | 3417 | <pre><code id="code-display">
|
|
0 commit comments