-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
146 lines (144 loc) · 3.1 KB
/
style.css
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
134
135
136
137
138
139
140
141
142
143
144
145
146
.model{
text-align: center;
justify-content: center;
}
#about{
font-size:18px;
color:rgb(35, 5, 61);
width: 800px;
text-align:justify;
}
body{
display: flex;
align-items: center;
justify-content: center;
}
#box{
margin:20px;
}
.containerop {
background-color:#3E567C;
display: center;
justify-content: center;
align-items: center;
width: 500px;
margin: auto;
padding-right: 20px;
border-radius: 10px;
overflow: hidden;
box-shadow: 0px 0px 10px 1px rgb(123, 114, 120);
}
.heading{
text-align: center;
font-size: 30px;
font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
font-weight: bold;
color:rgb(34, 12, 2);
}
/* Style for all input containers */
.input-container{
display: flex;
justify-content: space-between;
align-items: center;
margin: 10px 30px;
}
.input-container label{
font-size: larger;
color:black;
font-weight: bold;
}
.input-container input{
font-size: larger;
border:none;
box-shadow: 0px 0px 2px 1px rgb(152, 145, 145);
padding: 4px 10px;
border-radius: 5px;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
outline: none;
width: 50%;
}
.input-container input:hover{
box-shadow: 0px 0px 2px 1px rgb(37, 34, 34);
}
/* submit button style */
.submit-container{
margin: 20px;
display: flex;
justify-content: center;
}
#calculate{
padding:4px 10px;
font-size: larger;
background-color: rgb(182, 53, 53);
border-radius: 3px;
color: white;
border:none;
outline: none;
box-shadow: 2px 3px 4px rgb(55, 52, 52);
transition: 0.4s;
cursor: pointer;
}
#calculate:active{
box-shadow: none;
font-size:large;
}
/* Loan duration style */
#loanTenure{
width: 58px;
margin-left: 65px;
margin-right: 0;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
}
.radio-container{
background-color:grey;
display: flex;
margin-left: 0;
}
.radio-container input[type="radio"]{
display: none;
}
.radio-container label{
padding: 3.7px 5px;
box-shadow: 0px 0px 2px 1px rgb(152, 145, 145);
cursor: pointer;
transition: all 0.3s;
}
#month + label{
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.radio-container label:hover{
background-color:orange;
color:white;
}
.radio-container input[type="radio"]:checked+label{
background-color: orange;
color: white;
}
/* Output */
.output{
margin: 10px;
display: flex;
flex-direction: column;
}
.output p{
font-size: 16px;
border-radius: 4px;
padding: 4px;
margin:4px;
width: 100%;
box-shadow: 0px 0px 5px rgb(51, 48, 48);
color:rgb(62, 58, 58);
font-weight: 550;
}
.output p span{
float: right;
word-wrap: break-word;
color:black;
font-weight: bolder;
font-size: larger;
}
.op{
background-color: white;
}