Files
freeCodeCamp/tools/ui-components/src/global-element-styles.css
Marcel Ribeiro-Dantas 21ac8999af docs/fix(typos): Fix minor typos in English (#51853)
Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
2023-10-14 04:16:15 +00:00

457 lines
6.7 KiB
CSS

/*!
element styles of the minified bootstrap 3 css file
*/
@media print {
*,
*:before,
*:after {
background: transparent !important;
color: #000 !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
text-shadow: none !important;
}
a,
a:visited {
text-decoration: underline;
}
a[href]:after {
content: ' (' attr(href) ')';
}
abbr[title]:after {
content: ' (' attr(title) ')';
}
a[href^='#']:after,
a[href^='javascript:']:after {
content: '';
}
pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid;
}
thead {
display: table-header-group;
}
tr,
img {
page-break-inside: avoid;
}
img {
max-width: 100% !important;
}
p,
h2,
h3 {
orphans: 3;
widows: 3;
}
h2,
h3 {
page-break-after: avoid;
}
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html {
font-size: 10px;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
font-family: 'Lato', Helvetica, Arial, sans-serif;
font-size: 18px;
line-height: 1.42857143;
color: #333;
background-color: #fff;
}
input,
button,
select,
textarea {
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
a {
color: #006400;
text-decoration: none;
}
a:hover,
a:focus {
color: #001800;
text-decoration: underline;
}
figure {
margin: 0;
}
img {
vertical-align: middle;
}
hr {
margin-top: 25px;
margin-bottom: 25px;
border: 0;
border-top: 1px solid #eee;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
.sr-only-focusable:active,
.sr-only-focusable:focus {
position: static;
width: auto;
height: auto;
margin: 0;
overflow: visible;
clip: auto;
}
[role='button'] {
cursor: pointer;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: inherit;
font-weight: 400;
line-height: 1.1;
color: inherit;
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
font-weight: normal;
line-height: 1;
color: #777;
}
h1,
h2,
h3 {
margin-top: 25px;
margin-bottom: 12.5px;
}
h1 small,
h2 small,
h3 small {
font-size: 65%;
}
h4,
h5,
h6 {
margin-top: 12.5px;
margin-bottom: 12.5px;
}
h4 small,
h6 small {
font-size: 75%;
}
h1 {
font-size: 46px;
}
h2 {
font-size: 38px;
}
h3 {
font-size: 31px;
}
h4 {
font-size: 23px;
}
h5 {
font-size: 18px;
}
h6 {
font-size: 16px;
}
p {
margin: 0 0 12.5px;
}
small {
font-size: 88%;
}
mark {
background-color: #fcf8e3;
padding: 0.2em;
}
ul,
ol {
margin-top: 0;
margin-bottom: 12.5px;
}
ul ul,
ol ul,
ul ol,
ol ol {
margin-bottom: 0;
}
dl {
margin-top: 0;
margin-bottom: 25px;
}
dt,
dd {
line-height: 1.42857143;
}
dt {
font-weight: bold;
}
dd {
margin-left: 0;
}
abbr[title],
abbr[data-original-title] {
cursor: help;
border-bottom: 1px dotted #777;
}
blockquote {
padding: 12.5px 25px;
margin: 0 0 25px;
font-size: 22.5px;
border-left: 5px solid #eee;
}
blockquote p:last-child,
blockquote ul:last-child,
blockquote ol:last-child {
margin-bottom: 0;
}
blockquote footer,
blockquote small {
display: block;
font-size: 80%;
line-height: 1.42857143;
color: #777;
}
blockquote footer:before,
blockquote small:before {
content: '\2014 \00A0';
}
address {
margin-bottom: 25px;
font-style: normal;
line-height: 1.42857143;
}
code,
kbd,
pre,
samp {
font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
}
code {
padding: 2px 4px;
font-size: 90%;
color: #c7254e;
background-color: #f9f2f4;
border-radius: 4px;
}
kbd {
padding: 2px 4px;
font-size: 90%;
color: #fff;
background-color: #333;
border-radius: 3px;
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}
kbd kbd {
padding: 0;
font-size: 100%;
font-weight: bold;
-webkit-box-shadow: none;
box-shadow: none;
}
pre {
display: block;
padding: 12px;
margin: 0 0 12.5px;
font-size: 17px;
line-height: 1.42857143;
word-break: break-all;
word-wrap: break-word;
color: #333;
background-color: #f5f5f5;
border: 1px solid #ccc;
border-radius: 4px;
}
pre code {
padding: 0;
font-size: inherit;
color: inherit;
white-space: pre-wrap;
background-color: transparent;
border-radius: 0;
}
fieldset {
padding: 0;
margin: 0;
border: 0;
min-width: 0;
}
legend {
display: block;
width: 100%;
padding: 0;
margin-bottom: 25px;
font-size: 27px;
line-height: inherit;
color: #333;
border: 0;
border-bottom: 1px solid #e5e5e5;
}
label {
display: inline-block;
max-width: 100%;
margin-bottom: 5px;
font-weight: bold;
}
input[type='search'] {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
input[type='radio'],
input[type='checkbox'] {
margin: 4px 0 0;
margin-top: 1px \9;
line-height: normal;
}
input[type='file'] {
display: block;
}
input[type='range'] {
display: block;
width: 100%;
}
select[multiple],
select[size] {
height: auto;
}
output {
display: block;
padding-top: 7px;
font-size: 18px;
line-height: 1.42857143;
color: #555;
}
input[type='search'] {
appearance: none;
}
input[type='radio'][disabled],
input[type='checkbox'][disabled],
fieldset[disabled] input[type='radio'],
fieldset[disabled] input[type='checkbox'] {
cursor: not-allowed;
}
/* Element styles rewrites from global.css that could be moved to presets*/
/* typography should be handled in tailwind config */
html {
height: 100%;
font-size: 18px;
-webkit-font-smoothing: antialiased;
}
body {
background-color: var(--secondary-background);
height: 100%;
font-family: var(--font-family-sans-serif);
color: var(--secondary-color);
}
header {
top: 0;
position: fixed;
width: 100%;
z-index: 200;
}
a {
color: inherit;
text-decoration: underline;
}
a:hover,
a:focus {
text-decoration: none;
}
input {
outline-color: transparent;
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
box-shadow: none !important;
border-radius: 0;
}
textarea {
resize: vertical;
}
form {
margin-bottom: 5px;
}
code {
border-radius: 0;
overflow-wrap: anywhere;
}
hr {
border-top-width: 1px;
border-top-style: solid;
/* border-top-color: var(--quaternary-background); */
}
code[class*='language-'],
pre[class*='language-'] {
border-radius: 0;
}
pre {
color: inherit;
background-color: inherit;
border: none;
border-radius: 0;
}
blockquote footer,
blockquote small,
blockquote .small {
color: #858591;
}
/* WCAG fix */
.sr-only {
color: white;
background-color: black;
}