Skip to content

Commit 2e437a4

Browse files
update
1 parent a277fcc commit 2e437a4

File tree

4 files changed

+99
-55
lines changed

4 files changed

+99
-55
lines changed

dsa_styles.css

+4
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ a:hover {
141141
background-color: white;
142142
}
143143

144+
a {
145+
color: steelblue;
146+
}
147+
144148
.but a {
145149
color: white
146150
}

java/1.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ <h5>Hello World Program </h5>
9090
}
9191
}</code></pre> -->
9292

93-
<center></center><pre>
93+
<center><pre>
9494
<code>// Your First Program
9595

9696
class HelloWorld {

python/1.html

+20-22
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
<nav class="navbar fixed-top navbar-expand-xl navbar-dark">
3535
<a class="navbar-brand" href="../index.html">CODEMISTIC</a>
3636
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
37-
<span class="navbar-toggler-icon"></span>
38-
</button>
37+
<span class="navbar-toggler-icon"></span>
38+
</button>
3939
<div class="collapse navbar-collapse" id="navbarSupportedContent">
4040
<ul class="navbar-nav ml-auto">
4141
<li class="nav-item">
@@ -67,20 +67,20 @@
6767
<section class="para">
6868
<div class=" but ">
6969
&nbsp;&nbsp;&nbsp;&nbsp;<button class="btn btn-md btn-primary "><a href="../python.html"><i class="fas fa-arrow-left "></i>&nbsp;Back to Index</a></button>
70-
<br>
71-
<center>
72-
<h2>Python Introduction</h2><br>
73-
</center>
70+
</div>
71+
<div class="wrapper">
72+
<h2>Python Introduction</h2>
73+
7474
<h2>What is Python?</h2>
7575

7676
<p>Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development,
7777
as well as for use as a scripting or glue language to connect existing components together. Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and
78-
packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed. <br>Often,
79-
programmers fall in love with Python because of the increased productivity it provides. Since there is no compilation step, the edit-test-debug cycle is incredibly fast. Debugging Python programs is easy: a bug or bad input will never
80-
cause a segmentation fault. Instead, when the interpreter discovers an error, it raises an exception. When the program doesn't catch the exception, the interpreter prints a stack trace. A source level debugger allows inspection of local
81-
and global variables, evaluation of arbitrary expressions, setting breakpoints, stepping through the code a line at a time, and so on. The debugger is written in Python itself, testifying to Python's introspective power. On the other hand,
82-
often the quickest way to debug a program is to add a few print statements to the source: the fast edit-test-debug cycle makes this simple approach very effective.<br> Python is a popular programming language. It was created by Guido van
83-
Rossum, and released in 1991.</p>
78+
packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed.
79+
<br>Often, programmers fall in love with Python because of the increased productivity it provides. Since there is no compilation step, the edit-test-debug cycle is incredibly fast. Debugging Python programs is easy: a bug or bad input
80+
will never cause a segmentation fault. Instead, when the interpreter discovers an error, it raises an exception. When the program doesn't catch the exception, the interpreter prints a stack trace. A source level debugger allows inspection
81+
of local and global variables, evaluation of arbitrary expressions, setting breakpoints, stepping through the code a line at a time, and so on. The debugger is written in Python itself, testifying to Python's introspective power. On the
82+
other hand, often the quickest way to debug a program is to add a few print statements to the source: the fast edit-test-debug cycle makes this simple approach very effective.<br> Python is a popular programming language. It was created
83+
by Guido van Rossum, and released in 1991.</p>
8484
<h2>Who manages Python Today?</h2>
8585

8686
<p>From version 2.1 onwards, Python is managed by Python Software Foundation situated in Delaware, USA It is a non-profit organization devoted to the growth and enhancement of Python language. Their website is http://www.python.org .</p>
@@ -169,7 +169,9 @@ <h2>IDE</h2>
169169
and they are free, but they have less features. PyCharm Edu provides courses and helps you learn programming with Python. The Professional edition is commercial, and provides an outstanding set of tools and features.</p>
170170
<h2>Installing Pycharm</h2>
171171
<ol>
172-
<li>To download Pycharm visit the website https://www.jetbrains.com/pycharm/download</li>
172+
<li>To download Pycharm visit
173+
<a href="https://www.jetbrains.com/pycharm/download">Jetbrains website</a>
174+
</li>
173175
<li>Here you will observe two versions of package for Windows/Mac/Linux</li>
174176
<li>Click the " DOWNLOAD " link under the Community Section.</li>
175177
<li>Once the download is complete, run the exe for install PyCharm. The setup wizard should have started. Click “Next”.</li>
@@ -186,15 +188,11 @@ <h2>Installing Pycharm</h2>
186188

187189

188190

189-
190-
191-
192-
193-
<br> &nbsp;&nbsp;&nbsp;&nbsp;
194-
<div class="but text-right">
195-
<button class="btn btn-primary pull-right "><a href="2.html ">Next Topic&nbsp;<i class="fas fa-arrow-right "></i></a></button>
196-
</div>
197-
<br></section>
191+
</div> <br> &nbsp;&nbsp;&nbsp;&nbsp;
192+
<div class="but text-right ">
193+
<button class="btn btn-primary pull-right "><a href="2.html ">Next Topic&nbsp;<i class="fas fa-arrow-right "></i></a></button>
194+
</div>
195+
<br></section>
198196
<center><br>
199197
<h5>More Topics Uploading soon...</h5>
200198
<hr>

python_styles.css

+74-32
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1+
/* Utilities */
2+
3+
body {
4+
text-align: left;
5+
}
6+
7+
hr {
8+
margin: 50px auto;
9+
border-color: rgb(138, 135, 135);
10+
width: 50%;
11+
}
12+
13+
h1,
14+
h2,
15+
h3,
16+
h6 {
17+
margin: 50px auto;
18+
line-height: 1.5;
19+
text-align: left;
20+
}
21+
22+
p {
23+
line-height: 1.5;
24+
text-align: left;
25+
font-size: 1.1rem;
26+
color: rgba(88, 90, 92, 0.938);
27+
}
28+
29+
strong {
30+
margin: 40px auto;
31+
}
32+
33+
.wrapper {
34+
padding-left: 5%;
35+
padding-right: 5%;
36+
}
37+
38+
a:hover {
39+
text-decoration: none;
40+
}
41+
42+
143
/* navbar */
244

345
.navbar {
@@ -19,7 +61,7 @@
1961
}
2062

2163
.header {
22-
background-color: #bbe1fab9;
64+
background-color: #c0e3fab9;
2365
padding: 3% 5%;
2466
position: sticky;
2567
}
@@ -31,7 +73,7 @@
3173
}
3274

3375
.cpp-img {
34-
width: 100%;
76+
width: 60%;
3577
}
3678

3779
.languages {
@@ -61,11 +103,6 @@
61103
line-height: 20px;
62104
}
63105

64-
h5,
65-
h2 {
66-
text-align: center;
67-
}
68-
69106
.hljs {
70107
display: block;
71108
overflow-x: auto;
@@ -98,17 +135,13 @@ h2 {
98135
padding-right: 20px;
99136
}
100137

101-
.para a {
102-
color: steelblue;
103-
}
104-
105-
body {
138+
.body {
106139
font-family: 'Varela Round', sans-serif;
107140
background-color: white;
108141
}
109142

110143
.but a {
111-
color: white;
144+
color: white
112145
}
113146

114147
.btn-primary {
@@ -117,36 +150,20 @@ body {
117150
border-color: steelblue;
118151
}
119152

120-
h1,
121-
h2,
122-
h3,
123-
h4,
124-
h5,
125-
h6,
126-
p {
127-
line-height: 1.5;
128-
}
129-
130-
.para,
131-
p,
132-
ol,
133-
ul {
153+
.but {
134154
font-size: 1.1rem;
135155
color: rgba(88, 90, 92, 0.938);
136156
padding-left: 5%;
137157
padding-right: 5%;
158+
margin-bottom: 50px;
159+
margin-top: 15px;
138160
}
139161

140162
.container-fluid {
141163
padding-left: 0;
142164
padding-right: 0;
143165
}
144166

145-
hr {
146-
border-color: rgb(138, 135, 135);
147-
width: 50%;
148-
}
149-
150167
.row {
151168
margin-right: 0;
152169
}
@@ -158,6 +175,10 @@ hr {
158175
box-shadow: 1px 1px 5px 3px #9babf0b7;
159176
}
160177

178+
.pre-footer {
179+
text-align: center;
180+
}
181+
161182

162183
/* footer*/
163184

@@ -168,16 +189,37 @@ footer {
168189
background-color: steelblue;
169190
padding: 2%;
170191
margin-top: 3%;
192+
text-align: center;
193+
}
194+
195+
.foot-header {
196+
margin-bottom: 8px;
197+
margin-top: 0;
171198
}
172199

173200
.footer-links {
174201
margin-bottom: 1%;
175202
}
176203

177204
.foot {
205+
text-align: center;
178206
color: white;
179207
}
180208

181209
.icons {
182210
padding-left: 15px;
211+
}
212+
213+
pre {
214+
padding: 16px;
215+
border-radius: 4px;
216+
border: 1px solid #d3dce6;
217+
background-color: #f5f5f5;
218+
margin-bottom: 16px;
219+
font-family: "Droid Sans Mono", "Inconsolata", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier", monospace;
220+
font-size: 14px;
221+
line-height: 20px;
222+
overflow: auto;
223+
margin-left: 10px;
224+
text-align: left;
183225
}

0 commit comments

Comments
 (0)