Skip to content

Commit e7594af

Browse files
Use BEM for CSS
1 parent 604a001 commit e7594af

27 files changed

+564
-418
lines changed

content/_index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
title = "Phel: A Functional Lisp Dialect for PHP Developers"
33
+++
44

5-
**Phel** is a functional programming language that compiles down to PHP. It's a modern Lisp dialect inspired by [Clojure](https://clojure.org/) and [Janet](https://janet-lang.org/), tailored to bring functional elegance and expressive code to the world of PHP development.
5+
<img src="/images/logo_phel.svg" width="380" alt="Phel language logo"/>
66

7-
<img src="/images/logo_phel.svg" width="450" alt="Phel language logo"/>
7+
**Phel** is a functional programming language that compiles to PHP — a modern Lisp dialect inspired by [Clojure](https://clojure.org/) and [Janet](https://janet-lang.org/), bringing functional elegance and expressive code to PHP development.
88

99
<div class="homepage-cta">
10-
<a href="#try-phel-instantly-with-docker" class="homepage-cta-button homepage-cta-primary">
10+
<a href="#try-phel-instantly-with-docker" class="btn btn-primary homepage-cta-button homepage-cta-primary">
1111
<svg class="homepage-cta-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><polygon points="5 3 19 12 5 21 5 3"></polygon></svg>
1212
Try Phel with Docker
1313
</a>
14-
<a href="/documentation/getting-started" class="homepage-cta-button homepage-cta-secondary">
14+
<a href="/documentation/getting-started" class="btn btn-secondary homepage-cta-button homepage-cta-secondary">
1515
<svg class="homepage-cta-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path></svg>
1616
Read Documentation
1717
</a>

css/base.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ body {
3333
min-height: 100vh;
3434
-webkit-font-smoothing: antialiased;
3535
-moz-osx-font-smoothing: grayscale;
36-
font-family: var(--font-primary);
3736
background-color: var(--color-light-bg);
3837
color: var(--color-light-text-primary);
3938
font-size: var(--font-size);

css/components/animations.css

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/* ========================================
2+
ANIMATIONS
3+
Global keyframe animations
4+
======================================== */
5+
6+
/* Fade animations */
7+
@keyframes fadeIn {
8+
from {
9+
opacity: 0;
10+
}
11+
to {
12+
opacity: 1;
13+
}
14+
}
15+
16+
@keyframes fadeInUp {
17+
from {
18+
opacity: 0;
19+
transform: translateY(30px);
20+
}
21+
to {
22+
opacity: 1;
23+
transform: translateY(0);
24+
}
25+
}
26+
27+
/* Slide animations */
28+
@keyframes slideInDown {
29+
from {
30+
opacity: 0;
31+
transform: translateY(-10px);
32+
}
33+
to {
34+
opacity: 1;
35+
transform: translateY(0);
36+
}
37+
}
38+
39+
/* Scale animations */
40+
@keyframes expandSearch {
41+
from {
42+
transform: scale(0.95);
43+
opacity: 0.8;
44+
}
45+
to {
46+
transform: scale(1);
47+
opacity: 1;
48+
}
49+
}

0 commit comments

Comments
 (0)