mirror of
https://github.com/NotoChen/Jetbrains-Help.git
synced 2025-05-24 23:16:44 +08:00
Update index.css
This commit is contained in:
parent
ece217641f
commit
9e6e03d409
|
@ -1,3 +1,39 @@
|
||||||
|
.content-container,
|
||||||
|
.form-container {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
.parent {
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.search {
|
||||||
|
width: 90%;
|
||||||
|
padding: 10px;
|
||||||
|
margin: 0 auto;
|
||||||
|
border-radius: 12px;
|
||||||
|
}
|
||||||
|
/* 针对 flex 布局问题的修复 */
|
||||||
|
header.tip {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column; /* 垂直排列子元素 */
|
||||||
|
align-items: flex-start; /* 子元素左对齐 */
|
||||||
|
}
|
||||||
|
/* 手机端适配 */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.form-container {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.parent {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
.form {
|
.form {
|
||||||
background-color: #15172b;
|
background-color: #15172b;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
|
@ -6,7 +42,6 @@
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
width: 320px;
|
width: 320px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
color: #eee;
|
color: #eee;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
|
@ -519,17 +554,3 @@ header.tip {
|
||||||
.sticky {
|
.sticky {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.parent {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.search {
|
|
||||||
width: 300px;
|
|
||||||
height: 40px;
|
|
||||||
border-radius: 18px;
|
|
||||||
outline: none;
|
|
||||||
/*border: 1px solid #ccc;*/
|
|
||||||
padding-left: 20px;
|
|
||||||
/*position: absolute;*/
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user