Klassennamen und Variablen
Neuer Standard für Klassennamen _ und __
This commit is contained in:
parent
e7ca01dd40
commit
933806cb72
10 changed files with 231 additions and 219 deletions
187
example.css
187
example.css
|
|
@ -59,105 +59,71 @@
|
|||
margin-right: 0;
|
||||
margin-left: 0; }
|
||||
|
||||
.viewport-full-body {
|
||||
.pos_full_view {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh; }
|
||||
|
||||
.relative {
|
||||
.pos_rel {
|
||||
position: relative; }
|
||||
|
||||
.div_fix {
|
||||
.pos_fix {
|
||||
position: fixed; }
|
||||
|
||||
.bottom {
|
||||
.pos_bottom {
|
||||
bottom: 0; }
|
||||
|
||||
.viewport-full-body {
|
||||
.pos_full_view {
|
||||
background-color: rgba(250, 216, 3, 0.5); }
|
||||
|
||||
.hover_background_change {
|
||||
background-color: #4d4d4d;
|
||||
.hover_back_change {
|
||||
background-color: #666666;
|
||||
transition: background-color .2s ease-in-out; }
|
||||
.hover_background_change:hover {
|
||||
.hover_back_change:hover {
|
||||
background-color: gray; }
|
||||
|
||||
.space_box {
|
||||
float: left;
|
||||
display: table;
|
||||
width: 64px;
|
||||
text-align: center;
|
||||
vertical-align: middle; }
|
||||
.space_box span {
|
||||
display: table-cell; }
|
||||
|
||||
.div_placeholder {
|
||||
width: 100%;
|
||||
height: 64px;
|
||||
border: 4px solid rgba(0, 0, 0, 0.1);
|
||||
border-radius: 4px;
|
||||
padding: 8px;
|
||||
background-color: rgba(0, 0, 0, 0.1); }
|
||||
.div_placeholder svg {
|
||||
vertical-align: top; }
|
||||
|
||||
.div_placeholder_bkg {
|
||||
width: 100%;
|
||||
height: 64px;
|
||||
border: 4px solid rgba(0, 0, 0, 0.1);
|
||||
border-radius: 4px;
|
||||
padding: 8px;
|
||||
/*data:[<mime type>][;charset=<charset>][;base64],<encoded data>*/
|
||||
background: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0' y='0' width='100%' height='100%'><line x1='2%' y1='2%' x2='98%' y2='98%' stroke='#000' stroke-width='.5'/><line x1='0' y1='100%' x2='100%' y2='0' stroke='#000' stroke-width='.5'/></svg>") no-repeat;
|
||||
background-color: rgba(0, 0, 0, 0.1); }
|
||||
|
||||
.div_info {
|
||||
padding: 16px 2em;
|
||||
border-right: 8px solid rgba(82, 190, 209, 0.6);
|
||||
background-color: rgba(82, 190, 209, 0.1) !important; }
|
||||
|
||||
.span_solo, h6, p, .p_col_2, .p_col_3, caption, li, dt, dd, figcaption, th, td, legend, label {
|
||||
font-family: Roboto, Trebuchet MS, Helvetica, Source Sans, Arial, sans-serif, sans;
|
||||
.span__solo, h6, p, .p__col_2, .p__col_3, caption, li, dt, dd, figcaption, th, td, legend, label {
|
||||
font-family: Roboto, Segoe UI, Liberation Sans, Source Sans, Trebuchet MS, Helvetica, Arial, sans-serif, sans;
|
||||
font-size: 1em;
|
||||
line-height: 1.5; }
|
||||
|
||||
pre, code, .code_solo {
|
||||
pre, code, .code__solo {
|
||||
font-family: Courier New, monospace;
|
||||
font-size: 1em;
|
||||
line-height: 1.5; }
|
||||
|
||||
.print_body *[class^="din"] p, .print_body *[class^="din"] .p_col_2, .print_body *[class^="din"] .p_col_3, .print_body *[class^="din"] caption {
|
||||
.print_body *[class^="din"] p, .print_body *[class^="din"] .p__col_2, .print_body *[class^="din"] .p__col_3, .print_body *[class^="din"] caption {
|
||||
font-family: Courier New, monospace;
|
||||
font-size: 1em;
|
||||
line-height: 1.5; }
|
||||
|
||||
h1, .exp_help_btn .span_solo, .print_body .page_date, .print_body .page_no {
|
||||
font-family: Roboto, Trebuchet MS, Helvetica, Source Sans, Arial, sans-serif, sans;
|
||||
h1, .print_body .page_date, .print_body .page_no {
|
||||
font-family: Roboto, Segoe UI, Liberation Sans, Source Sans, Trebuchet MS, Helvetica, Arial, sans-serif, sans;
|
||||
font-size: 3.1em;
|
||||
font-weight: 300;
|
||||
line-height: 1.5; }
|
||||
|
||||
h2 {
|
||||
font-family: Roboto, Trebuchet MS, Helvetica, Source Sans, Arial, sans-serif, sans;
|
||||
font-family: Roboto, Segoe UI, Liberation Sans, Source Sans, Trebuchet MS, Helvetica, Arial, sans-serif, sans;
|
||||
font-size: 2.5em;
|
||||
font-weight: 300;
|
||||
line-height: 1.5; }
|
||||
|
||||
h3, h4 {
|
||||
font-family: Roboto, Trebuchet MS, Helvetica, Source Sans, Arial, sans-serif, sans;
|
||||
font-family: Roboto, Segoe UI, Liberation Sans, Source Sans, Trebuchet MS, Helvetica, Arial, sans-serif, sans;
|
||||
font-size: 1.8em;
|
||||
font-weight: 300;
|
||||
line-height: 1.5; }
|
||||
|
||||
h5 {
|
||||
font-family: Roboto, Trebuchet MS, Helvetica, Source Sans, Arial, sans-serif, sans;
|
||||
font-family: Roboto, Segoe UI, Liberation Sans, Source Sans, Trebuchet MS, Helvetica, Arial, sans-serif, sans;
|
||||
font-size: 1.35em;
|
||||
font-weight: 300;
|
||||
line-height: 1.5; }
|
||||
|
||||
.span_solo {
|
||||
.span__solo {
|
||||
color: black; }
|
||||
|
||||
.table-link_list .cell_text .shorten {
|
||||
|
|
@ -179,8 +145,8 @@ html {
|
|||
|
||||
body {
|
||||
box-sizing: box-sizing;
|
||||
font-family: Roboto, Trebuchet MS, Helvetica, Source Sans, Arial, sans-serif, sans;
|
||||
font-size: 16px;
|
||||
font-family: Roboto, Segoe UI, Liberation Sans, Source Sans, Trebuchet MS, Helvetica, Arial, sans-serif, sans;
|
||||
font-size: 17px;
|
||||
line-height: 1;
|
||||
color: black;
|
||||
background-color: gray; }
|
||||
|
|
@ -227,55 +193,55 @@ h6 {
|
|||
text-transform: none;
|
||||
font-weight: bold; }
|
||||
|
||||
p, .p_col_2, .p_col_3, caption {
|
||||
p, .p__col_2, .p__col_3, caption {
|
||||
margin: 8px 0;
|
||||
color: black; }
|
||||
p code, .p_col_2 code, .p_col_3 code, caption code {
|
||||
p code, .p__col_2 code, .p__col_3 code, caption code {
|
||||
padding: 1px 4px;
|
||||
font-size: 1em;
|
||||
line-height: 1; }
|
||||
|
||||
.p_col_line {
|
||||
.p__col_line {
|
||||
column-rule: 1px solid black; }
|
||||
|
||||
.p_col_2 {
|
||||
.p__col_2 {
|
||||
column-count: 2;
|
||||
column-gap: 32px; }
|
||||
|
||||
.p_col_3 {
|
||||
.p__col_3 {
|
||||
column-count: 3;
|
||||
column-gap: 64px; }
|
||||
|
||||
hr, .hr_hidden, .hr_dotted {
|
||||
hr, .hr__hidden, .hr__dotted {
|
||||
margin: 32px auto;
|
||||
border-width: 1px 0 0;
|
||||
border-style: solid;
|
||||
border-color: black; }
|
||||
|
||||
.hr_hidden {
|
||||
.hr__hidden {
|
||||
border-color: transparent; }
|
||||
|
||||
.hr_dotted {
|
||||
.hr__dotted {
|
||||
border-style: dotted; }
|
||||
|
||||
.pre_code {
|
||||
.pre__code {
|
||||
border-color: rgba(255, 255, 255, 0.1);
|
||||
border-style: dotted;
|
||||
border-width: 0 0 0 4px;
|
||||
border-radius: 4px;
|
||||
padding: 8px;
|
||||
background-color: rgba(255, 255, 255, 0.1); }
|
||||
.pre_code code {
|
||||
.pre__code code {
|
||||
background-color: transparent; }
|
||||
|
||||
blockquote {
|
||||
margin: 8px 2em; }
|
||||
|
||||
.quote_mark p::before, .quote_mark .p_col_2::before, .quote_mark .p_col_3::before, .quote_mark caption::before {
|
||||
.quote__mark p::before, .quote__mark .p__col_2::before, .quote__mark .p__col_3::before, .quote__mark caption::before {
|
||||
content: "\201E \0020"; }
|
||||
.quote_mark p::after, .quote_mark .p_col_2::after, .quote_mark .p_col_3::after, .quote_mark caption::after {
|
||||
.quote__mark p::after, .quote__mark .p__col_2::after, .quote__mark .p__col_3::after, .quote__mark caption::after {
|
||||
content: "\201C \0020"; }
|
||||
.quote_mark .quote_source::before, .quote_mark .quote_source::after {
|
||||
.quote__mark .quote__source::before, .quote__mark .quote__source::after {
|
||||
content: ""; }
|
||||
|
||||
dl, ul, ol {
|
||||
|
|
@ -293,10 +259,10 @@ dd {
|
|||
ul li {
|
||||
list-style: square; }
|
||||
|
||||
.list_dash li {
|
||||
.list__dash li {
|
||||
list-style: none;
|
||||
position: relative; }
|
||||
.list_dash li:before {
|
||||
.list__dash li:before {
|
||||
content: "_";
|
||||
position: absolute;
|
||||
left: -1em; }
|
||||
|
|
@ -304,7 +270,7 @@ ul li {
|
|||
figure {
|
||||
margin: 16px 2em; }
|
||||
|
||||
.screen-box {
|
||||
.box__screen {
|
||||
width: 96%;
|
||||
margin: 0 auto;
|
||||
border-top-width: 8px;
|
||||
|
|
@ -312,33 +278,67 @@ figure {
|
|||
border-color: black;
|
||||
padding-top: 32px; }
|
||||
@media screen and (orientation: landscape) and (min-width: 1024px) {
|
||||
.screen-box {
|
||||
.box__screen {
|
||||
width: 80%; } }
|
||||
@media screen and (orientation: landscape) and (min-width: 1280px) {
|
||||
.screen-box {
|
||||
.box__screen {
|
||||
width: 60%; } }
|
||||
@media screen and (orientation: landscape) and (min-width: 1920px) {
|
||||
.screen-box {
|
||||
.box__screen {
|
||||
width: 48%; } }
|
||||
|
||||
@media screen and (orientation: portrait) and (min-width: 1024px) {
|
||||
.screen-box {
|
||||
.box__screen {
|
||||
width: 80%; } }
|
||||
|
||||
.box__info {
|
||||
padding: 16px 2em;
|
||||
border-right: 8px solid rgba(82, 190, 209, 0.6);
|
||||
background-color: rgba(82, 190, 209, 0.1) !important; }
|
||||
|
||||
.box__space {
|
||||
float: left;
|
||||
display: table;
|
||||
width: 64px;
|
||||
text-align: center;
|
||||
vertical-align: middle; }
|
||||
.box__space span {
|
||||
display: table-cell; }
|
||||
|
||||
.box__placeholder {
|
||||
width: 100%;
|
||||
height: 64px;
|
||||
border: 4px solid rgba(0, 0, 0, 0.1);
|
||||
border-radius: 4px;
|
||||
padding: 8px;
|
||||
background-color: rgba(0, 0, 0, 0.1); }
|
||||
.box__placeholder svg {
|
||||
vertical-align: top; }
|
||||
|
||||
.box__placeholder_bkg {
|
||||
width: 100%;
|
||||
height: 64px;
|
||||
border: 4px solid rgba(0, 0, 0, 0.1);
|
||||
border-radius: 4px;
|
||||
padding: 8px;
|
||||
/*data:[<mime type>][;charset=<charset>][;base64],<encoded data>*/
|
||||
background: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0' y='0' width='100%' height='100%'><line x1='2%' y1='2%' x2='98%' y2='98%' stroke='#000' stroke-width='.5'/><line x1='0' y1='100%' x2='100%' y2='0' stroke='#000' stroke-width='.5'/></svg>") no-repeat;
|
||||
background-color: rgba(0, 0, 0, 0.1); }
|
||||
|
||||
a {
|
||||
color: #52bed1;
|
||||
text-decoration: none; }
|
||||
a:active, a:focus, a:hover {
|
||||
color: white; }
|
||||
|
||||
.link_line {
|
||||
.a__line {
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-style: dotted;
|
||||
border-color: black;
|
||||
background-color: transparent;
|
||||
color: black;
|
||||
transition: color 150ms ease; }
|
||||
.link_line:active, .link_line:focus, .link_line:hover {
|
||||
.a__line:active, .a__line:focus, .a__line:hover {
|
||||
background-color: #0c85ff;
|
||||
color: white; }
|
||||
|
||||
|
|
@ -355,14 +355,14 @@ code {
|
|||
color: #1f1f1f;
|
||||
background-color: rgba(255, 255, 255, 0.1); }
|
||||
|
||||
.code_solo {
|
||||
.code__solo {
|
||||
padding: 1px 4px;
|
||||
color: black; }
|
||||
|
||||
mark {
|
||||
background-color: #fad803; }
|
||||
|
||||
.mark_cursor {
|
||||
.mark__cursor {
|
||||
color: white;
|
||||
background-color: black; }
|
||||
|
||||
|
|
@ -550,7 +550,7 @@ legend {
|
|||
font-size: 24px;
|
||||
line-height: 1.4em;
|
||||
font-weight: normal; }
|
||||
.card_body p, .card_body .p_col_2, .card_body .p_col_3, .card_body caption {
|
||||
.card_body p, .card_body .p__col_2, .card_body .p__col_3, .card_body caption {
|
||||
margin-top: 0;
|
||||
margin-bottom: 16px;
|
||||
font-size: 12px;
|
||||
|
|
@ -617,19 +617,19 @@ legend {
|
|||
|
||||
.exp_marker_pop {
|
||||
position: absolute;
|
||||
top: -12px;
|
||||
right: -8px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
top: -12.75px;
|
||||
right: -8.5px;
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
border: 1px solid white;
|
||||
border-radius: 16px;
|
||||
border-radius: 17px;
|
||||
color: white;
|
||||
background-color: black; }
|
||||
|
||||
.exp_overlay_btn {
|
||||
position: fixed;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
width: 3em;
|
||||
height: 2em;
|
||||
cursor: pointer; }
|
||||
|
||||
.exp_help_btn {
|
||||
|
|
@ -639,12 +639,13 @@ legend {
|
|||
background-color: rgba(0, 0, 0, 0.4); }
|
||||
.exp_help_btn:hover {
|
||||
background-color: white; }
|
||||
.exp_help_btn:hover > .span_solo {
|
||||
color: #52bed1; }
|
||||
.exp_help_btn .span_solo {
|
||||
.exp_help_btn:hover > .span__solo {
|
||||
color: black; }
|
||||
.exp_help_btn .span__solo {
|
||||
display: table-cell;
|
||||
color: rgba(82, 190, 209, 0.6);
|
||||
font-weight: bold;
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
font-family: Courier New, monospace;
|
||||
font-size: 1.4em;
|
||||
text-align: center;
|
||||
vertical-align: middle; }
|
||||
|
||||
|
|
@ -724,7 +725,7 @@ legend {
|
|||
flex-direction: row; }
|
||||
.print_body *[class^="din"] .page_foot *:last-child {
|
||||
margin-bottom: 0; }
|
||||
.print_body *[class^="din"] .page_foot p, .print_body *[class^="din"] .page_foot .p_col_2, .print_body *[class^="din"] .page_foot .p_col_3, .print_body *[class^="din"] .page_foot caption {
|
||||
.print_body *[class^="din"] .page_foot p, .print_body *[class^="din"] .page_foot .p__col_2, .print_body *[class^="din"] .page_foot .p__col_3, .print_body *[class^="din"] .page_foot caption {
|
||||
flex: 1 0 auto;
|
||||
margin: 0;
|
||||
font-size: 8pt;
|
||||
|
|
@ -735,7 +736,7 @@ legend {
|
|||
font-size: 20pt;
|
||||
line-height: 1;
|
||||
text-align: right; }
|
||||
.print_body *[class^="din"] .page_foot p:first-child, .print_body *[class^="din"] .page_foot .p_col_2:first-child, .print_body *[class^="din"] .page_foot .p_col_3:first-child, .print_body *[class^="din"] .page_foot caption:first-child {
|
||||
.print_body *[class^="din"] .page_foot p:first-child, .print_body *[class^="din"] .page_foot .p__col_2:first-child, .print_body *[class^="din"] .page_foot .p__col_3:first-child, .print_body *[class^="din"] .page_foot caption:first-child {
|
||||
text-align: left; }
|
||||
.print_body *[class^="din"] .page_content {
|
||||
margin-top: 10cm;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue