-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
133 lines (101 loc) · 4.54 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Light / Dark Mode</title>
<link rel="icon" type="image/png" href="https://www.google.com/s2/favicons?domain=javascripttutorial.net">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css">
<link rel="stylesheet" href="background.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="colors.css">
</head>
<body>
<!-- COLOR THEME SWITCHER -->
<div class="theme-switcher_container">
<!-- CURRENT THEME INFO -->
<span class="theme-switcher_mode-info-container">
<span class="theme-switcher_mode-text">Light Mode</span>
<i class="fas fa-sun"></i>
</span>
<!-- THEME CONTROL -->
<label class="theme-switcher_control-label">
<input type="checkbox">
<div class="theme-switcher_slider-round"></div>
</label>
</div>
<!-- NAV -->
<nav class="nav">
<h2 class="hidden">Navigation</h2>
<a href="#landing">LANDING</a>
<a href="#about">ABOUT</a>
<a href="#buttons">BUTTONS</a>
<a href="#contact">CONTACT</a>
</nav>
<!-- LANDING -->
<!-- hint: a div doesn`t create a a semantic section / the h1 in a div can be used as the h1 of the whole document-->
<div id="landing" class="landing">
<div class="title-group">
<h1>Light / Dark Mode</h1>
<h2>Welcome to this Trainings Project</h2>
</div>
</div>
<!-- ABOUT -->
<section id="about" class="about">
<h2>About</h2>
<!-- Cards -->
<div class="about_card-container">
<!-- Mindfulness -->
<div class="about_card">
<h3>Mindfulness</h3>
<img src="./pics/undraw_mindfulness_light.svg" alt="Mindfulness" class="about_card_img">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Nulla, natus maxime obcaecati consequuntur facilis voluptatibus voluptate vitae ipsa, ipsum sint at tempore voluptates rem quidem excepturi, error accusamus incidunt a.</p>
</div>
<!-- Go for a walk -->
<div class="about_card">
<h3>Go for a walk</h3>
<img src="./pics/undraw_walking_outside_light.svg" alt="Walking Outside" class="about_card_img">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Nulla, natus maxime obcaecati consequuntur facilis voluptatibus voluptate vitae ipsa, ipsum sint at tempore voluptates rem quidem excepturi, error accusamus incidunt a.</p>
</div>
<!-- Programming -->
<div class="about_card">
<h3>Programming</h3>
<img src="./pics/undraw_programming_light.svg" alt="Programming" class="about_card_img">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Nulla, natus maxime obcaecati consequuntur facilis voluptatibus voluptate vitae ipsa, ipsum sint at tempore voluptates rem quidem excepturi, error accusamus incidunt a.</p>
</div>
</div><!-- Cards End -->
</section>
<!-- Buttons -->
<section class="buttons" id="buttons">
<h2>Buttons</h2>
<!-- the Buttons -->
<div class="buttons">
<button class="primary">Primary</button>
<button class="secondary">Secondary</button>
<button class="primary" disabled>Disabled</button>
<button class="outline">Outline</button>
<button class="secondary outline">Alt Outline</button>
<button class="outline" disabled>Disabled</button>
</div>
<!-- Text Box-->
<div class="text-box">
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Quas, non. Voluptates nesciunt mollitia nam. Necessitatibus sed placeat, eligendi veritatis in iusto dicta! Odit, vel alias ut quos consectetur nemo neque.
</div>
</section>
<!-- Contact -->
<section class="contact" id="contact">
<h2>Contact</h2>
<!-- Icons -->
<div class="social-icons">
<i class="fab fa-github"></i>
<i class="fab fa-codepen"></i>
<i class="fab fa-linkedin-in"></i>
<i class="fab fa-medium"></i>
<i class="fab fa-instagram"></i>
<i class="fab fa-youtube"></i>
</div>
</section>
<script src="script.js"></script>
</body>
</html>