Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
14 changes: 14 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@
/>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="styles.css" />
<link rel="stylesheet" href="styles/main.css">
<link rel="stylesheet" href="styles/themes.css">
<link rel="stylesheet" href="styles/challenges.css">
<script
src="https://js.sentry-cdn.com/8994bf86fecf7733832520db1565ab1f.min.js"
crossorigin="anonymous"
></script>
</head>
<body>
<!-- header code starts -->
<header class="header">
<div class="container header__container">
<div class="header__logo">
Expand All @@ -46,7 +50,9 @@
</button>
</div>
</header>
<!-- header code ends -->

<!-- main code starts -->
<main>
<div class="container">
<div class="hero__content">
Expand Down Expand Up @@ -97,7 +103,9 @@ <h1 class="hero__title">
</div>
</div>
</main>
<!-- main code ends -->

<!-- footer code starts -->
<footer class="footer">
<div class="container">
<div class="footer__content">
Expand Down Expand Up @@ -127,7 +135,11 @@ <h4>Community</h4>
</div>
</div>
</footer>
<!-- footer code ends -->



<!-- Scripts begin -->
<script src="https://unpkg.com/[email protected]/dist/typed.umd.js"></script>
<script>
var typed = new Typed("#element", {
Expand All @@ -139,5 +151,7 @@ <h4>Community</h4>
<script type="module" src="./scripts/data.js"></script>
<script type="module" src="./scripts/app.js"></script>
<script type="module" src="./scripts/theme.js"></script>
<!-- Scripts end -->

</body>
</html>
36 changes: 36 additions & 0 deletions styles/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
.hero__content{
display: flex;
flex-direction: row;
}
@media (max-width:1025px){
.hero__content{
flex-direction: column;
}
.hero__visual, .hero__text{
flex: 1;
width: 70%;
}
}
.hero__text{
flex: 1;
display: flex;
flex-direction: column;
}
.hero__cta{
display: flex;
flex-direction: row;
}
.hero__text.hero__cta a{
flex: 1;
}
@media (max-width:939px){
.hero__cta{
display: flex;
flex-direction: column;
padding: 0 10%;
}
}
.hero__visual{
flex: 1;
padding: 0px 5%;
}
2 changes: 1 addition & 1 deletion styles/themes.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
--bg-color: #121212;
--text-color: #f1f1f1;
--header-bg: #1e1e1e;
}
}

body {
background-color: var(--bg-color);
Expand Down
Loading