mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 07:21:32 +08:00
Fix css
This commit is contained in:
parent
d6c5586159
commit
2c28a8f550
@ -12,8 +12,8 @@ html {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
/* https://leaverou.github.io/css3patterns/#carbon */
|
/* https://leaverou.github.io/css3patterns/#carbon */
|
||||||
background: linear-gradient(27deg, #151515 5px, transparent 5px) 0 5px,
|
background: linear-gradient(27deg, #151515 5px, transparent 5px) 0 5px,
|
||||||
linear-gradient(207deg, #151515 5px, transparent 5px) 10px 0px,
|
linear-gradient(207deg, #151515 5px, transparent 5px) 10px 0,
|
||||||
linear-gradient(27deg, #222 5px, transparent 5px) 0px 10px,
|
linear-gradient(27deg, #222 5px, transparent 5px) 0 10px,
|
||||||
linear-gradient(207deg, #222 5px, transparent 5px) 10px 5px,
|
linear-gradient(207deg, #222 5px, transparent 5px) 10px 5px,
|
||||||
linear-gradient(90deg, #1b1b1b 10px, transparent 10px),
|
linear-gradient(90deg, #1b1b1b 10px, transparent 10px),
|
||||||
linear-gradient(
|
linear-gradient(
|
||||||
@ -46,10 +46,8 @@ html {
|
|||||||
format("woff2"),
|
format("woff2"),
|
||||||
/* Super Modern Browsers */
|
/* Super Modern Browsers */
|
||||||
url("../fonts/roboto/roboto-v18-latin-regular.woff") format("woff"),
|
url("../fonts/roboto/roboto-v18-latin-regular.woff") format("woff"),
|
||||||
/* Modern Browsers */
|
/* Modern Browsers */ url("../fonts/roboto/roboto-v18-latin-regular.ttf")
|
||||||
url("../fonts/roboto/roboto-v18-latin-regular.ttf")
|
|
||||||
format("truetype"),
|
format("truetype"),
|
||||||
/* Safari, Android, iOS */
|
/* Safari, Android, iOS */
|
||||||
url("../fonts/roboto/roboto-v18-latin-regular.svg#Roboto")
|
url("../fonts/roboto/roboto-v18-latin-regular.svg#Roboto") format("svg"); /* Legacy iOS */
|
||||||
format("svg"); /* Legacy iOS */
|
|
||||||
}
|
}
|
@ -18,8 +18,12 @@ body {
|
|||||||
border-color: #117;
|
border-color: #117;
|
||||||
}
|
}
|
||||||
|
|
||||||
p { margin-bottom: 1.5em; }
|
p {
|
||||||
p:last-child { margin-bottom: 0; }
|
margin-bottom: 1.5em;
|
||||||
|
}
|
||||||
|
p:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
display: block;
|
display: block;
|
||||||
@ -32,9 +36,9 @@ blockquote {
|
|||||||
color: #117;
|
color: #117;
|
||||||
}
|
}
|
||||||
blockquote:before {
|
blockquote:before {
|
||||||
content: '\201C';
|
content: "\201C";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0em;
|
top: 0;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
background: #fff;
|
background: #fff;
|
||||||
@ -54,22 +58,22 @@ blockquote:after {
|
|||||||
|
|
||||||
/* https://fdossena.com/?p=html5cool/buttons/i.frag */
|
/* https://fdossena.com/?p=html5cool/buttons/i.frag */
|
||||||
button {
|
button {
|
||||||
display:inline-block;
|
display: inline-block;
|
||||||
padding:0.35em 1.2em;
|
padding: 0.35em 1.2em;
|
||||||
border:0.1em solid #000;
|
border: 0.1em solid #000;
|
||||||
margin:0 0.3em 0.3em 0;
|
margin: 0 0.3em 0.3em 0;
|
||||||
border-radius:0.12em;
|
border-radius: 0.12em;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
text-decoration:none;
|
text-decoration: none;
|
||||||
font-family:'Roboto',sans-serif;
|
font-family: "Roboto", sans-serif;
|
||||||
font-weight:300;
|
font-weight: 300;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
color:#000;
|
color: #000;
|
||||||
text-align:center;
|
text-align: center;
|
||||||
transition: all 0.2s;
|
transition: all 0.2s;
|
||||||
}
|
}
|
||||||
button:hover{
|
button:hover {
|
||||||
color:#FFF;
|
color: #fff;
|
||||||
background-color:#000;
|
background-color: #000;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user