A couple visual fixes
This commit is contained in:
parent
c19413a723
commit
531b913404
|
@ -18,12 +18,6 @@
|
|||
--column-margin-top: 4rem;
|
||||
}
|
||||
|
||||
.root-div {
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
select, button, input {
|
||||
font-family: Roboto, Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||
font-size: 90%;
|
||||
|
|
|
@ -7,6 +7,6 @@
|
|||
%sveltekit.head%
|
||||
</head>
|
||||
<body>
|
||||
<div class="root-div">%sveltekit.body%</div>
|
||||
%sveltekit.body%
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
<div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
<ul data-sveltekit-prefetch>
|
||||
{#each routes as route}
|
||||
<li class:active={$page.url.pathname === route.path}>
|
||||
|
@ -18,12 +19,15 @@
|
|||
</li>
|
||||
{/each}
|
||||
</ul>
|
||||
</div>
|
||||
<div style="display: flex; align-items: center;">
|
||||
<!--
|
||||
<a title="Kafka Dance GitLab" href="https://gitlab.com/kafka-dance">
|
||||
<img alt="GitLab Logo" style="height: 20px;"
|
||||
<img alt="GitLab Logo" style="height: 18px; width: auto;"
|
||||
class="white-glow"
|
||||
src="/gitlab-logo-white.svg">
|
||||
src="/gitlab-logo-white.png">
|
||||
</a>
|
||||
-->
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
|
|
@ -17,11 +17,9 @@
|
|||
flex-direction: column;
|
||||
padding: 1rem 1rem 0;
|
||||
width: 100%;
|
||||
/*
|
||||
max-width: 1024px;
|
||||
*/
|
||||
margin: 0 auto;
|
||||
box-sizing: border-box;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
footer {
|
||||
|
|
|
@ -79,11 +79,11 @@ JSON.parse(`{
|
|||
|
||||
</script>
|
||||
|
||||
<div class="logo-json-box">
|
||||
<!--
|
||||
<div class="logo-json-box">
|
||||
<img src="/json.png" alt="With Kafka Dance, browsing Kafka data is easy" />
|
||||
-->
|
||||
</div>
|
||||
-->
|
||||
<div class="content">
|
||||
<div class="eye-catch">
|
||||
<h1>Data should be <span class="fun">Fun</span></h1>
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
<style>
|
||||
.with-image {
|
||||
display: flex;
|
||||
background-color: rgba(0, 0, 0, 0.03);
|
||||
padding: 1em;
|
||||
transition: background-color 300ms;
|
||||
|
@ -30,6 +31,9 @@
|
|||
.with-image:hover {
|
||||
background-color: rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
.with-image img {
|
||||
max-width: 90%;
|
||||
}
|
||||
.blog-entry {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
@ -6,16 +6,25 @@
|
|||
<h1>{data.metadata.title}</h1>
|
||||
<img src={data.metadata.headerImage} alt={data.metadata.headerImageAlt}/>
|
||||
</div>
|
||||
<div class="content">
|
||||
<svelte:component this={data.content} />
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.content {
|
||||
max-width: 50vw;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.title-with-image {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
line-height: 100%;
|
||||
}
|
||||
.title-with-image img {
|
||||
margin: 2em 2em 0;
|
||||
|
|
|
@ -6,4 +6,9 @@ headerImage: "/kafka-logo.png"
|
|||
headerImageAlt: "Kafka's logo"
|
||||
---
|
||||
|
||||
Initially built by LinkedIn, Kafka
|
||||
Initially built by LinkedIn, Apache Kafka is a "distributed event store" and "stream processing" platform.
|
||||
But what does that mean exactly?
|
||||
|
||||
## Distributed Event Store
|
||||
|
||||
## Stream Processing
|
Loading…
Reference in New Issue