Skip to content

Commit

Permalink
fixing linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jongund committed Jan 29, 2025
1 parent e509238 commit e592d94
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 69 deletions.
66 changes: 66 additions & 0 deletions content/patterns/landmarks/css/landmarks-pattern.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
.landmark h3 {
margin: 0;
padding: 0;
}
.landmark [role=tabpanel] h3 {

Check failure on line 5 in content/patterns/landmarks/css/landmarks-pattern.css

View workflow job for this annotation

GitHub Actions / lint-css

Stylelint problem

Expected quotes around "tabpanel" (selector-attribute-quotes)

Check failure on line 5 in content/patterns/landmarks/css/landmarks-pattern.css

View workflow job for this annotation

GitHub Actions / lint-css

Stylelint problem

Expected quotes around "tabpanel" (selector-attribute-quotes)
margin: 0;
padding: 0;
margin-top: 1em;
}

Check failure on line 9 in content/patterns/landmarks/css/landmarks-pattern.css

View workflow job for this annotation

GitHub Actions / lint-css

Stylelint problem

Expected empty line before rule (rule-empty-line-before)

Check failure on line 9 in content/patterns/landmarks/css/landmarks-pattern.css

View workflow job for this annotation

GitHub Actions / lint-css

Stylelint problem

Expected empty line before rule (rule-empty-line-before)

[role=tabpanel] pre {

Check failure on line 11 in content/patterns/landmarks/css/landmarks-pattern.css

View workflow job for this annotation

GitHub Actions / lint-css

Stylelint problem

Expected quotes around "tabpanel" (selector-attribute-quotes)

Check failure on line 11 in content/patterns/landmarks/css/landmarks-pattern.css

View workflow job for this annotation

GitHub Actions / lint-css

Stylelint problem

Expected quotes around "tabpanel" (selector-attribute-quotes)
margin: 0;
padding: 0;
}
pre code.hljs {
background-color: #eee;
}

Check failure on line 17 in content/patterns/landmarks/css/landmarks-pattern.css

View workflow job for this annotation

GitHub Actions / lint-css

Stylelint problem

Expected empty line before rule (rule-empty-line-before)

Check failure on line 17 in content/patterns/landmarks/css/landmarks-pattern.css

View workflow job for this annotation

GitHub Actions / lint-css

Stylelint problem

Expected empty line before rule (rule-empty-line-before)

fieldset {
margin-top: 1em;
max-width: 15em;
}

label {
margin-top: 0.5em;
display: block;
}

input[type=text] {

Check failure on line 29 in content/patterns/landmarks/css/landmarks-pattern.css

View workflow job for this annotation

GitHub Actions / lint-css

Stylelint problem

Expected quotes around "text" (selector-attribute-quotes)

Check failure on line 29 in content/patterns/landmarks/css/landmarks-pattern.css

View workflow job for this annotation

GitHub Actions / lint-css

Stylelint problem

Expected quotes around "text" (selector-attribute-quotes)
margin: 0;
padding: 0;
display: block;
}

input[type=submit] {

Check failure on line 35 in content/patterns/landmarks/css/landmarks-pattern.css

View workflow job for this annotation

GitHub Actions / lint-css

Stylelint problem

Expected quotes around "submit" (selector-attribute-quotes)

Check failure on line 35 in content/patterns/landmarks/css/landmarks-pattern.css

View workflow job for this annotation

GitHub Actions / lint-css

Stylelint problem

Expected quotes around "submit" (selector-attribute-quotes)
margin-top: 1em;
display: block;
}

#at figure {
margin: 0;
padding: 0;
margin-top: 2em;
border: 2px solid #005a9c;
border-radius: 5px;
background-color: #ddd;
width: auto;
max-width: 760px;
}

#at figure figcaption {
margin: 0;
padding: 0.5em;
background-color: #ddd;
text-align: center;
font-weight: bold;
font-size: 110%;
}

#at figure img {
margin: 0;
padding: 2px;
border: none;
width: auto;
}

70 changes: 1 addition & 69 deletions content/patterns/landmarks/landmarks-pattern.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/base.css">
<link rel="stylesheet" href="../../shared/css/core.css">
<link rel="stylesheet" href="./css/tabs.css">
<link rel="stylesheet" href="./css/landmarks-pattern.css">


<script src="../../shared/js/highlight.pack.js"></script>
Expand All @@ -18,75 +19,6 @@
<script src="./js/tabs-automatic.js"></script>
<script src="./js/image-resizing.js"></script>

<style>
.landmark h3 {
margin: 0;
padding: 0;
}
.landmark [role=tabpanel] h3 {
margin: 0;
padding: 0;
margin-top: 1em;
}

[role=tabpanel] pre {
margin: 0;
padding: 0;
}
pre code.hljs {
background-color: #eee;
}

fieldset {
margin-top: 1em;
max-width: 15em;
}

label {
margin-top: 0.5em;
display: block;
}

input[type=text] {
margin: 0;
padding: 0;
display: block;
}

input[type=submit] {
margin-top: 1em;
display: block;
}

#at figure {
margin: 0;
padding: 0;
margin-top: 2em;
border: 2px solid #005a9c;
border-radius: 5px;
background-color: #ddd;
width: auto;
max-width: 760px;
}

#at figure figcaption {
margin: 0;
padding: 0.5em;
background-color: #ddd;
text-align: center;
font-weight: bold;
font-size: 110%;
}

#at figure img {
margin: 0;
padding: 2px;
border: none;
width: auto;
}

</style>

</head>
<body>
<main>
Expand Down

0 comments on commit e592d94

Please sign in to comment.