Skip to content

Commit

Permalink
UPDATE
Browse files Browse the repository at this point in the history
 - Fix bugs
 - Update archive foobar.ai

In `archive/foobar.ai/product`
 - Remove <a> border-radius
 - Include valid CSS files in product.html

In `css/main.css`:
 1. Try using Open Sans for MicroSoft Windows because it looks ugly af.
  • Loading branch information
4yman-0 committed Oct 8, 2024
1 parent 176e429 commit c474cd4
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 30 deletions.
13 changes: 1 addition & 12 deletions archive/foobar.ai/css/main.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
/* VARIABLES */

:root {
--font: Tahoma, Arial, sans-serif;
--text: #DDF;
--text-grayed: #99B;
--bg: #050505;
--bg-2: #111;
--bg-3: #222;
--primary: #45F;
--secondary: #8ea;
}


/* CSS RESET */

Expand Down
26 changes: 23 additions & 3 deletions archive/foobar.ai/index.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/* VARIABLES */

:root {
--bg-1: #050505;
--bg-2: #111;
--bg-3: #222;
--primary: #45F;
--secondary: #8ea;
--teritary: #8ae;
}

.color {
color: var(--secondary);
padding: 0;
}

.header {
padding: 0 1.5rem;
}
Expand Down Expand Up @@ -39,6 +55,7 @@
}

.cards {
display: flex;
margin-top: 1rem;
}

Expand All @@ -47,8 +64,7 @@
flex: 0 0 auto;
width: 40%;
min-width: 300px;
height: 10rem;
padding: 2rem;
padding: 1.5rem;
margin: 0 .2rem;
background: var(--bg-3);
border-radius: .5rem;
Expand All @@ -63,8 +79,12 @@
color: var(--text-grayed);
}

.horiz-scroll {
overflow-x: scroll;
}

.solutions {
padding-top: 20vh;
padding-top: 15vh;
}

.solutions__title {
Expand Down
7 changes: 4 additions & 3 deletions archive/foobar.ai/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@

<title>foobar.ai</title>

<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="../../css/fixes.css">
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/page.css">
<link rel="stylesheet" href="index.css">
</head>
<body>
Expand Down Expand Up @@ -47,7 +48,7 @@ <h2 class="hero__title">
</div>
</section>
<section class="section why-foobar" id="why-foobar">
<h2 class="why-foobar__title">Why <span class="logo color">foobar</span>?</h2>
<h2 class="why-foobar__title">Why <span class="color">foobar</span>?</h2>
<dl class="cards horiz-scroll">
<div class="card">
<dt><h3 class="card__title">AI buzz</h3></dt>
Expand Down
6 changes: 3 additions & 3 deletions archive/foobar.ai/product/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

<title>foobar.ai: Pro Max Platinum+</title>

<link rel="stylesheet" href="../css/main.css">
<link rel="stylesheet" href="../css/styles.css">
<link rel="stylesheet" href="../../../css/fixes.css">
<link rel="stylesheet" href="../../../css/main.css">
<link rel="stylesheet" href="product.css">
</head>
<body>
Expand Down Expand Up @@ -41,7 +41,7 @@ <h1 class="header__title">foobar<span class="color">.ai</span>: Pro Max Platinum
disabled>
</div>
</div>
<button class="button disabled buy__btn">Buy</button>
<a href="#" class="button disabled buy__btn">Buy</a>
</div>
<div class="product">
<h2 class="product__title">
Expand Down
10 changes: 6 additions & 4 deletions archive/foobar.ai/product/product.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@
}

.buy, .product {
min-height: 50vh;
padding: 5%;
min-height: 30vh;
padding: 3%;
margin: 2%;
background: var(--bg-3);
border-radius: 10px;
}

.buy {
Expand Down Expand Up @@ -64,8 +67,7 @@
}

.buy__btn:hover {
color: #B00;
border-color: #B00;
color: #C22;
}

.product__cost {
Expand Down
4 changes: 2 additions & 2 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
--primary: #787;
--secondary: #446;
--teritary: #886;
--font-1: "Noto Sans", sans-serif;
--font-1: "Noto Sans", "Open Sans", sans-serif;
--font-2: "Ubuntu Mono", "Courier New", monospace;
}

Expand Down Expand Up @@ -51,7 +51,6 @@ body {
a {
color: var(--primary);
padding: 0.2rem;
border-radius: 4px;
text-decoration: none;
}

Expand All @@ -67,6 +66,7 @@ a:active{
padding: 0.4rem .8rem;
text-align: center;
cursor: pointer;
border-radius: 4px;
background: var(--bg-3);
font-weight: 700;
transition: background 0.1s linear;
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h2 class="things__txt">Things:</h2>
<a href="verbose-webpage">browser information collector</a>
</li>
<li class="link-grid-item">
<a href="verbose-webpage">fake AI website</a>
<a href="archive/foobar.ai">fake AI website</a>
</li>
<li class="link-grid-item">
<p>And nothing else important...</p>
Expand All @@ -78,14 +78,14 @@ <h2 class="contact__txt">Contact me:</h2>
<li class="link-flex">
<a class="button button--focus link-flex__btn"
href="https://www.github.com/4yman-0">
<img class="link-flex__icon" src="img/gh.svg" alt="Github icon">
<img class="link-flex__icon" src="img/gh.svg" alt="icon">
Github
</a>
</li>
<li class="link-flex">
<a class="button link-flex__btn"
href="https://web.facebook.com/profile.php?id=61559737784942">
<img class="link-flex__icon" src="img/fb.svg" alt="FaceBook icon">
<img class="link-flex__icon" src="img/fb.svg" alt="icon">
FaceBook
</a>
</li>
Expand Down

0 comments on commit c474cd4

Please sign in to comment.