MarcinOrlowski / html-clock-plasmoid

Configurable and lightweight clock widget for KDE. Stylable with QT supported subset of HTML markup, supporting variety of usable placeholders to design clock widget as you like.
67 stars 6 forks source link

Truly Vertical layout, Even with thin spaces. #96

Open unixtech opened 2 months ago

unixtech commented 2 months ago

Share your layout

Thanks for contributing. Please post your layout and corresponding screenshot to the dedicated HTML Clock templates section in Discussions.

When posting, please include the screenshot of your clock in action, so others can see what to expect. To avoid formatting issues, please wrap it with backticks. Put:


<style>
.vertical-text {
   text-orientation: upright;
 }

.size25 {
    font-family: JetBrains Mono Medium;
    font-size: 20px;
    font-weight: 900;
    vertical-align: middle;

}

.size15 {
    font-family: JetBrains Mono Medium;
    font-size: 13px;
    font-weight: 500;
    vertical-align: middle;

}
</style>
</head>
<body>

<div class="size25">
{hh}
</div>
<div> - </div>
<div class="size25" >
{ii}
<div > ⬜ </div>

<div class="size25" >
{dd}
</div>

<div> - </div>
<div class="size15" >
{MM}
</div>

<div> - </div>
<div class="size25" >
{yy}
</div>

</body>
</html>

image

Notes