Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% # common tags inserted into all non-index/about pages %}
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://w3.org/WAI/assets/css/style.css">
<link rel="stylesheet" href="https://deploy-preview-174--wai-website-theme.netlify.app/assets/css/style.css?1768206880">
{% if isTechniques %}
{% include "techniques/head.html" %}
{% elsif isUnderstanding %}
Expand Down
51 changes: 20 additions & 31 deletions _includes/header.html

Large diffs are not rendered by default.

97 changes: 0 additions & 97 deletions css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,6 @@ main {
;
}

.minimal-header {
-ms-grid-column: 2;
-ms-grid-column-span: 8;
-ms-grid-row: 1;
grid-column: 2/10;
}

.minimal-header-name a {
text-decoration: none;
}
.minimal-header-name a:hover, .minimal-header-name a:focus {
text-decoration: underline;
}

.main-content {
-ms-grid-column: 2;
-ms-grid-column-span: 6;
Expand Down Expand Up @@ -129,19 +115,6 @@ dt div {
padding-top: 0;
}

.minimal-header-container {
background-color: #005a9c;
background-color: var(--w3c-classic);
color: #fff;
color: var(--pure-white);
}
.minimal-header-logo > a {
display: flex;
}
.minimal-header-name > a {
color: inherit;
}

.note {
padding: 0em 1em;
margin-bottom: 1em;
Expand Down Expand Up @@ -191,50 +164,7 @@ text-decoration: none;
padding: 1.75em 0 0 0;
}

.minimal-header-logo img {
margin: 1px 0 1px 0;
}
.minimal-header-logo svg {
margin: 0.75em 0 0.75em 0.5em;
}

#site-header.minimal-header {
margin: 1.2em 0;
align-items: stretch;
}

#site-header.minimal-header .minimal-header-name,
#site-header.minimal-header .minimal-header-subtitle,
#site-header.minimal-header .minimal-header-link
{
display: flex;
flex-direction: column;
justify-content: center;
}

.minimal-header-name {
flex: width 0 0;
}

.minimal-header-subtitle,
.minimal-header-link {
border-left: 1px solid var(--gold);
padding-left: 8px;
margin-left: 18px;
display: block;
font-size: 80%;
flex: 1 0 0;
}

.minimal-header-subtitle {
font-style: italic;
}

.minimal-header-link {
text-decoration: underline !important;
font-weight: normal;
margin-right: 16px;
}

.nav-container {
margin-bottom: 0;
Expand Down Expand Up @@ -469,33 +399,6 @@ figcaption {
padding-left: 0;
}
}
.minimal-header {
display: block;
}
#site-header.minimal-header .minimal-header-name, #site-header.minimal-header .minimal-header-subtitle, #site-header.minimal-header .minimal-header-link {
display: block;
}
#site-header.minimal-header .minimal-header-subtitle {
display: none;
}
.minimal-header-name {
font-size: 160%;
margin-bottom: 0.5em;
}
.minimal-header-link {
margin-left: 0;
padding-left: 0;
border: none;
}
.minimal-header-logo {
display: block;
}
.minimal-header-logo > a {
display: inline-block;
}
.minimal-header-logo svg {
margin: 1em 0 0 0;
}
}

/* preformatted blocks - generally contain code element */
Expand Down
2 changes: 1 addition & 1 deletion techniques/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>About WCAG Techniques | WAI | W3C</title>
<link rel="stylesheet" href="https://w3.org/WAI/assets/css/style.css">
<link rel="stylesheet" href="https://deploy-preview-174--wai-website-theme.netlify.app/assets/css/style.css?1768206880">
<link rel="stylesheet" href="base.css">
</head>

Expand Down
4 changes: 2 additions & 2 deletions techniques/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<title>WCAG {{ versionDecimal }} Techniques Change Log | WAI | W3C</title>
<link rel="stylesheet" href="https://w3.org/WAI/assets/css/style.css">
<link rel="stylesheet" href="https://deploy-preview-174--wai-website-theme.netlify.app/assets/css/style.css?1768206880">
<link rel="stylesheet" type="text/css" href="base.css">
</head>

Expand Down Expand Up @@ -85,4 +85,4 @@ <h2>Removed Techniques</h2>
<script src="https://www.w3.org/WAI/assets/scripts/main.js"></script>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion techniques/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<title>All WCAG {{ versionDecimal }} Techniques | WAI | W3C</title>
<link rel="stylesheet" href="https://w3.org/WAI/assets/css/style.css">
<link rel="stylesheet" href="https://deploy-preview-174--wai-website-theme.netlify.app/assets/css/style.css?1768206880">
<link rel="stylesheet" type="text/css" href="base.css">
</head>
<body dir="ltr">
Expand Down
2 changes: 1 addition & 1 deletion understanding/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>About WCAG Understanding Documents | WAI | W3C</title>
<link rel="stylesheet" href="https://w3.org/WAI/assets/css/style.css">
<link rel="stylesheet" href="https://deploy-preview-174--wai-website-theme.netlify.app/assets/css/style.css?1768206880">
<link rel="stylesheet" href="base.css">
</head>

Expand Down
2 changes: 1 addition & 1 deletion understanding/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<title>Understanding WCAG {{ versionDecimal }} | WAI | W3C</title>
<link rel="stylesheet" href="https://w3.org/WAI/assets/css/style.css">
<link rel="stylesheet" href="https://deploy-preview-174--wai-website-theme.netlify.app/assets/css/style.css?1768206880">
<link rel="stylesheet" type="text/css" href="base.css">
</head>
<body dir="ltr">
Expand Down