fix: intellij recommended fixes

This commit is contained in:
silver 2023-07-21 17:56:49 +01:00
parent e66c35d56f
commit 2f425a350d
2 changed files with 32 additions and 32 deletions

View file

@ -47,8 +47,8 @@ body {
#search input.image { #search input.image {
position: absolute; position: absolute;
height: 25px; height: 25px;
top: 0px; top: 0;
left: 0px; left: 0;
} }
#search input.text{ #search input.text{
@ -83,7 +83,7 @@ body {
text-align: center; text-align: center;
background-image: url(../images/sub1.jpg); background-image: url(../images/sub1.jpg);
height: 24px; height: 24px;
margin: 0px; margin: 0;
color: #585B5F; color: #585B5F;
background-repeat: no-repeat; background-repeat: no-repeat;
padding-top: 8px; padding-top: 8px;
@ -92,8 +92,8 @@ body {
#news ul{ #news ul{
list-style-type: none; list-style-type: none;
margin: 0px; margin: 0;
padding: 5px 0px 1px; padding: 5px 0 1px;
border-left-width: 1px; border-left-width: 1px;
border-left-style: solid; border-left-style: solid;
border-right-width: 1px; border-right-width: 1px;
@ -150,7 +150,7 @@ body {
#subnav ul { #subnav ul {
margin: 0; margin: 0;
list-style-type: none; list-style-type: none;
padding: 0px; padding: 0;
} }
#subnav li { #subnav li {
@ -274,15 +274,15 @@ body {
#maincenter h2{ #maincenter h2{
font-size: 1.1em; font-size: 1.1em;
margin: 0px; margin: 0;
padding-bottom: 5px; padding-bottom: 5px;
} }
#maincenter h3{ #maincenter h3{
font-size: 1em; font-size: 1em;
font-weight: bold; font-weight: bold;
margin: 0px; margin: 0;
padding-bottom: 0px; padding-bottom: 0;
} }
#maincenter p{ #maincenter p{
@ -338,13 +338,12 @@ a:hover {
} }
table input { table input {
border: 1px; border: 1px solid;
border-style:solid; background:#f0f0f0;
background:#f0f0f0;
font-size: 10pt; font-size: 10pt;
font-family: arial, verdana; font-family: arial, verdana, serif;
color: #000000; color: #000000;
margin-bottom: 0px; margin-bottom: 0;
} }
#drop { #drop {
@ -358,13 +357,13 @@ table input {
list-style: none; list-style: none;
float: left; float: left;
padding-right: 1px; padding-right: 1px;
padding-left: 0px; padding-left: 0;
text-align: center; text-align: center;
} }
#drop ul { #drop ul {
list-style-type: none; list-style-type: none;
margin: 0; margin: 0;
padding: 0px; padding: 0;
} }
#drop li a.top { #drop li a.top {
@ -409,7 +408,7 @@ table input {
display: none; display: none;
width: 7em; /* Width to help Opera out */ width: 7em; /* Width to help Opera out */
background-color: #CCCCFF; background-color: #CCCCFF;
margin: 31px 0 0 0px; margin: 31px 0 0 0;
border: 2px solid #000; border: 2px solid #000;
padding: 1px 1px 3px 2px; padding: 1px 1px 3px 2px;
} }

View file

@ -56,7 +56,8 @@
<!-- FB JS --> <!-- FB JS -->
<div id="fb-root"></div> <div id="fb-root"></div>
<script>(function(d, s, id) { <script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0]; let js;
const fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return; if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id; js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.10"; js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.10";
@ -72,8 +73,8 @@
<script> <script>
$(document).ready(function() { $(document).ready(function() {
var owl = $('.owl-carousel'); const owl = $('.owl-carousel');
owl.owlCarousel({ owl.owlCarousel({
items: 3, items: 3,
loop: true, loop: true,
margin: 50, margin: 50,
@ -162,7 +163,7 @@
<div class="row"> <div class="row">
<div class="col-lg-8 col-lg-offset-2 text-center"> <div class="col-lg-8 col-lg-offset-2 text-center">
<h2 class="section-heading">CodeOff</h2> <h2 class="section-heading">CodeOff</h2>
<a href="http://skynet.ie/codeoff/" class="btn btn-primary btn-xl sr-button">Click to Compete</a><br/> <a href="https://skynet.ie/codeoff/" class="btn btn-primary btn-xl sr-button">Click to Compete</a><br/>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
@ -236,14 +237,14 @@
<div class="service-box"> <div class="service-box">
<i class="fa fa-4x fa-comments text-primary sr-icons"></i> <i class="fa fa-4x fa-comments text-primary sr-icons"></i>
<h3>Discord</h3> <h3>Discord</h3>
<p class="text-muted">We have an active discord server for our members to keep in touch. <a href="http://discord.skynet.ie">Join Here</a>.</p> <p class="text-muted">We have an active discord server for our members to keep in touch. <a href="https://discord.skynet.ie">Join Here</a>.</p>
</div> </div>
</div> </div>
<div class="col-lg-2 col-md-4 text-center"> <div class="col-lg-2 col-md-4 text-center">
<div class="service-box"> <div class="service-box">
<i class="fa fa-4x fa-cubes text-primary sr-icons"></i> <i class="fa fa-4x fa-cubes text-primary sr-icons"></i>
<h3>Minecraft</h3> <h3>Minecraft</h3>
<p class="text-muted">We often host events and build challenges on our MineCraft server. <a href="http://games.skynet.ie">Join Here</a>.</p> <p class="text-muted">We often host events and build challenges on our MineCraft server. <a href="https://games.skynet.ie">Join Here</a>.</p>
</div> </div>
</div> </div>
<div class="col-lg-2 col-md-4 text-center"> <div class="col-lg-2 col-md-4 text-center">
@ -414,7 +415,7 @@
<div class="service-box"> <div class="service-box">
<i class="fa fa-4x fa-envelope-o text-primary sr-icons" style="color: white;"></i> <i class="fa fa-4x fa-envelope-o text-primary sr-icons" style="color: white;"></i>
<h3>WebMail</h3> <h3>WebMail</h3>
<!-- <p class="text-faded">Access your Skynet email <a href="http://webmail.skynet.ie/" style="color: white;">here</a></p> --> <!-- <p class="text-faded">Access your Skynet email <a href=" https://webmail.skynet.ie/" style="color: white;">here</a></p> -->
</div> </div>
</div> </div>
<div class="col-lg-3 col-md-4 text-center"> <div class="col-lg-3 col-md-4 text-center">
@ -428,14 +429,14 @@
<div class="service-box"> <div class="service-box">
<i class="fa fa-4x fa-question text-primary sr-icons" style="color: white;"></i> <i class="fa fa-4x fa-question text-primary sr-icons" style="color: white;"></i>
<h3>User Guide</h3> <h3>User Guide</h3>
<!-- <p class="text-faded">Answers to a lot of your questions about Skynet answered <a href="http://skynet.ie/guide/" style="color: white;">here</a></p> --> <!-- <p class="text-faded">Answers to a lot of your questions about Skynet answered <a href=" https://skynet.ie/guide/" style="color: white;">here</a></p> -->
</div> </div>
</div> </div>
<div class="col-lg-3 col-md-4 text-center"> <div class="col-lg-3 col-md-4 text-center">
<div class="service-box"> <div class="service-box">
<i class="fa fa-4x fa-info text-primary sr-icons" style="color: white;"></i> <i class="fa fa-4x fa-info text-primary sr-icons" style="color: white;"></i>
<h3>Wiki</h3> <h3>Wiki</h3>
<!-- <p class="text-faded">Skynet Wiki available <a href="http://wiki.skynet.ie" style="color: white;">here</a></p> --> <!-- <p class="text-faded">Skynet Wiki available <a href=" https://wiki.skynet.ie" style="color: white;">here</a></p> -->
</div> </div>
</div> </div>
</div> </div>
@ -582,16 +583,16 @@
<p>If you have a question you can contact our committee via one of the methods below</p> <p>If you have a question you can contact our committee via one of the methods below</p>
</div> </div>
<div class="col-lg-3 text-center"> <div class="col-lg-3 text-center">
<a href="http://fb.com/ulcomputersoc"><i class="fa fa-facebook fa-3x sr-contact"></i></a> <a href=" https://fb.com/ulcomputersoc"><i class="fa fa-facebook fa-3x sr-contact"></i></a>
<p><a href="http://fb.com/ulcomputersoc">fb.com/ulcomputersoc</a></p> <p><a href=" https://fb.com/ulcomputersoc">fb.com/ulcomputersoc</a></p>
</div> </div>
<div class="col-lg-3 text-center"> <div class="col-lg-3 text-center">
<a href="http://instagr.am/ulcompsoc/"><i class="fa fa-instagram fa-3x sr-contact"></i></a> <a href=" https://instagr.am/ulcompsoc/"><i class="fa fa-instagram fa-3x sr-contact"></i></a>
<p><a href="http://instagr.am/ulcompsoc/">instagr.am/ulcompsoc</a></p> <p><a href=" https://instagr.am/ulcompsoc/">instagr.am/ulcompsoc</a></p>
</div> </div>
<div class="col-lg-3 text-center"> <div class="col-lg-3 text-center">
<a href="http://skynet.ie/forum/"><i class="fa fa-comments fa-3x sr-contact"></i></a> <a href=" https://skynet.ie/forum/"><i class="fa fa-comments fa-3x sr-contact"></i></a>
<p><a href="http://skynet.ie/forum/">CompSoc Forum</a></p> <p><a href=" https://skynet.ie/forum/">CompSoc Forum</a></p>
</div> </div>
<div class="col-lg-3 text-center"> <div class="col-lg-3 text-center">
<script type="text/javascript">emailE = 'skynet.ie';emailE = ('contact' + '@' + emailE);document.write('<a href="mailto:' + emailE + '">' + '<i class="fa fa-envelope-o fa-3x sr-contact"></i>' + '</a>');</script> <script type="text/javascript">emailE = 'skynet.ie';emailE = ('contact' + '@' + emailE);document.write('<a href="mailto:' + emailE + '">' + '<i class="fa fa-envelope-o fa-3x sr-contact"></i>' + '</a>');</script>