Skip to content

Commit

Permalink
cleaning up code and adding proper syntax changes
Browse files Browse the repository at this point in the history
  • Loading branch information
basiabaldwin committed Oct 8, 2024
1 parent 93d4dc7 commit ebdeb4b
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 56 deletions.
12 changes: 0 additions & 12 deletions content/body/index.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
<div class="homepage__hero">
<div class="homepage__hero--text">
<div class="homepage__hero--copy">
<!-- <h1 class="homepage__hero--heading"><?= $title ?></h1> -->
<h1 class="homepage__hero--heading">Enable </h1>
<p>A space for developers to learn and collaborate on making the web accessible.</p>
</div>

<!--
<div class="homepage__hero--ctas">
<a href="#getting-started.php" class="homepage__hero-link homepage__hero-link--main">
Getting Started
</a>
<a href="#how-to-contribute.php" class="homepage__hero-link homepage__hero-link--secondary">
How to Contribute
</a>
</div>
-->
</div>
</div>

Expand Down
5 changes: 0 additions & 5 deletions content/bottom/code-patterns-menu.php
Original file line number Diff line number Diff line change
@@ -1,5 +0,0 @@
<script id="ariaButtonExample" src="js/demos/aria-button-example.js">
</script>

<script id="htmlButtonExample" src="js/demos/html-button-example.js">
</script>
5 changes: 0 additions & 5 deletions content/bottom/content-menu.php
Original file line number Diff line number Diff line change
@@ -1,5 +0,0 @@
<script id="ariaButtonExample" src="js/demos/aria-button-example.js">
</script>

<script id="htmlButtonExample" src="js/demos/html-button-example.js">
</script>
5 changes: 0 additions & 5 deletions content/bottom/controls-menu.php
Original file line number Diff line number Diff line change
@@ -1,5 +0,0 @@
<script id="ariaButtonExample" src="js/demos/aria-button-example.js">
</script>

<script id="htmlButtonExample" src="js/demos/html-button-example.js">
</script>
5 changes: 0 additions & 5 deletions content/bottom/forms-menu.php
Original file line number Diff line number Diff line change
@@ -1,5 +0,0 @@
<script id="ariaButtonExample" src="js/demos/aria-button-example.js">
</script>

<script id="htmlButtonExample" src="js/demos/html-button-example.js">
</script>
3 changes: 1 addition & 2 deletions css/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions less/enable-flyout.less
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@
}

&__last-top-level-link {
// margin-right: 40px !important;

&::after {
content: "";
Expand Down Expand Up @@ -251,7 +250,6 @@
background: transparent;
border: none;
text-align: left;
// text-transform: uppercase;
font-weight: bold;

.enable-flyout-container--positioned-left & {
Expand Down Expand Up @@ -400,7 +398,6 @@
&__open-level-button {
cursor: pointer;
display: block;
// padding: (14 / @px) 0;
transition: background @anim-time ease-in-out;

&:hover {
Expand Down Expand Up @@ -647,8 +644,6 @@
}

&__open-level-button {
// padding-right: 5px;

&::after {
background-image: data-uri("../images/chevron-down.svg");
}
Expand All @@ -665,7 +660,6 @@
}

&__menu-item {
// display: inline-block;

&--close {
display: none;
Expand Down
14 changes: 4 additions & 10 deletions less/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ a {
display: flex;
flex-direction: column;
justify-content: center;
font-size: 1.2rem;
font-size: (19.2 / @px);

&--heading {
font-family: @font-default-brand;
font-size: 4rem;
font-size: (64 / @px);
margin: 30px auto 10px;
font-weight: normal;
color: @pink;
Expand Down Expand Up @@ -103,9 +103,8 @@ a {
}

&--section {
font-size: 16px;
font-size: (16 / @px);
border-radius: 25px;
// background-color: #fffffff2;
background-color: #f4f7f5;
margin-bottom: 40px;
padding: 20px;
Expand Down Expand Up @@ -212,17 +211,14 @@ a {

&--question::before {
background-image: data-uri("../images/icons/question.svg");
// background-color: @color-npm;
}

&--donate:before {
background-image: data-uri("../images/icons/donate.svg");
// background-color: @color-scratch;
}

&--bug:before {
background-image: data-uri("../images/icons/bug.svg");
// background-color: @color-integrate;
}
}

Expand All @@ -248,15 +244,13 @@ a {

&--heading {
font-weight: bold;
font-size: 1.8rem;
color: #fff;
display: inline-flex;
//DECIDING STILL IF IM KEEPING THIS ALIGN-ITEMS
align-items: stretch;
margin-bottom: 0px;

@media @tablet-up {
font-size: 2.375rem;
font-size: (38 / @px);
}
}

Expand Down
4 changes: 2 additions & 2 deletions less/shared/defaults.less
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ h2 {
h3 {
font-weight: bold;
padding-top: 20px;
font-size: 1.25rem;
font-size: (20 / @px);
border-bottom: double 3px #000;
}

h4 {
font-weight: 500;
padding: 20px 0;
font-size: 1.25rem;
font-size: (20 / @px);
}

h1,
Expand Down
2 changes: 1 addition & 1 deletion less/showcode.less
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ code {
&__heading {
font-weight: bold;
padding-top: 20px;
font-size: 1.25rem;
font-size: (20 / @px);
border-bottom: double 3px #000;
}

Expand Down
2 changes: 1 addition & 1 deletion less/site.less
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
}

a {
font-size: 1.3rem;
font-size: (20.8 / @px);
color: #000;
font-family: helvetica;
font-weight: bold;
Expand Down
4 changes: 2 additions & 2 deletions sitemap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ https://www.useragentman.com/enable/audio-player.php
https://www.useragentman.com/enable/button.php
https://www.useragentman.com/enable/carousel.php
https://www.useragentman.com/enable/checkbox.php
https://www.useragentman.com/enable/combobox.php
https://www.useragentman.com/enable/dark-mode.php
https://www.useragentman.com/enable/code-patterns-menu.php
https://www.useragentman.com/enable/combobox.php
https://www.useragentman.com/enable/content-menu.php
https://www.useragentman.com/enable/controls-menu.php
https://www.useragentman.com/enable/dark-mode.php
https://www.useragentman.com/enable/description-list.php
https://www.useragentman.com/enable/dialog.php
https://www.useragentman.com/enable/dropdown.php
Expand Down

0 comments on commit ebdeb4b

Please sign in to comment.