mirror of
https://github.com/tiyn/beaker-blog.git
synced 2025-10-10 09:51:17 +02:00
added search page, updated style
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
:root {
|
||||
--bg0: rgb(29,32,33);
|
||||
--color0: rgb(220,120,0);
|
||||
--color1: rgb(280,180,0);
|
||||
--error: rgb(255,0,0);
|
||||
--footerbg0: rgb(29,32,33);
|
||||
--link0: rgb(220, 120, 0);
|
||||
@@ -83,3 +84,13 @@ span {
|
||||
.entry h2 {
|
||||
color: var(--text1);
|
||||
}
|
||||
|
||||
|
||||
form.search button[type=submit] {
|
||||
background: var(--color0);
|
||||
color: var(--bg0);
|
||||
}
|
||||
|
||||
form.search button[type=submit]:hover {
|
||||
background: var(--color1);
|
||||
}
|
||||
|
@@ -3,6 +3,7 @@
|
||||
:root {
|
||||
--bg0: rgb(255,255,255);
|
||||
--color0: rgb(0,0,120);
|
||||
--color1: rgb(0,0,200);
|
||||
--error: rgb(255,0,0);
|
||||
--footerbg0: rgb(192,192,192);
|
||||
--link0: rgb(0,0,120);
|
||||
@@ -91,3 +92,12 @@ span {
|
||||
.entry h2 {
|
||||
color: var(--text1);
|
||||
}
|
||||
|
||||
form.search button[type=submit] {
|
||||
background: var(--color0);
|
||||
color: var(--bg0);
|
||||
}
|
||||
|
||||
form.search button[type=submit]:hover {
|
||||
background: var(--color1);
|
||||
}
|
||||
|
@@ -157,6 +157,10 @@ footer .center {
|
||||
}
|
||||
}
|
||||
|
||||
form {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.entry {
|
||||
border-radius: 0 10px 30px 0;
|
||||
margin-bottom: 20px;
|
||||
@@ -186,6 +190,15 @@ h3 {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.blogarchive h1:first-child {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.blogarchive h2:first-child {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.entry ul {
|
||||
padding-left: 20;
|
||||
}
|
||||
@@ -216,3 +229,28 @@ code {
|
||||
white-space: pre;
|
||||
display: inline-block
|
||||
}
|
||||
|
||||
form.search input[type=text] {
|
||||
padding: 10px;
|
||||
font-size: 17px;
|
||||
border: 1px solid grey;
|
||||
float: left;
|
||||
width: 50%;
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
form.search button[type=submit] {
|
||||
float: left;
|
||||
width: 5%;
|
||||
padding: 12px;
|
||||
font-size: 17px;
|
||||
border: 1px solid grey;
|
||||
border-left: none; /* Prevent double borders */
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
form.search::after {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: table;
|
||||
}
|
||||
|
Reference in New Issue
Block a user