20 lines
505 B
CSS
20 lines
505 B
CSS
|
/**
|
||
|
* @file
|
||
|
* Language: add styling for elements that have a language attribute.
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Show the user that a 'lang' tag has been applied by adding a thin dotted
|
||
|
* border. We also append the value of the tag between brackets, for example:
|
||
|
* '(en)'. Since the html element has a 'lang' attribute too we only target
|
||
|
* elements within the html scope.
|
||
|
*/
|
||
|
.ck-content [lang] {
|
||
|
outline: 1px dotted gray;
|
||
|
}
|
||
|
.ck-content [lang]:after {
|
||
|
content: " ("attr(lang)")";
|
||
|
color: #666;
|
||
|
font-size: 10px;
|
||
|
}
|