angular-cn/public/resources/css/_translate.scss

124 lines
1.8 KiB
SCSS
Raw Normal View History

2016-11-24 09:16:23 -05:00
.docs-content, .l-content, .main-footer {
2016-11-23 22:45:57 -05:00
display: none;
2016-11-25 09:35:40 -05:00
&.cheatsheet {
display: block;
}
2016-11-23 22:45:57 -05:00
.original-english {
border-top: 1px dashed $regal;
&.hidden {
display: none !important;
}
}
h1.original-english {
margin-top: -($unit * 2);
}
h2.original-english {
margin-top: -($unit * 1);
}
h3.original-english {
margin-top: -($unit * 0);
}
2016-11-23 22:45:57 -05:00
h3.original-english {
margin-top: -($unit * 0);
}
p.original-english {
margin-top: -($unit * 3);
}
2016-11-24 12:15:27 -05:00
.card {
height: auto;
min-height: 194px;
h2.original-english {
margin-top: $unit;
padding-top: $unit;
}
p.original-english {
margin-top: 0;
}
}
2016-11-26 11:30:27 -05:00
.callout {
li {
p {
padding: 0;
}
}
}
2016-11-25 14:16:06 -05:00
th, td, li {
2016-11-23 22:45:57 -05:00
p {
margin: 0;
2016-11-25 14:16:06 -05:00
&.original-english {
margin: 0;
}
2016-11-23 22:45:57 -05:00
}
2016-11-24 12:15:27 -05:00
ul {
margin: 0;
}
2016-11-23 22:45:57 -05:00
}
}
.main-footer {
display: none;
}
2016-11-26 09:53:33 -05:00
api-list .docs-content{
display: block;
}
api-list + .main-footer{
display:block;
}
2016-05-14 07:25:47 -04:00
td, th {
> p:last-child {
margin-bottom: 0;
}
}
2016-05-27 05:40:44 -04:00
.translated-cn {
em {
font-style: normal;
font-weight: bold;
}
[lang=english] {
margin-left: 0.2em;
margin-right: 0.2em;
}
span[lang=english] {
display: inline-block;
}
2016-05-27 05:40:44 -04:00
}
.about-cn-translation {
font-size: 16px;
h2 {
border-bottom: 1px solid $silver;
}
2016-11-24 13:38:54 -05:00
p {
margin: 0 0 24px 0;
line-height: 28px;
}
}
body, .main-nav .main-nav-button, .translated-cn {
2016-05-27 05:43:49 -04:00
font-family: "Helvetica Neue", Arial, STHeiti, "Microsoft YaHei", sans-serif, Helvetica, "DroidSansFallback", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3" !important;
}
.vertical-table {
th {
white-space: nowrap;
}
}
2016-07-22 08:51:12 -04:00
img {
max-width: 100%;
}