Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: CSS to style the new search bar in TrueWiki #5

Merged
merged 1 commit into from Nov 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
45 changes: 44 additions & 1 deletion static/css/truewiki.css
Expand Up @@ -401,7 +401,7 @@ header {
#review-access {
position: absolute;
right: 30px;
top: 10px;
top: 70px;
}
#review-access a {
color: #aaa;
Expand All @@ -415,3 +415,46 @@ header {
font-size: 70%;
margin: -4px 0 4px 0;
}

#search {
position: absolute;
right: 30px;
top: 10px;
}
#search input[type=text] {
width: 152px;
}

#search-submit {
display: inline-block;
position: absolute;
right: 0px;
}
#search-submit input {
background-color: white;
border: 0;
border-left: 1px solid #aaa;
height: 20px;
margin: 1px 1px 0 0;
width: 20px;
}
#search-submit:hover input {
background-color: #aaa;
}
#search-submit div {
display: inline-block;
pointer-events: none;
position: absolute;
right: 1px;
top: -1px;
transform: rotate(45deg);
}
#search-submit div::after {
color: #D52D2D;
content: "⚲";
font-size: 18px;
font-weight: bold;
left: -4px;
position: relative;
top: 4px;
}