How about these great shots, taken 7 August 1976 over NAS North Island, California, of the new class-leading big deck phib USS Tarawa (LHA 1), and the carriers USS Coral Sea (CV-43) and USS Constellation (CV-64).

An aerial view of ships moored at Naval Air Station, North Island. They are, from left to right, the amphibious assault ship USS TARAWA (LHA 1), the aircraft carrier US CORAL SEA (CV 43), and the aircraft carrier USS CONSTELLATION (CV 64). (Substandard image)
These show good details– to include a mix of guns– on the Midway-class Coral Sea and Tarawa. Constellation, as a circa 1960s Kitty Hawk class flattop, was the first class of American fleet carriers going back to USS Langley (CV-1) in 1920, to not mount a single 5-incher.
The Midway class was originally designed to carry 18 long-barreled 5″/54 Mk 16 guns— originally designed for the Montana class battleships– along with a slew of 40mm (21 quad) and 20mm (28 twin) guns.

Coral Sea was seen with her 1947-57 14-gun 5-inch fit, via USS Coral Sea assoc. https://www.usscoralsea.net/shipsweapons.php
They subsequently downgraded by 1960 to just 10 5″/54s, four on the port side and six on the starboard side, while their smaller guns had been replaced by 11 twin-3-inch mountings in place of the former quadruple 40 mm mountings. This was dropped to just six 5″/54s by January 1960 and only three after 1966. Coral Sea and Midway lost their last 5-inchers in 1979/80 to pick up CIWS while middle sister FDR had already been retired by then.
For the record, the first Langley carried four 5″/51s in open mounts during her “covered wagon” period of carrier ops, the mighty USS Lexington (CV-2) and Saratoga (CV-3) toted eight heavy cruiser-worthy 8″/55 guns along with dozen 5″/25s, Ranger (CV-4) had eight 5″/25s, the three Yorktowns and the one-off USS Wasp (CV-7) had eight 5″/38 DPs, and the 24 Essex class fleet carriers had eight 5″/38s in twin turrets and another four in single open mounts.

USS Lexington (CV-2) showing off just a portion of her impressive gun fit. Both Lex and Sara would land their 8-inchers in 1942, with the Army going on to use them for coastal defense around Hawaii
While the Independence and Saipan-class light carriers had to make do with smaller guns, every one of the assorted escort carrier classes (Long Island, Charger, Bogue, Sangamon, Casablanca, and Commencement Bay) carried at least one or two 5-inch guns, with USS Kalinin Bay and White Plains credited with scoring hits on pursuing Japanese heavy cruisers off Samar in October 1944.

Testing 5-inch guns on the escort carrier USS Manila Bay (CVE 61) 3 November 1943. Note fuzed ready shells. 80-G-372778
So it made sense in the 1950s that the new Forrestal-class supercarriers carried eight new style Mk.42 5″/54 caliber mounts, the same style guns as in the Navy’s new DD and FF classes throughout the Cold War.

USS Ranger (CVA-61) test firing two of her eight 5-inch 54 Mark 42 guns during a practice drill in 1961.
Check out these 1960 profiles of Midway and Forrestal:
Of course, the Forrestals later had their troublesome 5-inchers removed in later updates, as did Midway and Coral Sea.
Coupled with the retirement of the Essexes (Oriskany still had two 5″/38s aboard when she was decommissioned in 1976), Tarawa and her sisters, which carried three 5″/54 Mk 45s in bow and starboard aft sponsons, were the last American “flattops” to carry such heavy seagoing artillery.
Even these were removed by 1997 to allow for better topside aircraft operations.
It was a good 77-year run.