Skip to content

Commit 235d481

Browse files
authored
Add files via upload
added styles
1 parent b0d3580 commit 235d481

File tree

1 file changed

+179
-0
lines changed

1 file changed

+179
-0
lines changed

Week1/style.css

Lines changed: 179 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
1+
.alert-error {
2+
color: red;
3+
}
4+
body {
5+
width: 768px;
6+
margin-left: auto;
7+
margin-right: auto;
8+
background-color: #f8f8f8;
9+
font-family: 'Roboto', sans-serif;
10+
color: rgb(0, 0, 0, 87%);
11+
margin-top: 0;
12+
}
13+
14+
#container {
15+
margin: 0;
16+
display: grid;
17+
flex-direction: column;
18+
grid-template-columns: auto auto;
19+
align-items: flex-start;
20+
}
21+
22+
@media (max-width: 767px) {
23+
body {
24+
width: 100%;
25+
}
26+
#container {
27+
margin: 0;
28+
display: flex;
29+
grid-template-columns: auto auto;
30+
flex-direction: column;
31+
align-items: flex-start;
32+
}
33+
}
34+
35+
h1,
36+
h2,
37+
h3,
38+
h4 {
39+
color: rgb(0, 0, 0, 54%);
40+
}
41+
42+
.header {
43+
color: white;
44+
background-color: #3f51b5;
45+
padding: 8px 16px;
46+
margin-bottom: 16px;
47+
display: flex;
48+
flex-direction: row;
49+
align-items: center;
50+
}
51+
52+
.header h1 {
53+
color: white;
54+
}
55+
56+
.repo-selector {
57+
margin-left: 16px;
58+
font-size: 14px;
59+
width: 250px;
60+
height: 32px;
61+
padding: 2px;
62+
}
63+
64+
.leftDiv,
65+
.rightDiv {
66+
background-color: white;
67+
flex: 1;
68+
}
69+
70+
.leftDiv {
71+
padding: 16px;
72+
margin-right: 16px;
73+
}
74+
.rightDiv {
75+
padding: 16px;
76+
margin-right: 16px;
77+
}
78+
79+
@media (max-width: 767px) {
80+
.leftDiv {
81+
margin: 0;
82+
}
83+
}
84+
85+
.contributor-list {
86+
list-style-type: none;
87+
padding: 0;
88+
margin: 0;
89+
}
90+
91+
.alert {
92+
padding: 0.75rem 1.25rem;
93+
margin-bottom: 1rem;
94+
border-radius: 0.25rem;
95+
flex: 1;
96+
}
97+
98+
.alert-error {
99+
color: #721c24;
100+
background-color: #f8d7da;
101+
}
102+
103+
.contributorsHeader {
104+
font-size: 0.8rem;
105+
color: blue (0, 0, 0, 54%);
106+
padding: 8px 16px 4px 16px;
107+
}
108+
.contributorsList {
109+
display: grid;
110+
grid-template-columns: auto;
111+
grid-gap: 5px;
112+
}
113+
.contributorItem {
114+
border-bottom: solid 1px rgb(0, 0, 0, 12%);
115+
padding: 16px;
116+
display: flex;
117+
flex-direction: row;
118+
align-items: center;
119+
cursor: pointer;
120+
grid-gap: 10px;
121+
}
122+
123+
.contributorsAvatar {
124+
border-radius: 3px;
125+
margin-right: 16px;
126+
}
127+
128+
.contributorName {
129+
flex: 1;
130+
display: flex;
131+
flex-direction: row;
132+
justify-content: space-between;
133+
align-content: center;
134+
}
135+
136+
.contributorBadge {
137+
font-size: 12px;
138+
padding: 2px 8px;
139+
line-height: 1rem;
140+
background-color: gray;
141+
color: white;
142+
border-radius: 4px;
143+
}
144+
145+
table {
146+
table-layout: fixed;
147+
color: rgb(0, 0, 0, 81%);
148+
}
149+
150+
td {
151+
vertical-align: top;
152+
}
153+
154+
td:first-child {
155+
width: 100px;
156+
min-width: 100px;
157+
max-width: 100px;
158+
}
159+
160+
td.label {
161+
font-weight: bold;
162+
}
163+
164+
.whiteFrame {
165+
margin-bottom: 8px;
166+
border: none;
167+
border-radius: 2px;
168+
background-color: #fff;
169+
box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.2), 0 3px 4px 0 rgba(0, 0, 0, 0.14),
170+
0 3px 3px -2px rgba(0, 0, 0, 0.12);
171+
}
172+
@font-face {
173+
font-family: 'Roboto';
174+
font-style: normal;
175+
font-weight: 400;
176+
src: local('Roboto'), local('Roboto-Regular'),
177+
url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu72xKOzY.woff2) format('woff2');
178+
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
179+
}

0 commit comments

Comments
 (0)