Skip to content

Commit 7019270

Browse files
authored
Create style.css
1 parent d9daacb commit 7019270

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

Roman_Numeral_Converter/style.css

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
body{
2+
margin: 0px auto;
3+
padding: 0px auto;
4+
box-sizing: border-box;
5+
font-size: 10px;
6+
font-family: cursive;
7+
background-color: #202020;
8+
}
9+
.main{
10+
display: flex;
11+
flex-direction: column;
12+
align-items: center;
13+
/*justify-content: center;*/
14+
padding: 10px;
15+
}
16+
h1{
17+
font-size: 2rem;
18+
color: #fff;
19+
}
20+
input{
21+
outline: 0;
22+
width: 50vw;
23+
margin: 10px 0;
24+
height: 50px;
25+
padding: 5px;
26+
padding-left: 20px;
27+
border-style: none;
28+
border-radius: 5px;
29+
background: rgba(138,138,138,.4);
30+
font-size: 1.5rem;
31+
color:ghostwhite;
32+
text-align: center;
33+
font-family: cursive;
34+
}
35+
::placeholder{
36+
color: #fff;
37+
}
38+
@media(max-width: 500px) {
39+
body{
40+
padding-top: 20px;
41+
}
42+
h1{
43+
font-size: 2rem;
44+
}
45+
input{
46+
width: 70vw;
47+
font-size: 2rem;
48+
}
49+
}

0 commit comments

Comments
 (0)