Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7652c8d

Browse files
committed
Start project week2
1 parent b8df810 commit 7652c8d

File tree

9 files changed

+160
-33
lines changed

9 files changed

+160
-33
lines changed

hackyourrepo-app/Masoud/css/style.css

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
* {
2+
padding: 0;
3+
margin: 0;
4+
box-sizing: border-box;
5+
}
6+
7+
body{
8+
background-color: #313267;
9+
font-size: 14px;
10+
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
11+
width: 100vw;
12+
height: calc(100vh - 20px);
13+
overflow: hidden;
14+
}
15+
16+
header{
17+
height: 15%;
18+
background-color:#313267 ;
19+
}
20+
21+
22+
header a{
23+
height: 100%;
24+
display: block;
25+
text-align: center;
26+
}
27+
28+
img{
29+
height: inherit;
30+
padding: 5px;
31+
}
32+
33+
.container{
34+
background-color: #6ed5e7;
35+
width: calc(95% - 5px);
36+
margin: auto;
37+
height: 85%;
38+
}
39+
40+
.selector{
41+
padding: 10px;
42+
font-size: 1.7em;
43+
background-color: rgb(252, 103, 49);
44+
color: white;
45+
}
46+
47+
#repo-items{
48+
font-size: 16px;
49+
font-family: sans-serif;
50+
font-weight: 700;
51+
color: #444;
52+
padding: .6em 1.4em .5em .8em;
53+
max-width: 100%; /* useful when width is set to anything other than 100% */
54+
margin: 0px auto;
55+
border: 1px solid #aaa;
56+
-moz-appearance: none;
57+
-webkit-appearance: none;
58+
background-color: #fff;
59+
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
60+
}
61+
62+
.des-con{
63+
display: flex;
64+
padding: 10px;
65+
}
66+
67+
.description, .contributers{
68+
width: 50%;
69+
border: 3px rgb(223, 152, 152) solid;
70+
margin: 5px;
71+
72+
}
73+
74+
table{
75+
border-spacing: 10px;
76+
}
77+
78+
@media only screen and (max-width:550px){
79+
.des-con{
80+
flex-direction: column;
81+
align-items: center;
82+
}
83+
.description, .contributers{
84+
width: 90%;
85+
}
86+
.selector{
87+
text-align: center;
88+
}
89+
#repo-items{
90+
margin-top: 10px;
91+
}
92+
}
1.12 KB
Binary file not shown.

hackyourrepo-app/Masoud/img/hyf.png

7.64 KB
Loading

hackyourrepo-app/Masoud/index.html

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Hack Your Future</title>
8+
<link rel="icon" href="img/favicon.ico" type="image/x-icon">
9+
<link rel="stylesheet" href="css/style.css">
10+
</head>
11+
12+
<body>
13+
<header>
14+
<a href="#"><img src="img/hyf.png"></a>
15+
</header>
16+
17+
<div class="container">
18+
<main>
19+
<section class="selector">
20+
<label for="repo-items">Hack Your Future Repositories:</label>
21+
<select id="repo-items">
22+
<option value="SampleRepo1">SampleRepo1</option>
23+
<option value="AndAnotherOne">AndAnotherOne</option>
24+
<option value="HYF-Is-The-Best">HYF-Is-The-Best</option>
25+
</select>
26+
</section>
27+
28+
<div class="des-con">
29+
<section class="description">
30+
<table>
31+
<tbody>
32+
<tr>
33+
<td>Repository</td>
34+
<td>SampleRepo1</td>
35+
</tr>
36+
<tr>
37+
<td>Description</td>
38+
<td>This repository is meant to be a sample</td>
39+
</tr>
40+
<tr>
41+
<td>Forks</td>
42+
<td>5</td>
43+
</tr>
44+
<tr>
45+
<td>Updated</td>
46+
<td>2020-05-27 12:00:00</td>
47+
</tr>
48+
<tr>
49+
</tr>
50+
</tbody>
51+
</table>
52+
</section>
53+
54+
<section class="contributers">
55+
<h3>contributers</h3>
56+
</section>
57+
</div>
58+
59+
</main>
60+
61+
</div>
62+
63+
64+
<script src="js/script.js"></script>
65+
</body>
66+
67+
</html>

hackyourrepo-app/Masoud/js/script.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log('ssadfd');

hackyourrepo-app/hyf.png

-8.9 KB
Binary file not shown.

hackyourrepo-app/index.html

Lines changed: 0 additions & 25 deletions
This file was deleted.

hackyourrepo-app/script.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

hackyourrepo-app/style.css

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)