basic implementation of add button
This commit is contained in:
		@@ -7,11 +7,13 @@
 | 
			
		||||
    --min-card-size: 60ch;
 | 
			
		||||
    --corner-radius: 1rem;
 | 
			
		||||
    font-size: 12pt;
 | 
			
		||||
    font-family: sans-serif;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
body {
 | 
			
		||||
    background-color: var(--bg-color, black);
 | 
			
		||||
    color: var(--text-color, white);
 | 
			
		||||
    margin: 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
main {
 | 
			
		||||
@@ -26,6 +28,13 @@ header {
 | 
			
		||||
    margin-inline: .75rem;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#add-btn {
 | 
			
		||||
    position: fixed;
 | 
			
		||||
    top: 0;
 | 
			
		||||
    left: 0;
 | 
			
		||||
    z-index: 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#tool-bar {
 | 
			
		||||
    display: flex;
 | 
			
		||||
    flex-direction: row;
 | 
			
		||||
 
 | 
			
		||||
@@ -7,6 +7,10 @@
 | 
			
		||||
    <link rel="stylesheet" href="main.css">
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
    <svg  id="add-btn" width="100" height="100">
 | 
			
		||||
        <polygon onclick="console.log('ahhhh')" points="0, 0, 0, 100, 100, 0" fill="yellow" />
 | 
			
		||||
        <text x="25" y="25" >+</text>
 | 
			
		||||
    </svg>
 | 
			
		||||
    <main>
 | 
			
		||||
        <header>
 | 
			
		||||
            <h1>Welcome to DataDash</h1>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user