Events
+Keyboard
+-
+
- on keypress +
- on keyDown +
- on keyUp +
Mouse
+ +Load
+ +Change
+ +Functions
+create and place
+ +Class
+-
+
- Add class +
- Remove class +
- Toggle class +
diff --git a/src/assets/css/sections.css b/src/assets/css/sections.css new file mode 100644 index 00000000..b20dc5a5 --- /dev/null +++ b/src/assets/css/sections.css @@ -0,0 +1,85 @@ + + +/* The Modal (background) */ +*{ + /* overflow: hidden; */ +} + + /* Modal Content/Box */ + .modal-content { + background-image: url(/src/assets/img/vs2.jpg); + background-position: center; + background-size: cover; + background-repeat: no-repeat; + /* padding: 20px; */ + font-family: 'Permanent Marker', cursive; + color: rgb(43, 43, 43); + width: 100%; + height: 100vh; + text-align: center; + } + + .generalcontent{ + width: 100%; + height: 100vh; + display: flex; + align-items: center; + justify-content: center; + } + .generalcontent>h2{ + position: absolute; + padding-bottom: 90vh; + } + .generalcontent>div{ + padding-top: 100px; + width: 50%; + text-align: center; + height: 90vh; + } + /* .js{ + /* background-color: rgba(239,216,29,255); */ + /* } */ + /* .jq{ */ + /* background-color: rgba(8,105,174,255); */ + /* } */ + .js>.codigocontent{ + background-color: yellow; + } + .jq>.codigocontent{ + background-color: blue; + } + + .codigocontent{ + padding: 10px; + width: 50%; + margin: auto; + border-radius: 10px; +} +.testcontent{ + border:1px solid black; + width: 70%; + height: 40%; + margin: 2% auto; + +} +.resultdiv{ + height: 50px; +} +img{ + max-width: 300px; + max-height: 100px; + cursor: pointer; +} +.border{ + border: 1px solid black; +} +.btnclass{ + border: 1px solid black; + border-radius: 10px; + background-color: chocolate; + font-size: 1.5em; +} + +.generalcontent>h2{ + cursor: pointer; +} \ No newline at end of file diff --git a/src/assets/css/style.css b/src/assets/css/style.css new file mode 100644 index 00000000..bab7f4f2 --- /dev/null +++ b/src/assets/css/style.css @@ -0,0 +1,100 @@ + +/* contenedor principal */ +body{ + overflow: hidden; +} +.content{ + font-family: 'Permanent Marker', cursive; + display: flex; + width: 100%; + justify-content: space-around; + margin: auto; +} +section{ + height: 100vh; +} +/* secciones */ +.content>div{ + text-align: center; + width: 25%; + padding: 0.2%; + border-radius: 1%; + display: flex; + flex-direction: column; + justify-content: flex-start; + align-items: center; +} +h1{ + position:relative; + top: -3px; + border-radius: 10px; + width: 100%; + padding: 10px; + margin: 0; +} +.events{ + background-color: red; +} +.events>h1{ + background-color: rgb(185, 0, 0); +} +.functions{ + background-color: green; +} +.functions>h1{ + background-color: rgb(0, 90, 0); +} +.selectors{ + background-color: blue; +} +.selectors>h1{ + background-color: rgb(0, 0, 168); +} + +.sec{ + box-shadow: 1px 1px 3px white; + background-color: white; + border: 1px solid gray; + border-radius: 10px; + width: 80%; + margin: 3%; + display: flex; + flex-direction: column; + align-items: center; + height: 60px; + transition: 1s; +} +.sec:hover{ + height: 100%; +} + +/* listas */ +.sec>ul{ + /* transition: 1s; */ + visibility:hidden; + padding: 0; + display: flex; + flex-direction: column; + align-items: center; +} + + + +.sec>ul>li{ + text-align: center; + width: 100%; + margin: auto; + list-style: none; + margin: 0.5em; + cursor: pointer; +} +.sec>ul>li:hover{ + box-shadow: 1px 1px 4px black; + border-radius: 4px; + background-color: rgb(240, 240, 240); +} +.sec>ul>li>a{ + text-decoration: none; + color: black; +} + diff --git a/src/assets/html/event.html b/src/assets/html/event.html new file mode 100644 index 00000000..c4592736 --- /dev/null +++ b/src/assets/html/event.html @@ -0,0 +1,413 @@ + + +
+ + + + + + + + + + +