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

Beautify code #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 59 additions & 43 deletions demo.css
Original file line number Diff line number Diff line change
@@ -1,92 +1,104 @@
.wrapper{
max-width: 678px;
margin:auto;
.wrapper {
max-width: 678px;
margin: auto;
}

pre {
border-left: 0.3rem solid #4039ff;
}
body{
background:#f2f2f2;

body {
background: #f2f2f2;
}

.push_left{
margin-left: 6px;
.push_left {
margin-left: 6px;
}
.push_right{
margin-right: 6px;

.push_right {
margin-right: 6px;
}
code,xmp{
white-space: normal !important;

code,
xmp {
white-space: normal !important;
}
textarea{

textarea {
margin-bottom: 0px;
min-height: 200px;
line-height: 1;
}

.close{
.close {
width: 20px;
height: 21px;
position: relative;
display: inline-block;
vertical-align: text-bottom;
text-align: center;
cursor:pointer;
cursor: pointer;
}
.close:before, .close:after {

.close:before,
.close:after {
position: absolute;
left: 10px;
content: ' ';
height: 21px;
width: 3px;
background-color: #fff;
}

.close:before {
transform: rotate(45deg);
transform: rotate(45deg);
}

.close:after {
transform: rotate(-45deg);
transform: rotate(-45deg);
}


.card{
margin:20px;
.card {
margin: 20px;
border-radius: 5px;
background:#fff;
box-shadow:0px 0px 20px rgba(0, 0, 0, 0.1)
background: #fff;
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1)
}
.card_title,.title,.pushbar{

.card_title,
.title,
.pushbar {
background: #4039ff;
color: #fff;
}

.card_title,.title{
padding: 15px 20px;
.card_title,
.title {
padding: 15px 20px;
font-weight: bold;
}
.card_title{
border-radius: 4px 4px 0px 0px;
}
.card_content{
padding: 15px;
}
a.button.getBtn{
margin-top: 16px;background-color:#fff;color:#4039ff;border-color: #fff;
}



.card_title {
border-radius: 4px 4px 0px 0px;
}

.pushbar{
.card_content {
padding: 15px;
}

a.button.getBtn {
margin-top: 16px;
background-color: #fff;
color: #4039ff;
border-color: #fff;
}

.small{
font-size: 14px;
font-weight: 400;
.small {
font-size: 14px;
font-weight: 400;
}
.menu li{

.menu li {
list-style: none;
padding: 15px 20px;
border-top: 1px solid rgba(255, 255, 255, 0.2);
Expand All @@ -95,7 +107,11 @@ font-weight: 400;
color: rgba(255, 255, 255, 0.65);
}

.button, button, input[type='button'], input[type='reset'], input[type='submit'] {
.button,
button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
background-color: #4039ff;
border: 0.1rem solid #4039ff;
}
}
Loading